:root {
  --maroon: #430f1b;
  --maroon-deep: #42101b;
  --cream: #faf3e6;
  --cream-soft: #f3ead8;
  --ink: #01090f;
  --rose: #e8d2bc;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Mrs Saint Delafield", "Brush Script MT", cursive;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--serif);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--maroon-deep);
  background: rgb(191 132 133 / 48%);
}

::-moz-selection {
  color: var(--maroon-deep);
  background: rgb(191 132 133 / 48%);
}

.notice::selection,
.notice *::selection,
.footer::selection,
.footer *::selection {
  color: var(--maroon-deep);
  background: rgb(255 255 255 / 70%);
}

.notice::-moz-selection,
.notice *::-moz-selection,
.footer::-moz-selection,
.footer *::-moz-selection {
  color: var(--maroon-deep);
  background: rgb(255 255 255 / 70%);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.site-shell {
  min-width: 320px;
  overflow: clip;
}

.notice {
  min-height: 0;
  padding-bottom: 158.25px;
  color: var(--cream);
  background: var(--maroon);
}

.site-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 114px;
  padding: 40px 72px;
}

.brand {
  position: relative;
  z-index: 1;
  display: block;
  width: 268px;
  height: 34px;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.brand img {
  display: block;
  width: 268px;
  height: 34px;
}

.brand:hover,
.brand:focus-visible {
  opacity: 0.76;
}

.site-address,
.contact-link {
  position: absolute;
  top: auto;
  bottom: 40px;
  color: rgb(250 243 230 / 70%);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  line-height: 1.32;
}

.site-address {
  left: 72px;
}

.contact-link {
  right: 72px;
  padding: 0 0 4px 0.22em;
  color: var(--cream);
  border-bottom: 1px solid rgb(250 243 230 / 40%);
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--rose);
  border-color: var(--rose);
}

.hero-visual {
  width: min(972px, calc(100% - 72px));
  margin: 64px auto 8px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.notice-card {
  position: relative;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 64px 72px 51.25px;
  background: var(--maroon-deep);
}

.notice-card::before,
.notice-card::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.notice-card::before {
  inset: 14px;
  border: 1.5px solid rgb(243 234 216 / 52%);
}

.notice-card::after {
  inset: 22px;
  border: 0.5px solid rgb(243 234 216 / 35%);
}

.notice-card__inner {
  position: relative;
  z-index: 1;
}

.eyebrow,
.notice-card h1,
.notice-copy,
.detail-row,
.patience {
  margin: 0;
}

.eyebrow {
  color: rgb(243 234 216 / 60%);
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  line-height: 1.35;
  text-align: center;
}

.notice-card h1 {
  margin-top: 18px;
  color: var(--cream-soft);
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.24em;
  line-height: 1.4;
  text-align: center;
}

.notice-grid {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-top: 44px;
}

.notice-copy {
  color: rgb(243 234 216 / 94%);
  font-size: 1rem;
  line-height: 1.72;
}

.notice-details {
  min-width: 0;
}

.detail-row {
  display: flex;
  align-items: baseline;
  width: 100%;
  gap: 12px;
  color: var(--cream-soft);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.28;
}

.detail-row + .detail-row {
  margin-top: 17px;
}

.detail-row i {
  flex: 1 1 auto;
  height: 11px;
  border-bottom: 0.5px dotted rgb(243 234 216 / 52%);
}

.detail-row em {
  flex: 0 0 auto;
  color: var(--rose);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

.patience {
  margin-top: 40px;
  color: var(--rose);
  font-family: var(--script);
  font-size: 2rem;
  line-height: 1.34;
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 152.16px 24px;
  background: var(--cream);
}

.intro-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 13px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.2vw, 1.82rem);
  letter-spacing: -0.02em;
  line-height: 1.8;
  text-align: center;
}

.intro-line span {
  position: relative;
  top: 2px;
  color: var(--maroon-deep);
  font-family: var(--script);
  font-size: clamp(2.55rem, 3.6vw, 2.9rem);
  letter-spacing: 0;
  line-height: 1;
}

