:root {
  --paper: #fff;
  --paper-strong: #fff;
  --ink: #171816;
  --muted: #62625c;
  --line: rgba(23, 24, 22, 0.22);
  --red: #d83224;
  --header-height: 88px;
  --toolbar-height: 0px;
  --side: clamp(1.25rem, 4vw, 4.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

html.menu-is-open { overflow: hidden; }
main [id] { scroll-margin-top: calc(var(--header-height) + var(--toolbar-height) + 1.5rem); }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1rem, 0.3vw + 0.9rem, 1.15rem);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.menu-is-open {
  overflow: hidden;
}

body.menu-is-open .site-header {
  color: var(--ink);
}

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

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

.icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; pointer-events: none; }
:is(.button, .text-link, .portfolio-card__open) .icon { width: 1rem; height: 1rem; }

button,
input,
textarea,
select {
  font: inherit;
  border-radius: 0;
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }

/* Keep the third-party chat launcher consistent with the site's square controls. */
#amobutton, #amobutton::before, #amobutton::after { border-radius: 0 !important; }

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

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
  transform: translateY(-120%);
}

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

.site-header {
  position: fixed;
  inset: var(--toolbar-height) 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--side);
  background: #fff;
  color: var(--ink);
  transition: background-color 350ms ease, color 350ms ease, box-shadow 350ms ease;
}

.site-header::after {
  position: absolute;
  right: var(--side);
  bottom: 0;
  left: var(--side);
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.25;
}

.site-header.is-scrolled { box-shadow: 0 5px 24px rgba(23, 24, 22, 0.04); }

.site-header.is-over-hero {
  background: transparent;
  color: #fff;
}

/* One toolbar offset for every template, including Contact and the homepage. */
body.admin-bar { --toolbar-height: 32px; }
@media (max-width: 782px) { body.admin-bar { --toolbar-height: 46px; } }
@media (max-width: 600px) {
  body.admin-bar { --toolbar-height: 0px; }
  body.admin-bar .site-header { position: sticky; top: 0; }
  body.admin-bar > main:not(.content-shell) { padding-top: 0; }
  body.admin-bar > .content-shell { padding-top: 5rem; }
}

.brand {
  position: relative;
  z-index: 3;
  display: grid;
  width: clamp(170px, 18vw, 225px);
}

.brand__logo {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 250ms ease;
}

.brand__logo--light {
  opacity: 0;
}

.brand__logo--dark {
  opacity: 1;
}

.site-header.is-over-hero .brand__logo--light { opacity: 1; }
.site-header.is-over-hero .brand__logo--dark { opacity: 0; }

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav { margin-left: auto; }
.header-cta { position: relative; z-index: 3; flex-shrink: 0; min-height: 46px; color: #fff; }
.site-header .header-cta { min-height: 44px; }
.header-cta__short { display: none; }
body.menu-is-open .site-header .brand__logo--light { opacity: 0; }
body.menu-is-open .site-header .brand__logo--dark { opacity: 1; }
body.menu-is-open .site-header { background: #fff; box-shadow: none; }
body.menu-is-open #amobutton { visibility: hidden !important; pointer-events: none !important; }

.site-nav a {
  position: relative;
  display: inline-block;
  padding: 0.45rem 0;
}

.site-nav a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 350ms var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current]::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  position: relative;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 0.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.menu-toggle__icon,
.menu-toggle__icon::before {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 300ms var(--ease);
}

.menu-toggle__icon::before {
  content: "";
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
  transform: rotate(-90deg);
}

.hero {
  position: relative;
  height: calc(var(--hero-scroll-screens, 4.75) * 100svh - var(--toolbar-height));
  background: #27251f;
  color: #fff;
}

.hero__viewport {
  position: sticky;
  top: var(--toolbar-height);
  height: calc(100svh - var(--toolbar-height));
  overflow: hidden;
  background: #27251f;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  overflow: clip;
  isolation: isolate;
  clip-path: inset(100% 0 0);
  will-change: clip-path;
}

.hero-slide:first-child {
  visibility: visible;
  clip-path: inset(0);
}

.hero__sticky-ui {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.hero-slide__media,
.hero-slide__veil {
  position: absolute;
  inset: 0;
}

.hero-slide__media {
  overflow: hidden;
  will-change: transform;
}

.hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hero-slide:nth-child(3) .hero-slide__image {
  object-position: 45% center;
}

/* Portrait portfolio photos: keep the working surfaces visible in wide heroes. */
@media (min-width: 900px) {
  .hero-slide:nth-child(1) .hero-slide__image { object-position: center 55%; }
  .hero-slide:nth-child(2) .hero-slide__image { object-position: center 75%; }
  .hero-slide:nth-child(3) .hero-slide__image { object-position: center 56%; }
}

.hero-slide__veil {
  background: linear-gradient(90deg, rgba(13, 13, 11, 0.58) 0%, rgba(13, 13, 11, 0.18) 50%, rgba(13, 13, 11, 0.26) 100%), linear-gradient(0deg, rgba(13, 13, 11, 0.42), transparent 55%);
}

.hero-slide__content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--side) clamp(7rem, 14vh, 10rem);
  pointer-events: none;
}

