:root {
  --ink: #20251e;
  --ink-soft: #394136;
  --paper: #f7f3ea;
  --paper-warm: #e9e2d5;
  --white: #fffdf9;
  --accent: #b94f3c;
  --accent-dark: #88382c;
  --line: rgba(32, 37, 30, 0.16);
  --muted: #687066;
  --shell: min(1180px, calc(100vw - 64px));
  --display: clamp(2.65rem, 5.7vw, 6.2rem);
  --section-space: clamp(80px, 10vw, 144px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font: inherit;
}

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

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

button {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-150%);
}

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

.hero {
  position: relative;
  display: grid;
  min-height: min(920px, 94vh);
  color: var(--white);
  overflow: hidden;
}

.hero__media,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(20, 25, 19, 0.86) 0%, rgba(20, 25, 19, 0.42) 56%, rgba(20, 25, 19, 0.04) 100%),
    linear-gradient(0deg, rgba(20, 25, 19, 0.76) 0%, transparent 48%);
}

.hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  padding-block: clamp(84px, 12vh, 150px) 190px;
}

.hero__title {
  max-width: 870px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 7.15vw, 7.7rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.hero__title span {
  display: block;
  color: #e6c1ac;
  font-style: italic;
}

.hero__lead {
  max-width: 620px;
  margin: 34px 0 32px;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  padding: 15px 25px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

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

.button--light:hover {
  background: #ead8c6;
}

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

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

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

.button--accent:hover {
  background: #d06050;
}

.button--full {
  width: 100%;
}

.hero__facts {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-fact {
  display: grid;
  min-height: 112px;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  padding: 24px 28px;
  background: rgba(10, 16, 14, 0.36);
  backdrop-filter: blur(10px);
}

.hero-fact:last-child {
  border-right: 0;
}

.hero-fact b {
  color: #efcfc5;
  font-family: Georgia, serif;
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 400;
}

.hero-fact span {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 52px;
}

.section-index {
  margin: 0 0 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section--ink .section-index {
  color: #dc8a7d;
}

.display-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--display);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.display-title em,
.purchase__title em {
  color: var(--accent);
  font-weight: 400;
}

.section--ink .display-title em,
.section--ink .purchase__title em {
  color: #efb4a8;
}

.section-lead {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.7;
  color: var(--muted);
}

.section--ink .section-lead {
  color: rgba(255, 255, 255, 0.62);
}

.city-portrait {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(310px, 0.7fr);
  align-items: stretch;
  background: #2b342b;
  border-radius: 2px;
  overflow: hidden;
}

.city-portrait__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(190px, 0.9fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 540px;
  padding: 18px;
  background: var(--paper);
}

.city-portrait__gallery--single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.city-portrait__gallery--single .city-portrait__photo {
  grid-row: auto;
}

.city-portrait__photo {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.city-portrait__photo--main {
  grid-row: 1 / -1;
}

.city-portrait__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-portrait__gallery--single img {
  object-position: center 48%;
}

.city-portrait__notes {
  display: grid;
  align-content: center;
  padding: clamp(36px, 5vw, 72px) clamp(30px, 4vw, 58px);
  color: var(--white);
}

.city-portrait__notes > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 24px 0;
}

.city-portrait__notes > div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.city-portrait__notes span {
  color: #dfb095;
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-style: italic;
}

.city-portrait__notes p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.15rem, 1.65vw, 1.6rem);
  line-height: 1.2;
}

.city-credits {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

.city-credits a {
  border-bottom: 1px solid currentColor;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.16fr 0.74fr;
  grid-template-rows: 400px auto;
  gap: 20px;
}

.project-photo {
  margin: 0;
  overflow: hidden;
}

.project-photo--main {
  grid-row: 1 / 3;
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-statement {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 34px;
  padding: clamp(32px, 4vw, 54px);
  color: var(--white);
  background: var(--ink-soft);
}

.project-statement span {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-statement p {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.2;
}

.project-facts {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) 1.5fr;
  gap: clamp(42px, 8vw, 120px);
  align-items: end;
  margin-top: 68px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.project-facts__intro {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  line-height: 1.15;
}

.project-facts__list {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 20px;
}

.project-facts__list span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-facts__list span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.purchase-card span {
  display: block;
  margin-bottom: 38px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
}

.purchase-card h3 {
  margin: 0 0 12px;
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
}

.purchase-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--muted);
}

.new-phase {
  position: relative;
  min-height: min(800px, 90vh);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.new-phase__image,
.new-phase__veil {
  position: absolute;
  inset: 0;
}

.new-phase__image {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.new-phase__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 31, 25, 0.9) 0%, rgba(26, 31, 25, 0.62) 45%, rgba(26, 31, 25, 0.08) 80%),
    linear-gradient(0deg, rgba(26, 31, 25, 0.68) 0%, transparent 58%);
}

.new-phase__content {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 12vh, 144px) 0;
}