.archive {
  position: relative;
  min-height: 748px;
  padding: 125px 24px 124px;
  overflow: visible;
  background: var(--cream);
}

.floorplan-watermark {
  position: absolute;
  top: 16px;
  right: -190px;
  width: min(950px, 72vw);
  height: auto !important;
  width: min(950px, 72vw) !important;
  opacity: 0.04;
  pointer-events: none;
}

.archive-inner {
  position: relative;
  z-index: 1;
  width: min(1336px, 100%);
  margin: 0 auto;
}

.archive-heading {
  text-align: center;
}

.archive-heading h2,
.archive-heading p {
  margin: 0;
}

.archive-heading h2 {
  padding-left: 0.3em;
  color: var(--maroon-deep);
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  line-height: 1.28;
}

.archive-heading p {
  margin-top: 14px;
  padding-left: 0.3em;
  color: rgb(1 9 15 / 55%);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  line-height: 1.35;
}

.gallery-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 530px;
  margin-top: 234px;
  padding: 0;
  overflow: visible;
}

.gallery-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  width: min(1336px, 100%);
  height: 216px;
  isolation: isolate;
  overflow: visible;
}

.gallery-caption {
  position: absolute;
  top: 450px;
  left: 50%;
  width: min(90%, 520px);
  height: 20px;
  margin: 0;
  color: var(--maroon-deep);
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.28;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  visibility: hidden;
  z-index: 5;
}

.gallery-caption__text {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  white-space: nowrap;
}

.gallery-caption__text.is-current {
  opacity: 1;
}

.gallery-caption.is-visible {
  opacity: 1;
  transform: translateX(-50%);
  visibility: visible;
}

.gallery-item {
  position: relative;
  --active-zoom: var(--zoom);
  flex: 0 1 calc((var(--base) * 1.2) + 9px);
  height: 216px;
  min-width: 0;
  padding-inline: 4.5px;
  overflow: visible;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  height: 216px;
  padding: 0;
  color: inherit;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

@media (hover: hover) and (min-width: 901px) {
  .gallery-track,
  .gallery-item {
    cursor: pointer;
  }
}

.gallery-card__overlay {
  position: absolute;
  left: var(--hover-origin-x, 50%);
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  pointer-events: none;
}

.gallery-card__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #e4d9c9;
  border: 0;
  box-shadow: none;
}

.gallery-card__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 55%, rgb(66 16 27 / 64%));
  opacity: 0;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gallery-item:nth-child(2) img,
.gallery-item:nth-child(5) img {
  object-position: 50% 36%;
}

.gallery-card.is-active {
  z-index: 4;
}

.gallery-card.is-active .gallery-card__overlay {
  width: calc(100% * var(--active-zoom));
  height: calc(100% * var(--active-zoom));
}

.gallery-card.is-active .gallery-card__media::after {
  opacity: 0;
}

.gallery-card.is-active img {
  transform: none;
}

.gallery-card:focus-visible {
  outline: 2px solid var(--maroon-deep);
  outline-offset: 5px;
}

.archive-meta {
  display: flex;
  position: relative;
  z-index: 0;
  align-items: baseline;
  justify-content: space-between;
  margin-top: -80px;
  color: rgb(1 9 15 / 60%);
  font-size: 0.63rem;
  letter-spacing: 0.28em;
  line-height: 1.3;
}

.archive-meta span:last-child {
  color: var(--maroon-deep);
  font-weight: 500;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 448px;
  padding: 116px 24px 72px;
  color: var(--cream);
  background: var(--maroon);
  text-align: center;
}

.footer-seal {
  display: block;
  width: 96px;
  height: 52px;
}

.footer p,
.footer small {
  margin: 0;
  letter-spacing: 0.26em;
}

.footer p {
  margin-top: 30px;
  color: var(--cream);
  font-size: 0.75rem;
  line-height: 1.3;
}