.hero-slide__copy {
  width: 100%;
  max-width: 1100px;
  opacity: 0;
  will-change: transform;
}

.hero-slide:first-child .hero-slide__copy {
  opacity: 1;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-slide__title {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(3.25rem, 8.3vw, 8.5rem);
  font-weight: 440;
  letter-spacing: -0.065em;
  line-height: 0.91;
  text-shadow: 0 0 28px rgba(0, 0, 0, 0.48), 0 2px 6px rgba(0, 0, 0, 0.34);
}

.hero__chrome {
  position: absolute;
  z-index: 3;
  right: var(--side);
  bottom: 2rem;
  left: var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__counter {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.hero__counter-line {
  width: 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero__controls {
  display: flex;
  gap: 0.5rem;
  margin-right: clamp(7rem, 10vw, 9.5rem);
}

.hero__controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 250ms ease, color 250ms ease;
}

.hero__controls button:hover,
.hero__controls button:focus-visible {
  background: #fff;
  color: var(--ink);
}

.hero__controls button:disabled {
  cursor: default;
  opacity: 0.35;
}

.hero__controls button:disabled:hover {
  background: transparent;
  color: #fff;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: calc(var(--side) + clamp(7rem, 10vw, 9.5rem));
  bottom: 7.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: rotate(90deg) translateX(100%);
  transform-origin: bottom right;
  pointer-events: auto;
}

.scroll-cue__line {
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
}

.hero__progress {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
}

.hero__progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 80ms linear;
}

.section {
  padding: clamp(6rem, 12vw, 11rem) var(--side);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}

.display-title {
  margin: 0;
  font-size: clamp(2.8rem, 6.7vw, 7rem);
  font-weight: 440;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.intro__copy {
  max-width: 31rem;
}

.intro__copy p,
.process__copy > p:last-child {
  margin: 0 0 2.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
}

.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.5rem 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.35fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(3rem, 7vw, 7rem);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
}

.project-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(250px, 0.55fr);
  gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: start;
}

.project-gallery figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #302f2b;
}

.project-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

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

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

.project-gallery__portrait {
  aspect-ratio: 4 / 5;
}

.project__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: clamp(2.5rem, 5vw, 5rem);
}

.services .section-heading > p:last-child {
  color: var(--muted);
}

.service-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 80px minmax(210px, 0.7fr) minmax(260px, 0.5fr);
  gap: clamp(1rem, 4vw, 5rem);
  align-items: baseline;
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
}

.service-list span {
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.service-list h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3.2vw, 3.5rem);
  font-weight: 450;
  letter-spacing: -0.045em;
}

.service-list p {
  margin: 0;
  color: var(--muted);
}

.section--warm {
  display: grid;
  grid-template-columns: minmax(230px, 0.66fr) minmax(290px, 0.88fr) minmax(280px, 0.7fr);
  gap: clamp(2.5rem, 5vw, 6rem);
  align-items: center;
  background: var(--paper-strong);
}

.process__portrait {
  margin: 0;
}