.new-phase__eyebrow {
  margin: 0 0 22px;
  color: #e6ba9f;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.new-phase__title {
  max-width: 900px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(3rem, 6.4vw, 7rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.new-phase__title em {
  color: #e9c9b4;
  font-weight: 400;
}

.new-phase__lead {
  max-width: 520px;
  margin: 30px 0 32px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.55;
}

.purchase {
  display: grid;
  grid-template-columns: 0.82fr 1.6fr;
  gap: clamp(42px, 7vw, 100px);
  margin-top: 12px;
}

.purchase__intro {
  align-self: start;
}

.purchase__title {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.purchase__options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border: 0;
}

.purchase-card {
  min-height: 265px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  padding: 30px;
}

.purchase-card span {
  color: #efb4a8;
}

.purchase-card p {
  color: rgba(255, 255, 255, 0.56);
}

.purchase__action {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 24px;
}

.purchase__action p {
  max-width: 430px;
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.42);
}

.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 590px);
  justify-content: center;
  align-items: start;
}

.request {
  padding-block: clamp(48px, 5.5vw, 78px);
}

.lead-form {
  padding: clamp(28px, 4vw, 48px);
  color: var(--white);
  background: var(--ink);
}

.lead-form .button--dark {
  background: var(--ink-soft);
}

.lead-form .button--dark:hover {
  background: #4b5748;
}

.lead-form__intro {
  margin: 0 0 34px;
}

.lead-form__intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 400;
  line-height: 1.02;
}

.lead-form__intro p {
  max-width: 350px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.5;
}

.lead-form__number {
  margin-bottom: 40px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #efb4a8;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.field > span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  padding: 13px 0;
  outline: 0;
  color: var(--white);
  background: transparent;
  font-size: 1.15rem;
}

.field input:focus {
  border-color: #efb4a8;
}

.field small {
  min-height: 1em;
  color: #ff9b88;
}

.check-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  margin: 26px 0 28px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.56);
}

.check-field input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.inline-button,
.footer-link {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.lead-form__status {
  min-height: 1.4em;
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: #efb4a8;
}

.site-footer {
  padding: 28px 0 52px;
  color: rgba(255, 255, 255, 0.54);
  background: var(--ink);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  align-items: start;
  gap: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
}

.footer-title {
  max-width: 250px;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.6;
}

.footer-link {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.7);
}

.mobile-cta {
  display: none;
}

.policy-dialog {
  width: min(620px, calc(100vw - 40px));
  border: 0;
  padding: clamp(28px, 5vw, 54px);
  color: var(--ink);
  background: var(--paper);
}

.policy-dialog::backdrop {
  background: rgba(7, 11, 10, 0.72);
}

.policy-dialog h2 {
  margin: 0 44px 22px 0;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
}

.policy-dialog p {
  line-height: 1.65;
  color: var(--muted);
}

.policy-dialog__close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  padding: 8px;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

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

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

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 40px, 760px);
  }

  .section-heading,
  .request__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-lead {
    max-width: 650px;
  }

  .project-showcase {
    grid-template-rows: 320px auto;
  }

  .city-portrait,
  .project-facts {
    grid-template-columns: 1fr;
  }

  .city-portrait__gallery {
    min-height: 420px;
  }

  .purchase {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .purchase__action {
    grid-column: 1;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
  }

  .footer-link {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: calc(100% - 32px);
    --section-space: 72px;
    --display: clamp(2.55rem, 13vw, 4rem);
  }

  body {
    padding-bottom: 62px;
  }

  .hero {
    min-height: 720px;
  }

  .hero__media {
    object-position: center;
  }

  .hero__veil {
    background:
      linear-gradient(0deg, rgba(8, 13, 12, 0.88) 0%, rgba(8, 13, 12, 0.3) 65%, rgba(8, 13, 12, 0.18) 100%);
  }

  .hero__content {
    align-self: end;
    padding: 90px 0 255px;
  }

  .hero__title {
    font-size: clamp(3.4rem, 16vw, 5.4rem);
    line-height: 0.9;
  }

  .hero__lead {
    margin: 24px 0 26px;
    font-size: 1rem;
  }

  .hero__facts {
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .hero-fact {
    min-height: 66px;
    grid-template-columns: 42px 1fr;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 13px 16px;
  }

  .hero-fact b {
    font-size: 1.3rem;
  }

  .hero-fact span {
    font-size: 0.68rem;
  }

  .city-portrait__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
    min-height: 0;
    padding: 12px;
  }

  .city-portrait__photo,
  .city-portrait__photo--main {
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }

  .city-portrait__notes {
    padding: 24px;
  }

  .city-portrait__notes > div {
    padding: 20px 0;
  }

  .project-showcase {
    grid-template-columns: 1fr;
    grid-template-rows: 360px 250px auto;
  }

  .project-photo--main {
    grid-row: auto;
  }

  .project-statement {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px;
  }

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

  .project-facts {
    gap: 24px;
    margin-top: 38px;
  }

  .project-facts__list {
    gap: 13px;
  }

  .new-phase {
    min-height: 630px;
  }

  .new-phase__image {
    object-position: 60% center;
  }

  .new-phase__veil {
    background:
      linear-gradient(0deg, rgba(26, 31, 25, 0.94) 0%, rgba(26, 31, 25, 0.44) 72%, rgba(26, 31, 25, 0.18) 100%);
  }

  .new-phase__content {
    padding: 84px 0 68px;
  }

  .new-phase__title {
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .new-phase__lead {
    margin: 24px 0 26px;
    font-size: 1rem;
  }

  .purchase {
    margin-top: 52px;
  }

  .purchase-card {
    min-height: 210px;
  }

  .purchase__action {
    display: grid;
  }

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

  .mobile-cta {
    position: fixed;
    z-index: 30;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    color: var(--white);
    background: var(--accent);
    font-size: 0.61rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
  }
}