.footer small {
  margin-top: 20px;
  color: var(--cream);
  font-size: 0.63rem;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .site-header {
    padding-inline: 32px;
  }

  .brand {
    width: min(184px, 36vw);
    height: auto;
  }

  .brand img {
    width: 100%;
    height: auto;
  }

  .site-address {
    left: 32px;
  }

  .contact-link {
    right: 32px;
  }

  .notice-card {
    padding-inline: 48px;
  }

  .notice-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .notice-copy {
    max-width: 540px;
  }

  .gallery-stage {
    justify-content: stretch;
    min-height: 460px;
    margin-top: 96px;
    overflow: visible;
  }

  .gallery-track {
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    height: 376px;
    padding: 0 22px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-item {
    --active-zoom: 2.115;
    flex: 0 0 calc((var(--base) * 0.96) + 9px);
    height: 173px;
  }

  .gallery-track::-webkit-scrollbar {
    display: none;
  }

  .gallery-card {
    cursor: default;
    height: 173px;
  }

  .gallery-caption {
    display: block;
    top: 404px;
    width: calc(100% - 40px);
    font-size: 0.64rem;
    letter-spacing: 0.1em;
    white-space: normal;
  }

  .archive-meta {
    margin-top: -120px;
  }
}

@media (max-width: 640px) {
  .notice {
    padding-bottom: 64px;
  }

  .site-header {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: end;
    column-gap: clamp(8px, 2.5vw, 14px);
    min-height: 80px;
    padding: 28px 16px 18px;
  }

  .brand {
    grid-row: 1;
    grid-column: 2;
    display: block;
    width: min(100%, 168px);
    justify-self: center;
  }

  .brand img {
    width: 100%;
    margin: 0;
  }

  .site-address,
  .contact-link {
    position: static;
    top: auto;
    bottom: auto;
    right: auto;
    left: auto;
    grid-row: 1;
    margin: 0;
    font-size: clamp(0.49rem, 2vw, 0.56rem);
    letter-spacing: 0.16em;
    line-height: 1;
    white-space: nowrap;
  }

  .site-address {
    grid-column: 1;
    justify-self: start;
    line-height: 1.32;
    transform: translateY(2px);
  }

  .contact-link {
    grid-column: 3;
    justify-self: end;
    position: relative;
    padding: 0 0 0 0.22em;
    border-bottom: 0;
    transform: translateY(2px);
  }

  .contact-link::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0.22em;
    height: 1px;
    content: "";
    background: rgb(250 243 230 / 40%);
    transition: background 180ms ease;
  }

  .contact-link:hover::after,
  .contact-link:focus-visible::after {
    background: var(--rose);
  }

  .hero-visual {
    width: calc(100% - 32px);
    margin-top: 44px;
  }

  .notice-card {
    width: calc(100% - 32px);
    padding: 48px 28px 44px;
  }

  .notice-card::before {
    inset: 10px;
  }

  .notice-card::after {
    inset: 16px;
  }

  .eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.27em;
  }

  .notice-card h1 {
    font-size: 1.35rem;
    letter-spacing: 0.16em;
  }

  .notice-copy {
    font-size: 0.94rem;
  }

  .detail-row {
    gap: 7px;
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .detail-row em {
    font-size: 0.88rem;
  }

  .patience {
    font-size: 1.7rem;
  }

  .intro {
    padding: 92px 20px;
  }

  .intro-line {
    flex-wrap: wrap;
    gap: 4px 9px;
    font-size: 1.32rem;
    line-height: 1.55;
  }

  .intro-line span {
    font-size: 2.35rem;
  }

  .archive {
    min-height: 610px;
    padding: 94px 20px 96px;
  }

  .floorplan-watermark {
    right: -260px;
    width: 820px !important;
  }

  .archive-heading h2 {
    font-size: 0.94rem;
  }

  .archive-heading p {
    font-size: 0.58rem;
  }

  .gallery-stage {
    justify-content: stretch;
    margin-top: 70px;
    padding: 0;
    overflow: visible;
  }

  .gallery-track {
    justify-content: flex-start;
    width: 100%;
    max-width: none;
    padding: 0 22px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .gallery-track::-webkit-scrollbar {
    display: none;
  }

  .archive-meta {
    margin-top: -120px;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
  }

  .footer {
    min-height: 330px;
    padding-top: 84px;
  }

  .footer p {
    max-width: 300px;
    font-size: 0.62rem;
    line-height: 1.7;
  }
}

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

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