:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #f4f1ea;
  --cream: #f2eee5;
  --cream-ink: #241d1a;
  --muted: #c8bfb3;
  --red: #ba2530;
  --red-soft: #d85f67;
  --line: rgba(244, 241, 234, 0.18);
  --serif: "Bodoni 72", "Bodoni 72 Smallcaps", "Times New Roman", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.05rem clamp(1rem, 4vw, 3.8rem);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.82), rgba(5, 5, 5, 0));
}

.brand {
  display: inline-flex;
  gap: 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1;
  white-space: nowrap;
}

.brand span:first-child {
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
  color: rgba(244, 241, 234, 0.82);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

nav a {
  padding: 0.35rem 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(244, 241, 234, 0.48);
}

.language-switch button {
  border: 0;
  padding: 0.35rem 0;
  background: transparent;
  color: rgba(244, 241, 234, 0.58);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.language-switch button[aria-pressed="true"] {
  color: var(--ink);
}

.language-switch button:hover {
  color: var(--red-soft);
}

nav a:focus-visible,
.language-switch button:focus-visible,
.download:focus-visible,
address a:focus-visible {
  outline: 2px solid var(--red-soft);
  outline-offset: 4px;
}

.hero,
.closing {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.closing picture {
  position: absolute;
  inset: -8vh 0;
  z-index: -3;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.12) 0%, rgba(5, 5, 5, 0.2) 48%, rgba(5, 5, 5, 0.92) 100%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.16), rgba(5, 5, 5, 0));
}

.hero-copy {
  width: min(72rem, 100%);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(7rem, 14vh, 10rem) clamp(1.4rem, 7vw, 7rem);
}

.eyebrow,
.label {
  margin: 0;
  color: var(--red-soft);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(244, 241, 234, 0.88);
  letter-spacing: 0.32em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
}

h1 {
  max-width: 14ch;
  margin: 1.35rem 0 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 7.2vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
}

.lead {
  max-width: 36rem;
  margin: 2.15rem 0 0;
  color: rgba(244, 241, 234, 0.9);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.accent-line {
  width: 9.5rem;
  height: 2px;
  margin-top: 2.1rem;
  background: var(--red);
}

.ornament {
  position: absolute;
  top: 20%;
  bottom: 12%;
  width: 1px;
  background: rgba(244, 241, 234, 0.22);
  pointer-events: none;
}

.ornament::before,
.ornament::after {
  content: "";
  position: absolute;
  left: 0;
  width: 42px;
  height: 118px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

.ornament::before {
  top: 22%;
}

.ornament::after {
  top: 48%;
}

.ornament-left {
  left: clamp(1.5rem, 5vw, 4rem);
}

.black-panel,
.cream-panel {
  padding: clamp(6rem, 9vw, 8rem) clamp(1.4rem, 7vw, 7rem);
}

.black-panel {
  position: relative;
  background: var(--black);
}

.black-panel h2 {
  max-width: 36rem;
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.35vw, 2.15rem);
  font-weight: 400;
  line-height: 1.08;
}

.black-panel > p {
  max-width: 58rem;
  color: rgba(244, 241, 234, 0.82);
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  line-height: 1.62;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3.6rem, 7vw, 6.2rem);
}

.feature-list article {
  max-width: 34rem;
}

.feature-list h3 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.12;
}

.feature-list p:last-child {
  margin: 0;
  color: rgba(244, 241, 234, 0.78);
  font-size: clamp(0.86rem, 1vw, 0.95rem);
  line-height: 1.56;
}

.cream-panel {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--ink);
}

.cream-panel h2 {
  max-width: 48rem;
  margin: 0 auto clamp(3.4rem, 6vw, 5.2rem);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.55vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.18;
  text-align: center;
}

.cream-panel::after {
  content: "";
  position: absolute;
  top: 24%;
  right: clamp(1rem, 3vw, 3.2rem);
  bottom: 12%;
  width: 1px;
  background: rgba(186, 37, 48, 0.22);
}

.gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.8rem);
}

.gallery-grid picture {
  overflow: hidden;
  aspect-ratio: 1 / 1.18;
  border: 1px solid rgba(186, 37, 48, 0.34);
  background: #111;
}

.gallery-grid .wide {
  grid-column: 1 / -1;
  aspect-ratio: 2.24 / 1;
}

.closing {
  min-height: 72svh;
}

.closing img {
  filter: grayscale(1);
}

.closing-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(5, 5, 5, 0.5);
}

.closing-copy {
  display: flex;
  min-height: 72svh;
  flex-direction: column;
  justify-content: center;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.4rem, 7vw, 7rem);
}

.ornament-right {
  right: clamp(1.5rem, 5vw, 4rem);
}

.ornament-right::before,
.ornament-right::after {
  left: auto;
  right: 0;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-right: 0;
  border-radius: 50% 0 0 50%;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 5.8rem) clamp(1.4rem, 7vw, 7rem);
  background: var(--black);
}

.contact h2 {
  margin: 0.75rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 5.6rem);
  font-weight: 400;
  line-height: 0.95;
}

address {
  display: grid;
  gap: 0.5rem;
  color: rgba(244, 241, 234, 0.88);
  font-style: normal;
  font-weight: 700;
  line-height: 1.45;
}

address a:hover,
nav a:hover,
.download:hover {
  color: var(--red-soft);
}

.download {
  align-self: center;
  justify-self: end;
  border-bottom: 2px solid var(--red);
  padding: 0.75rem 0 0.6rem;
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 820ms ease,
    transform 820ms cubic-bezier(0.2, 0.74, 0.24, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.feature-list .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2) {
  --reveal-delay: 110ms;
}

.gallery-grid .reveal:nth-child(3) {
  --reveal-delay: 190ms;
}

@media (max-width: 920px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: start;
  }

  .download {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
    padding-top: 0.9rem;
  }

  nav {
    justify-content: flex-end;
    gap: 0.8rem;
  }

  .hero {
    min-height: 94svh;
  }

  .hero img {
    object-position: 51% 45%;
  }

  .hero-copy {
    min-height: 94svh;
    padding-bottom: 4.5rem;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .lead {
    max-width: 22rem;
    letter-spacing: 0.14em;
    line-height: 1.7;
  }

  .ornament {
    display: none;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.35rem, 15vw, 4.1rem);
  }

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

  .gallery-grid .wide {
    aspect-ratio: 1.18 / 1;
  }

  .js .reveal {
    transform: translateY(24px);
  }
}

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

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