@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/cormorant-garamond-light.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/cormorant-garamond-light-italic.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --indigo: #111329;
  --ivory: #f3efea;
  --copper: #c79570;
  --muted: #acaab8;
  --serif: "Cormorant Garamond", "Bodoni MT", Didot, Georgia, serif;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--indigo);
  color: var(--ivory);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
::selection { color: var(--indigo); background: var(--copper); }

.page {
  width: min(100%, 1800px);
  min-height: 100svh;
  margin-inline: auto;
  padding: 0 clamp(1.5rem, 5.5vw, 7rem);
  display: flex;
  flex-direction: column;
}

.masthead {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: clamp(2rem, 4.5vh, 3.75rem);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.8vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: .28em;
  text-decoration: none;
  margin-right: -.28em;
}

.wordmark:focus-visible { outline: 1px solid var(--copper); outline-offset: 10px; }

.hero {
  flex: 1;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 650px;
}

.intro { position: relative; z-index: 1; padding: 4.5rem 0 5rem 4.5%; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--copper);
  font-size: .75rem;
  letter-spacing: .23em;
  margin-bottom: 2rem;
}
.eyebrow span { width: 2rem; height: 1px; background: currentColor; }

h1 {
  font-family: var(--serif);
  font-size: clamp(4.75rem, 7.5vw, 8.25rem);
  font-weight: 300;
  line-height: .99;
  letter-spacing: -.045em;
  margin: 0;
}
h1 em { color: var(--copper); font-weight: 300; }
.invitation { margin: 1.9rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; letter-spacing: .025em; }
.arrival { display: inline-block; margin: 3rem 0 0; padding-bottom: .8rem; border-bottom: 1px solid rgba(199, 149, 112, .6); font-size: .75rem; letter-spacing: .23em; line-height: 1.5; }

.product {
  position: relative;
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.product img {
  display: block;
  width: auto;
  max-width: 115%;
  height: auto;
  max-height: min(80svh, 850px);
  object-fit: contain;
  flex-shrink: 0;
  mask-image: radial-gradient(ellipse closest-side, #000 72%, transparent 100%);
}

.footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(199, 149, 112, .2);
  padding: 1.5rem 0 1.75rem;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .14em;
  line-height: 1.5;
}

@media (min-width: 1100px) and (min-height: 950px) {
  .hero { min-height: 790px; }
}

@media (max-width: 760px) {
  .masthead { padding-top: 2rem; }
  .wordmark { font-size: 1.9rem; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .intro { padding: 4rem 0 0; text-align: center; }
  .eyebrow { justify-content: center; margin-bottom: 1.5rem; }
  .eyebrow span { width: 1.5rem; }
  h1 { font-size: clamp(3.5rem, 17vw, 6.5rem); line-height: 1; }
  .invitation { margin-top: 1.4rem; }
  .arrival { margin-top: 1.75rem; }
  .product { height: clamp(390px, 108vw, 650px); margin: -1rem -1.5rem -1rem; }
  .product img { width: auto; height: 100%; max-width: 100%; max-height: none; }
  .footer { flex-wrap: wrap; padding: 1.2rem 0 1.5rem; font-size: .75rem; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: no-preference) {
  .intro { animation: enter 1.2s ease-out both; }
  .product { animation: reveal 1.8s ease-out both; }
  @keyframes enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes reveal { from { opacity: 0; } to { opacity: 1; } }
}
