:root {
  --ink: #20211f;
  --ink-soft: #353632;
  --paper: #f2efe9;
  --paper-light: #fbfaf7;
  --mist: #dfe0e3;
  --accent: #737786;
  --muted: #696a65;
  --line: rgba(32, 33, 31, 0.18);
  --white-line: rgba(255, 255, 255, 0.24);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --side: 1.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

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

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

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

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.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: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.content-width {
  width: min(100%, 76rem);
  margin-inline: auto;
  padding-inline: var(--side);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stage-enter {
  animation: stageEnter 600ms var(--ease) both;
}

@keyframes stageEnter {
  from { opacity: 0; transform: translateY(1.2rem); }
  to { opacity: 1; transform: none; }
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 4.35rem;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0 var(--side);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-visible {
  border-color: var(--line);
  background: rgba(251, 250, 247, 0.97);
  color: var(--ink);
  backdrop-filter: blur(10px);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 3rem;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.brand strong {
  font-size: 0.9rem;
}

.brand span {
  margin-top: 0.2rem;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.desktop-nav,
.header-cta {
  display: none;
}

.menu-button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 3rem;
  height: 3rem;
  place-content: center;
  gap: 0.38rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button i {
  display: block;
  width: 1.55rem;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-button[aria-expanded="true"] i:first-of-type {
  transform: translateY(0.22rem) rotate(45deg);
}

.menu-button[aria-expanded="true"] i:last-of-type {
  transform: translateY(-0.22rem) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
  padding: 7rem var(--side) 2rem;
  background: var(--paper-light);
  color: var(--ink);
}

.mobile-menu a {
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  min-height: 39rem;
  height: 82svh;
  max-height: 48rem;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  object-position: 61% center;
  animation: heroSettle 1.3s var(--ease) both;
}

.hero-shade {
  background: rgba(15, 16, 15, 0.52);
}

@keyframes heroSettle {
  from { opacity: 0.65; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

.hero-copy {
  position: absolute;
  z-index: 1;
  right: var(--side);
  bottom: 5.7rem;
  left: var(--side);
  max-width: 38rem;
}

.hero h1,
.flow-heading h2,
.detail-heading h2,
.section-title h3,
.technical-heading h3,
.final-copy h3,
.about-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 35rem;
  font-size: clamp(3.2rem, 14.2vw, 4.5rem);
}

.hero-copy > p:last-of-type {
  max-width: 30rem;
  margin: 1.1rem 0 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.hero-copy > a {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-copy > a span {
  font-size: 1rem;
}

.hero-caption {
  position: absolute;
  right: var(--side);
  bottom: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Form principal */
.lead-flow {
  position: relative;
  z-index: 2;
  width: calc(100% - 1rem);
  max-width: 76rem;
  margin: -2.5rem auto 0;
  background: var(--paper-light);
}

.flow-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.flow-progress p {
  display: flex;
  min-width: 0;
  min-height: 3.35rem;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.55rem 0.5rem;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.55rem;
  white-space: nowrap;
}

.flow-progress p:last-child {
  border-right: 0;
}

.flow-progress span {
  color: var(--accent);
  font-size: 0.52rem;
  font-weight: 700;
}

.flow-progress .is-current {
  color: var(--ink);
  font-weight: 700;
}

.flow-heading {
  padding: 3.5rem var(--side) 2.4rem;
}

.flow-heading h2 {
  max-width: 33rem;
  font-size: clamp(3rem, 13vw, 4.8rem);
}

.flow-heading > p:last-child {
  max-width: 34rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.lead-form {
  padding: 0 var(--side) 4rem;
}

.lead-form fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.lead-form legend {
  width: 100%;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  padding: 0.8rem 0 3.2rem;
}

.project-choice {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 15rem;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--paper-light);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.project-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-image {
  display: block;
  overflow: hidden;
}

.choice-image img {
  height: 8.2rem;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.choice-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding: 0.8rem 0.65rem 0.75rem;
}

.choice-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.choice-copy strong {
  margin-top: 0.25rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.choice-copy > span {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.58rem;
}

.project-choice i {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 1rem;
  height: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 0 0.2rem transparent;
}

.project-choice:has(input:checked) {
  border-color: var(--ink);
  background: var(--paper);
}

.project-choice:has(input:checked) i {
  background: var(--ink);
  box-shadow: inset 0 0 0 0.2rem var(--paper-light);
}

.data-fieldset {
  margin-top: 0.3rem !important;
}

.fields-grid {
  display: grid;
}

.field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.field > span {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 2.8rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  font-size: 1rem;
}

.field input::placeholder {
  color: #93938d;
}

.form-finish {
  padding-top: 1.2rem;
}

.form-finish p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.62rem;
}

.primary-button {
  display: flex;
  width: 100%;
  min-height: 3.65rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.primary-button span {
  font-size: 1rem;
}

/* Empreendimento */
.project-detail {
  overflow: hidden;
  background: var(--paper-light);
}

.detail-heading {
  padding-top: 5.5rem;
  padding-bottom: 3rem;
}

.detail-heading h2 {
  max-width: 54rem;
  font-size: clamp(4rem, 18vw, 7rem);
}

.detail-heading div > p {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-heading button {
  min-height: 3rem;
  padding: 0;
  margin-top: 1.4rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-cover {
  position: relative;
  margin: 0;
  background: var(--mist);
}

.project-cover img {
  height: min(118vw, 42rem);
  object-fit: cover;
}

.project-cover figcaption {
  position: absolute;
  right: 0.75rem;
  bottom: 0.6rem;
  padding: 0.2rem 0.35rem;
  background: rgba(32, 33, 31, 0.72);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.48rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.facts {
  padding-top: 2.8rem;
  padding-bottom: 4.8rem;
}

.facts dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--ink);
}

.facts dl div {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dl div:nth-child(odd) {
  padding-right: 0.75rem;
  border-right: 1px solid var(--line);
}

.facts dl div:nth-child(even) {
  padding-left: 0.75rem;
}

.facts dt {
  color: var(--muted);
  font-size: 0.52rem;
  text-transform: uppercase;
}

.facts dd {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.gallery-section,
.amenities {
  padding-top: 4.7rem;
  padding-bottom: 4.7rem;
}

.gallery-section {
  background: var(--paper);
}

.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title .eyebrow {
  margin-bottom: 0.65rem;
}

.section-title h3,
.technical-heading h3,
.final-copy h3 {
  max-width: 34rem;
  font-size: clamp(3rem, 13vw, 5.8rem);
}

.section-title > p {
  flex: 0 0 auto;
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.65rem;
}

.section-title > p strong {
  color: var(--ink);
  font-size: 1rem;
}

.main-gallery {
  position: relative;
}

.main-gallery figure {
  margin: 0;
}

.main-gallery figure.is-changing img {
  opacity: 0.45;
  transform: scale(0.995);
}

.main-gallery img {
  aspect-ratio: 4 / 3;
  background: var(--mist);
  object-fit: cover;
  transition: opacity 180ms ease, transform 220ms ease;
}

.main-gallery figcaption {
  min-height: 2.8rem;
  padding: 0.75rem 5.6rem 0 0;
  color: var(--muted);
  font-size: 0.62rem;
}

.gallery-buttons {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.3rem;
}

.gallery-buttons button {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  background: var(--paper-light);
}

.thumbnail-track {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
  padding-bottom: 0.45rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.thumbnail-track::-webkit-scrollbar,
.technical-track::-webkit-scrollbar {
  display: none;
}

.thumbnail-track button {
  flex: 0 0 4.3rem;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  opacity: 0.52;
}

.thumbnail-track button[aria-current="true"] {
  border-color: var(--ink);
  opacity: 1;
}

.thumbnail-track img {
  height: 3.45rem;
  object-fit: cover;
}

.all-photos-button {
  display: flex;
  width: 100%;
  min-height: 3.8rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  margin-top: 1.2rem;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}

.all-photos-button strong {
  display: grid;
  min-width: 2rem;
  height: 2rem;
  place-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
}

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

.amenities li {
  display: grid;
  min-height: 3.45rem;
  grid-template-columns: 2.2rem 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.amenities li span {
  color: var(--accent);
  font-size: 0.55rem;
  font-weight: 700;
}

.technical {
  padding: 4.7rem 0;
  background: var(--mist);
}

.technical-heading > p:last-child {
  max-width: 31rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.technical-track {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  padding: 0 var(--side) 0.6rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.technical-track figure {
  flex: 0 0 min(82vw, 27rem);
  margin: 0;
  scroll-snap-align: center;
}

.technical-track img {
  aspect-ratio: 4 / 3;
  background: #fff;
  object-fit: contain;
}

.technical-track figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.58rem;
}

.final-simulation {
  display: grid;
  gap: 2.5rem;
  padding-top: 5.2rem;
  padding-bottom: 5.2rem;
  background: var(--ink-soft);
  color: #fff;
}

.final-copy > p:last-child {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
}

.lead-summary {
  border-top: 1px solid rgba(255, 255, 255, 0.58);
}

.lead-summary dl {
  margin: 0 0 1.3rem;
}

.lead-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--white-line);
  font-size: 0.67rem;
}

.lead-summary dt {
  color: rgba(255, 255, 255, 0.55);
}

.lead-summary dd {
  margin: 0;
  text-align: right;
}

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

.send-status {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.61rem;
}

/* Izabela */
.about {
  display: grid;
  gap: 3.2rem;
  padding-top: 5.4rem;
  padding-bottom: 5.4rem;
}

.about-photo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.about-photo img {
  width: 5.6rem;
  height: 5.6rem;
  flex: 0 0 auto;
  object-fit: cover;
}

.about-photo p {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.about-photo strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.about-photo span {
  color: var(--muted);
  font-size: 0.6rem;
}

.about-copy h2 {
  max-width: 39rem;
  font-size: clamp(3.1rem, 13.5vw, 5.8rem);
}

.about-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.about-copy a {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  gap: 1.3rem;
  padding: 2.5rem var(--side);
  background: var(--ink);
  color: #fff;
  font-size: 0.62rem;
}

.site-footer div {
  display: flex;
  flex-direction: column;
}

.site-footer div strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.site-footer div span,
.site-footer small {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer p,
.site-footer a,
.site-footer small {
  margin: 0;
}

/* Galeria completa */
.photo-dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  border: 0;
  background: var(--paper-light);
  color: var(--ink);
}

.photo-dialog::backdrop {
  background: rgba(20, 20, 19, 0.72);
}

.photo-dialog header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  min-height: 4.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--side);
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.97);
}

.photo-dialog header div {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.photo-dialog header small {
  color: var(--muted);
  font-size: 0.5rem;
  text-transform: uppercase;
}

.photo-dialog header strong {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-dialog header button {
  min-height: 2.75rem;
  padding: 0 0.4rem;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
}

.all-photos-grid {
  display: grid;
  gap: 2.2rem;
  padding: 1rem var(--side) 4rem;
}

.all-photos-grid figure {
  margin: 0;
}

.all-photos-grid img {
  min-height: 12rem;
  max-height: 42rem;
  background: var(--mist);
  object-fit: contain;
}

.all-photos-grid figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.58rem;
}

@media (min-width: 48rem) {
  :root {
    --side: clamp(2rem, 4.8vw, 5.2rem);
  }

  .site-header {
    height: 5.4rem;
    grid-template-columns: 1fr auto 1fr;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3.5rem);
  }

  .desktop-nav a,
  .header-cta {
    min-height: 2.8rem;
    align-items: center;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    text-transform: uppercase;
  }

  .desktop-nav a {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
    justify-self: end;
    border-bottom: 1px solid currentColor;
  }

  .menu-button {
    display: none;
  }

  .hero {
    min-height: 47rem;
    height: 92svh;
    max-height: 61rem;
  }

  .hero-photo {
    object-position: center 57%;
  }

  .hero-shade {
    background: rgba(15, 16, 15, 0.4);
  }

  .hero-copy {
    bottom: 7rem;
    max-width: 48rem;
  }

  .hero h1 {
    max-width: 45rem;
    font-size: clamp(4.8rem, 6.6vw, 6.5rem);
  }

  .hero-copy > p:last-of-type {
    font-size: 1rem;
  }

  .lead-flow {
    width: calc(100% - 4rem);
    margin-top: -5.2rem;
  }

  .flow-progress p {
    min-height: 4rem;
    padding-inline: 1.25rem;
    font-size: 0.62rem;
  }

  .flow-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.65fr);
    gap: 5rem;
    align-items: end;
    padding: 5.7rem clamp(2.5rem, 5vw, 5.5rem) 4rem;
  }

  .flow-heading .eyebrow {
    grid-column: 1 / -1;
    margin-bottom: -3.8rem;
  }

  .flow-heading h2 {
    font-size: clamp(4.4rem, 6vw, 6.5rem);
  }

  .flow-heading > p:last-child {
    margin: 0 0 0.35rem;
  }

  .lead-form {
    padding: 0 clamp(2.5rem, 5vw, 5.5rem) 6rem;
  }

  .project-choices {
    gap: 1rem;
  }

  .project-choice {
    min-height: 13.5rem;
    display: grid;
    grid-template-columns: 12rem 1fr;
  }

  .choice-image img {
    height: 100%;
    min-height: 13.4rem;
  }

  .choice-copy {
    padding: 1.5rem;
  }

  .choice-copy strong {
    font-size: 2.4rem;
  }

  .choice-copy > span {
    font-size: 0.7rem;
  }

  .fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 2.2rem;
  }

  .field-wide {
    grid-column: 1 / -1;
  }

  .form-finish {
    display: grid;
    grid-template-columns: 1fr minmax(20rem, 0.75fr);
    gap: 2rem;
    align-items: center;
  }

  .form-finish p {
    margin: 0;
  }

  .detail-heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem 3rem;
    align-items: end;
    padding-top: 8rem;
    padding-bottom: 5.5rem;
  }

  .detail-heading .eyebrow {
    grid-column: 1 / -1;
  }

  .detail-heading h2 {
    font-size: clamp(6rem, 9vw, 9.5rem);
  }

  .detail-heading button {
    margin: 0 0 0.45rem;
  }

  .project-cover {
    width: min(100% - 4rem, 90rem);
    margin-inline: auto;
  }

  .project-cover img {
    height: auto;
    max-height: 48rem;
    aspect-ratio: 16 / 8.5;
  }

  .facts {
    padding-top: 4rem;
    padding-bottom: 7.5rem;
  }

  .facts dl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts dl div {
    min-height: 6.5rem;
    padding: 1.2rem !important;
    border-right: 1px solid var(--line);
  }

  .facts dl div:last-child {
    border-right: 0;
  }

  .gallery-section,
  .amenities {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .section-title {
    margin-bottom: 2.5rem;
  }

  .section-title h3,
  .technical-heading h3,
  .final-copy h3 {
    font-size: clamp(4.6rem, 6vw, 6.8rem);
  }

  .main-gallery img {
    aspect-ratio: 16 / 9;
    max-height: 46rem;
  }

  .thumbnail-track button {
    flex-basis: 6.5rem;
  }

  .thumbnail-track img {
    height: 4.7rem;
  }

  .amenities {
    display: grid;
    grid-template-columns: minmax(20rem, 0.8fr) minmax(25rem, 1fr);
    gap: 6rem;
  }

  .amenities .section-title {
    align-self: start;
  }

  .amenities li {
    min-height: 4rem;
  }

  .technical {
    padding: 7rem 0;
  }

  .technical-heading {
    display: grid;
    grid-template-columns: 1fr minmax(20rem, 0.55fr);
    gap: 0 5rem;
    align-items: end;
  }

  .technical-heading .eyebrow {
    grid-column: 1 / -1;
  }

  .technical-heading > p:last-child {
    margin: 0 0 0.45rem;
  }

  .technical-track {
    padding-left: max(var(--side), calc((100vw - 76rem) / 2 + var(--side)));
  }

  .technical-track figure {
    flex-basis: 31rem;
  }

  .final-simulation {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.8fr);
    gap: 7rem;
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }

  .about {
    grid-template-columns: minmax(17rem, 0.55fr) minmax(0, 1fr);
    gap: 8rem;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .about-photo {
    align-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr auto auto;
    align-items: end;
    padding: 3.5rem var(--side);
  }

  .site-footer small {
    grid-column: 1 / -1;
    padding-top: 1.2rem;
    border-top: 1px solid var(--white-line);
  }

  .photo-dialog {
    width: min(92vw, 82rem);
    height: 92vh;
    margin: auto;
  }

  .all-photos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 1rem;
    padding: 1.5rem var(--side) 5rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .project-choice:hover .choice-image img {
    transform: scale(1.025);
  }

  .primary-button:hover span,
  .hero-copy > a:hover span,
  .about-copy a:hover span {
    transform: translateX(0.25rem);
  }

  .primary-button span,
  .hero-copy > a span,
  .about-copy a span {
    transition: transform 180ms ease;
  }
}

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

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

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