.process__portrait-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.process__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.process__portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process__portrait figcaption strong {
  font-weight: 650;
}

.process__portrait figcaption span {
  color: var(--muted);
}

.process__copy .display-title {
  margin-bottom: 2.5rem;
}

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

.process__steps > div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.5rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.process__steps span {
  font-size: 0.67rem;
  font-weight: 650;
}

.process__steps strong {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 480;
}

.contact {
  padding-bottom: clamp(8rem, 15vw, 14rem);
}

.contact__title {
  max-width: 12ch;
  margin: 0 0 clamp(3rem, 7vw, 6rem);
  font-size: clamp(3.2rem, 8.5vw, 9rem);
  font-weight: 430;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.contact__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact__actions > span {
  max-width: 34rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.button--red {
  gap: 0.55rem;
  background: var(--red);
  color: #fff;
  transition: transform 250ms var(--ease), background-color 250ms ease;
}

.button--red:hover,
.button--red:focus-visible {
  background: #bb281d;
  transform: translateY(-2px);
}

.button--outline-light {
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  transition: background-color 250ms ease, color 250ms ease, transform 250ms var(--ease);
}

.button--outline-light:hover,
.button--outline-light:focus-visible {
  background: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}

.button[aria-disabled="true"] {
  cursor: default;
}

.contact-page {
  min-height: 100vh;
  padding-top: var(--header-height);
}

.projects-page {
  min-height: 100vh;
  padding-top: var(--header-height);
}

.projects-page__hero {
  display: grid;
  align-content: end;
  padding: clamp(2.5rem, 5vw, 5rem) var(--side) clamp(2rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.projects-page__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: end;
}

.projects-page__title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5.6rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.projects-page__hero-grid > p {
  max-width: 29rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
}

.portfolio {
  background: #fff;
  padding-top: clamp(1.5rem, 3vw, 3rem);
  scroll-margin-top: calc(var(--header-height) + 3rem);
}
.portfolio-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 3vw, 3rem); }
.portfolio-status { margin: 0; color: var(--muted); font-size: 0.75rem; }
[data-project-results][aria-busy="true"] { cursor: progress; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(5rem, 9vw, 10rem) clamp(1.5rem, 4vw, 4.5rem);
}

.portfolio-card__media {
  position: relative;
  margin: 0 0 1.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #ececec;
}

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

.portfolio-card:hover .portfolio-card__media img {
  transform: scale(1.02);
}

.portfolio-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-card h2 {
  margin: 1.1rem 0 0.7rem;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  font-weight: 440;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.portfolio-card p {
  max-width: 39rem;
  margin: 0;
  color: var(--muted);
}

.portfolio-card__link { display: block; }
.portfolio-card h2 { display: flex; justify-content: space-between; gap: 1rem; }
.portfolio-card h2 span { font-size: 0.65em; }
.portfolio-card__open {
  display: inline-flex; align-items: center; gap: 0.5rem;
  position: absolute; bottom: 1.2rem; right: 1.2rem;
  padding: 0.8rem 1rem; background: #fff; color: var(--ink);
  font-size: 0.65rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
}
.project-filters { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.project-filters a, .page-numbers {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.65rem 1.15rem;
  border: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.04em;
  transition: color 200ms, background 200ms;
}
.project-filters a:hover:not([aria-current]) { background: #f5f5f5; border-color: var(--ink); }
.project-filters a[aria-current], .page-numbers.current { background: var(--ink); color: #fff; }
.portfolio-pagination { margin-top: 4rem; }
.project-detail { padding-top: var(--header-height); }
.project-detail__header { background: #fff; }
.project-detail__top { padding: clamp(1.25rem, 2.8vw, 2.5rem) var(--side) 0; }
.project-detail__back {
  display: inline-flex; align-items: center; gap: 0.85rem; min-height: 46px;
  padding: 0.8rem 1.1rem; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: background 200ms, color 200ms;
}
.project-detail__back:hover { background: var(--ink); color: #fff; }
.project-detail__back span { font-size: 1rem; line-height: 1; }
.project-detail__intro {
  display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.6fr);
  align-items: end; gap: clamp(2rem, 4vw, 5rem);
  padding: clamp(1.5rem, 3vw, 3rem) var(--side) clamp(1.5rem, 3vw, 3rem);
}
.project-detail h1 {
  margin: 0; font-size: clamp(2.8rem, 5vw, 5.6rem); font-weight: 440;
  letter-spacing: -0.065em; line-height: 0.96; text-wrap: balance; overflow-wrap: break-word;
}
.project-detail__aside { display: grid; justify-items: start; gap: 1.35rem; padding-bottom: 0.15rem; }
.project-detail__summary { margin: 0; color: #43433f; max-width: 31rem; }
.project-detail__gallery-link { display: inline-flex; align-items: center; gap: 2rem; min-height: 44px; }
.project-story { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; padding-block: clamp(2.5rem, 4vw, 4rem); }
.project-story__copy { max-width: 45rem; font-size: clamp(1.35rem, 2.5vw, 2.5rem); letter-spacing: -0.035em; line-height: 1.3; }
.project-story__copy > :first-child { margin-top: 0; }
.project-story__copy > :last-child { margin-bottom: 0; }
.project-gallery-section { padding: 0 var(--side) clamp(5rem, 9vw, 9rem); scroll-margin-top: calc(var(--header-height) + 3.5rem); }
.project-gallery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-top: 1.6rem; margin-bottom: 2.5rem; border-top: 1px solid var(--line); }
.project-gallery-heading h2 { margin: 0; font-size: clamp(1.6rem, 3.2vw, 3.5rem); font-weight: 450; letter-spacing: -0.045em; line-height: 1.1; }
.project-gallery-heading > span { color: var(--muted); font-size: 0.7rem; white-space: nowrap; }
.project-mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: row; gap: clamp(0.65rem, 1.4vw, 1.6rem); }
.project-mosaic__tile { position: relative; display: block; grid-column: span 6; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.project-mosaic__tile:nth-child(3n + 1) { grid-column: span 8; aspect-ratio: 4 / 3; }
.project-mosaic__tile:nth-child(3n + 2) { grid-column: span 4; aspect-ratio: auto; }
.project-mosaic__tile:nth-child(3n) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.project-mosaic__tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.project-mosaic.project-mosaic--portraits .project-mosaic__tile { grid-column: span 4; aspect-ratio: 2 / 3; }
.project-mosaic.project-mosaic--portraits .project-mosaic__tile:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.project-mosaic__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.project-mosaic__tile:hover img, .project-mosaic__tile:focus-visible img { transform: scale(1.035); }
.project-mosaic__zoom { position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 44px; height: 44px; background: #fff; color: var(--ink); font-size: 1.3rem; }
.project-next { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding: 0 var(--side) clamp(5rem, 9vw, 9rem); }
.project-next__link { text-align: right; }
.project-next__link .eyebrow { display: block; margin-bottom: 0.7rem; color: var(--muted); }
.project-next__link strong { font-size: clamp(1.5rem, 3.5vw, 3rem); font-weight: 450; letter-spacing: -0.045em; }
body.gallery-is-open { overflow: hidden; }
.gallery-lightbox {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none;
  margin: 0; padding: clamp(1rem, 3vw, 2rem); border: 0; background: #171816; color: #fff;
}
.gallery-lightbox[open] { display: grid; grid-template-rows: 48px minmax(0, 1fr) 48px; gap: 1rem; }
.gallery-lightbox::backdrop { background: rgba(0, 0, 0, 0.9); }
.gallery-lightbox__bar { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; letter-spacing: 0.1em; }
.gallery-lightbox button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #777; background: transparent; color: #fff; cursor: pointer; font-size: 1.35rem; }
.gallery-lightbox button:hover { color: var(--ink); background: #fff; }
.gallery-lightbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 1rem; min-height: 0; margin: 0; }
.gallery-lightbox figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-lightbox figcaption { text-align: center; font-size: 0.8rem; color: #ccc; }
.gallery-lightbox__controls { display: flex; justify-content: center; gap: 0.6rem; }

@media (max-width: 820px) {
  .project-detail__intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .project-detail__aside { gap: 0.65rem; }
  .project-detail h1 { max-width: 18ch; font-size: clamp(2.5rem, 7vw, 4rem); }
  .project-story { grid-template-columns: 1fr; gap: 2rem; }
  .project-next { align-items: flex-start; flex-direction: column; }
  .project-next__link { text-align: left; }
}
@media (max-width: 600px) {
  .project-detail__intro .eyebrow { margin-bottom: 1rem; }
  .project-detail__summary { font-size: 0.95rem; }
  .project-gallery-heading { flex-direction: column; gap: 0.8rem; }
  .project-mosaic { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .project-mosaic__tile:nth-child(3n + 1) { grid-column: span 3; aspect-ratio: 3 / 4; }
  .project-mosaic__tile:nth-child(3n + 2) { grid-column: span 2; }
  .project-mosaic__tile:nth-child(3n), .project-mosaic__tile:last-child:nth-child(3n + 1) { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .project-mosaic--portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .project-mosaic.project-mosaic--portraits .project-mosaic__tile { grid-column: span 1; aspect-ratio: 1 / 2; }
  .project-mosaic.project-mosaic--portraits .project-mosaic__tile:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .project-mosaic__zoom { right: 0.5rem; bottom: 0.5rem; width: 36px; height: 36px; }
}

/* Larger galleries use proportionate mosaic rows so every photograph stays uncropped. */
.project-mosaic--flow { display: flex; flex-direction: column; }
.project-mosaic__row { display: flex; gap: clamp(0.65rem, 1.4vw, 1.6rem); align-items: stretch; }
.project-mosaic--flow .project-mosaic__tile:nth-child(n) {
  flex: var(--photo-ratio, 1.5) 1 0;
  grid-column: auto;
  aspect-ratio: var(--photo-ratio, 1.5);
}
.project-mosaic--flow .project-mosaic__tile:only-child { flex: none; width: 100%; }
.project-mosaic--flow .project-mosaic__tile--portrait:only-child { width: min(100%, 650px); margin-inline: auto; }

.portfolio-contact h2 {
  max-width: 11ch;
  margin: 0 0 clamp(3rem, 6vw, 5.5rem);
  font-size: clamp(3.2rem, 8vw, 8.5rem);
  font-weight: 430;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.contact-page__hero {
  display: grid;
  align-content: end;
  padding: clamp(2.5rem, 5vw, 5rem) var(--side) clamp(2.5rem, 4vw, 4rem);
  background: var(--paper);
}

.contact-page__title {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  font-weight: 430;
  letter-spacing: -0.07em;
  line-height: 1;
}

.contact-page__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(3rem, 9vw, 10rem);
  padding: clamp(5rem, 9vw, 9rem) var(--side);
  background: var(--ink);
  color: var(--paper);
}

.contact-page__lead {
  max-width: 26rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
}

.contact-form {
  display: grid;
  gap: 1.6rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  padding: 0.8rem 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 200ms ease;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
}

.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
}

.contact-form .button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.contact-form__status {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--paper);
}

/* Quote landing page: one clear request, four project details, no invented estimate. */
.quote-page { padding-top: var(--header-height); }
body.amoblarte-quote-page.quote-form-is-visible #amobutton { visibility: hidden !important; pointer-events: none !important; }
.quote-layout {
  display: grid; grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
  grid-template-areas: "intro intro" "video form";
  gap: 2rem clamp(2.5rem, 6vw, 6rem); align-items: start;
  width: calc(100% - var(--side) * 2); max-width: 68rem; margin-inline: auto;
  padding-block: clamp(2rem, 3vw, 3rem) clamp(4rem, 6vw, 6rem);
}
.quote-intro { grid-area: intro; display: grid; grid-template-columns: 1.45fr 1fr; gap: 2rem; align-items: end; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.quote-intro .eyebrow { margin: 0 0 1rem; color: var(--red); }
.quote-intro h1 { margin: 0; font-size: clamp(2.4rem, 3.4vw, 3.65rem); line-height: 1.05; font-weight: 440; letter-spacing: -0.055em; text-wrap: balance; }
.quote-lead { max-width: 26rem; margin: 0; color: var(--muted); font-size: 1rem; }
.quote-video { grid-area: video; width: 100%; max-width: 21rem; margin: 0; }
.quote-video video { display: block; width: 100%; height: auto; aspect-ratio: 480 / 848; object-fit: contain; background: #171715; border-radius: 0; }
@media (min-width: 821px) {
  .quote-video { align-self: stretch; position: relative; min-height: 0; }
  .quote-video video { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-fit: cover; }
}
.quote-panel { grid-area: form; min-width: 0; width: 100%; max-width: 41rem; justify-self: end; border: 0; padding: 0; scroll-margin-top: calc(var(--header-height) + 2rem); }
.quote-layout--no-video .quote-panel { grid-column: 1 / -1; width: 100%; max-width: 40rem; justify-self: center; }
.quote-form { display: grid; gap: 1.15rem; }
.quote-form[hidden], .quote-success[hidden], .quote-errors[hidden] { display: none; }
.quote-form-heading .eyebrow { display: none; }
.quote-form-heading h2, .quote-success h2 { margin: 0; font-size: clamp(1.55rem, 2vw, 1.85rem); line-height: 1.12; font-weight: 450; letter-spacing: -0.04em; }
.quote-form-heading > p:last-child { margin: 0.55rem 0 0; color: var(--muted); font-size: 0.85rem; }
.quote-types { min-width: 0; margin: 0; padding: 0; border: 0; }
.quote-types legend, .quote-field { font-size: 0.84rem; font-weight: 550; }
.quote-types legend { margin-bottom: 0.6rem; }
.quote-types__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.55rem; }
.quote-types label { position: relative; cursor: pointer; }
.quote-types input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quote-types label span { display: flex; align-items: center; gap: 0.7rem; min-height: 49px; height: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line); font-size: 0.78rem; line-height: 1.25; transition: border-color 180ms, color 180ms, background-color 180ms; }
.quote-types label span::before { content: ""; flex: 0 0 9px; width: 9px; height: 9px; border: 1px solid currentColor; opacity: 0.5; }
.quote-types label:hover span { border-color: var(--red); }
.quote-types input:checked + span { border-color: var(--red); background: var(--red); color: #fff; }
.quote-types input:checked + span::before { background: currentColor; opacity: 1; }
.quote-types input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 3px; }
.quote-field { display: grid; gap: 0.6rem; min-width: 0; }
.quote-field input { width: 100%; min-width: 0; min-height: 49px; padding: 0.85rem; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 1rem; font-weight: 400; }
.quote-field input::placeholder { color: #767671; font-size: 0.875rem; }
.quote-field input:focus { border-color: var(--red); }
.quote-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-input-unit { display: flex; align-items: center; border: 1px solid var(--line); }
.quote-input-unit > span { padding-left: 0.85rem; color: var(--muted); font-size: 0.85rem; }
.quote-input-unit input { border: 0; }
.quote-note { margin: -0.5rem 0 0; font-size: 0.75rem; line-height: 1.6; color: var(--muted); }
.quote-consent { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.quote-consent input { appearance: none; width: 18px; height: 18px; flex: 0 0 18px; border: 1px solid var(--ink); margin: 0.1rem 0 0; background: #fff; }
.quote-consent input:checked { background: var(--red); box-shadow: inset 0 0 0 3px #fff; border-color: var(--red); }
.quote-submit { justify-content: space-between; width: 100%; border: 0; cursor: pointer; min-height: 54px; }
.quote-submit:disabled { opacity: 0.65; cursor: wait; transform: none; }
.quote-privacy { margin: -0.4rem 0 0; font-size: 0.72rem; line-height: 1.6; color: var(--muted); }
.quote-errors { padding: 1rem; border-left: 3px solid var(--red); background: #fff; font-size: 0.85rem; }
.quote-form [aria-invalid="true"] { outline: 2px solid var(--red); outline-offset: 1px; }
.quote-success > p:not(.eyebrow) { font-size: 0.95rem; color: var(--muted); }
.quote-success .quote-note { margin: 1.5rem 0; }
.quote-next { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 6vw, 6rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-next h2, .quote-section-heading h2, .quote-faq h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.6rem); font-weight: 440; letter-spacing: -0.05em; line-height: 1.05; }
.quote-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; margin: 0; padding: 0; }
.quote-steps .eyebrow { color: var(--red); }
.quote-steps h3 { margin: 1.5rem 0 0.75rem; font-size: 1.1rem; line-height: 1.2; font-weight: 550; }
.quote-steps p { margin: 0; font-size: 0.85rem; color: var(--muted); }
.quote-references { padding-block: clamp(4rem, 7vw, 7rem); }
.quote-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.quote-reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 3vw, 3rem); }
.quote-reference-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.quote-reference-grid a > span { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; font-size: clamp(1.3rem, 2vw, 2rem); letter-spacing: -0.03em; }
.quote-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(4rem, 7vw, 7rem); border-top: 1px solid var(--line); }
.quote-faq .button { margin-top: 2rem; }
.quote-faq details { padding-block: 1.3rem; border-bottom: 1px solid var(--line); }
.quote-faq details:first-child { padding-top: 0; }
.quote-faq summary { cursor: pointer; font-size: 1rem; }
.quote-faq details p { max-width: 40rem; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 1100px) {
  .site-header { gap: 1rem; padding-block: 1rem; }
  .site-nav { position: fixed; inset: var(--toolbar-height) 0 0; display: grid; place-items: center; visibility: hidden; background: #fff; color: var(--ink); opacity: 0; overflow-y: auto; padding: calc(var(--header-height) + 1rem) var(--side) 2rem; transition: opacity 300ms ease, visibility 300ms; }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity 300ms ease; }
  .site-nav__list { flex-direction: column; gap: 1rem; font-size: clamp(1.8rem, 6vw, 3.5rem); font-weight: 450; letter-spacing: -0.04em; text-transform: none; }
  .menu-toggle { display: flex; order: 3; min-height: 44px; min-width: 40px; justify-content: center; }
  .header-cta { margin-left: auto; }
  .site-nav__list li { opacity: 0; transform: translateY(12px); transition: opacity 380ms ease, transform 500ms var(--ease); }
  .site-nav.is-open .site-nav__list li { opacity: 1; transform: none; transition-delay: calc(var(--nav-index, 0) * 35ms); }
  .quote-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .quote-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .quote-layout { max-width: 38rem; grid-template-columns: 1fr; grid-template-areas: "intro" "form" "video"; gap: 2rem; }
  .quote-intro { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 1.5rem; }
  .quote-intro h1 { font-size: clamp(2.25rem, 6vw, 3rem); }
  .quote-lead { max-width: none; }
  .quote-video { width: min(100%, 21rem); justify-self: center; margin-top: 0.5rem; }
  .quote-field-row { grid-template-columns: 1fr 1fr; }
  .quote-types__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quote-next, .quote-faq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .site-header { gap: 0.5rem; }
  .site-header .brand { width: min(40vw, 170px); flex-shrink: 0; }
  .header-cta__long, .menu-toggle > span:first-child { display: none; }
  .header-cta__short { display: inline; }
  .header-cta { padding: 0.7rem 0.75rem; min-height: 44px; font-size: 0.63rem; }
  .header-cta .icon { width: 0.8rem; height: 0.8rem; }
  .quote-layout { padding-top: 2rem; }
  .quote-types label span { font-size: 0.8rem; }
  .quote-field-row { grid-template-columns: 1fr; }
  .quote-types__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-steps, .quote-reference-grid { grid-template-columns: 1fr; }
  .quote-section-heading { align-items: start; flex-direction: column; }
  .quote-steps h3 { margin-top: 0.75rem; }
}

.site-footer {
  display: grid;
  grid-template-columns: 1.25fr 1fr auto;
  align-items: start;
  gap: 2.5rem 4rem;
  padding: 4rem var(--side);
  background: var(--ink);
  color: var(--paper);
}

.site-footer__brand {
  display: block;
  width: min(68vw, 260px);
}

.site-footer__logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer p,
.site-footer__meta {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.75rem;
}

.site-footer__meta {
  display: flex;
  gap: 1.5rem;
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer__heading {
  margin: 0 0 1rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.site-footer address {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.7;
}

.site-footer__social-links {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social { margin-right: 100px; }

.site-footer__social-links a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.site-footer__social-links img {
  display: block;
  width: 24px;
  height: 24px;
}

.site-footer__social-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
}

.site-footer__social-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .site-footer { grid-template-columns: 1fr; gap: 2rem; }
  .site-footer__social { margin-right: 0; }
}

.content-shell {
  min-height: 70vh;
  padding: calc(var(--header-height) + 5rem) var(--side) 8rem;
}

.entry {
  max-width: 900px;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

/* Reveals are progressive Web Animations: content never relies on JS to become visible. */
.reveal { opacity: 1; transform: none; }
:is(.button, .text-link, .project-next__link, .portfolio-card__link) .icon { transition: transform 350ms var(--ease); }
:is(.button, .text-link, .project-next__link, .portfolio-card__link):is(:hover, :focus-visible) .icon--arrow-up-right { transform: translate(2px, -2px); }
.text-link:is(:hover, :focus-visible) .icon--arrow-down { transform: translateY(3px); }
.button--dark { transition: background-color 250ms ease; }
.button--dark:is(:hover, :focus-visible) { background: #363833; }
:is(.consult-calendar, .consult-times__list) button { transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.quote-reference-grid a { overflow: hidden; }
.quote-reference-grid img { transition: opacity 400ms ease; }
.quote-reference-grid a:hover img { opacity: .88; }
@media (prefers-reduced-motion: no-preference) {
  :is(.quote-faq, .consult-faq) details[open] > p { animation: content-enter 350ms var(--ease); }
  .gallery-lightbox[open] { animation: lightbox-enter 240ms ease; }
}
@keyframes content-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes lightbox-enter { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1100px) {
  html:not(.has-js) .site-header { position: relative; flex-wrap: wrap; height: auto; background: #fff; color: var(--ink); }
  html:not(.has-js) .site-nav { position: static; order: 4; width: 100%; padding: 1rem 0 0; visibility: visible; opacity: 1; }
  html:not(.has-js) .site-nav__list { flex-direction: row; flex-wrap: wrap; justify-content: center; font-size: .8rem; letter-spacing: 0; }
  html:not(.has-js) .site-nav__list li { opacity: 1; transform: none; }
  html:not(.has-js) .menu-toggle { display: none; }
  html:not(.has-js) .brand__logo--light { opacity: 0; }
  html:not(.has-js) .brand__logo--dark { opacity: 1; }
  html:not(.has-js) body > main:not(.content-shell) { padding-top: 0; }
}

@media (max-width: 1100px) and (min-width: 821px) {
  .section--warm {
    grid-template-columns: minmax(240px, 0.65fr) minmax(0, 1fr);
  }

  .process__steps {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .hero-slide__title {
    max-width: 11ch;
    font-size: clamp(3.6rem, 15vw, 7rem);
  }

  .scroll-cue {
    display: none;
  }

  .hero__controls {
    margin-right: clamp(5.5rem, 17vw, 7rem);
  }

  .intro__grid,
  .section-heading,
  .section--warm,
  .projects-page__hero-grid {
    grid-template-columns: 1fr;
  }

  .intro__grid,
  .section--warm {
    gap: 3rem;
  }

  .section-heading {
    gap: 2rem;
  }

  .project-gallery {
    grid-template-columns: minmax(0, 1fr) minmax(130px, 0.45fr);
  }

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

  .service-list li {
    grid-template-columns: 40px 1fr;
  }

  .service-list p {
    grid-column: 2;
  }

  .contact__actions,
  .site-footer,
  .contact-page__intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-page__intro {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer__meta {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .brand {
    width: min(48vw, 185px);
  }

  .hero-slide__content {
    padding-bottom: 7.75rem;
  }

  .hero-slide:nth-child(3) .hero-slide__image {
    object-position: center;
  }

  .project-gallery {
    display: block;
  }

  .project-gallery__portrait {
    width: 100%;
    margin: 1rem 0 0 !important;
    box-shadow: none;
  }

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

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

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