@font-face {
  font-family: Cormorant;
  src: url('/fonts/cormorant-400.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url('/fonts/cormorant-italic.ttf') format('truetype');
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url('/fonts/golos-400.ttf') format('truetype');
  font-display: swap;
}
:root {
  color: #141110;
  background: #f6f0e8;
  font: 15px/1.55 Golos, Arial, sans-serif;
  --wine: #6d2034;
  --line: #d3c7bd;
}
* { box-sizing: border-box; }
body, p, figure, h1 { margin: 0; }
.spread { display: grid; grid-template-columns: 53% 47%; min-height: 100svh; }
.page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px clamp(32px, 5vw, 96px) 26px;
}
.masthead {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.brand-logo img { display: block; width: clamp(160px, 14vw, 220px); height: auto; }
@media (max-width: 700px) {
  .brand-logo img { width: 142px; }
}
.kicker {
  color: #62524f;
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .135em;
  text-transform: uppercase;
}
.content { padding-block: clamp(32px, 6vh, 90px); }
.opening { color: var(--wine); display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.opening span { width: 19px; height: 1px; background: currentColor; }
h1 {
  font: 400 clamp(48px, 5.45vw, 100px)/.93 Cormorant, Georgia, serif;
  letter-spacing: -.055em;
}
h1 em { color: var(--wine); font-weight: inherit; }
.intro { margin-top: 22px; max-width: 40ch; color: #534846; }
.access { margin-top: clamp(26px, 5vh, 54px); max-width: 360px; }
.access label { display: inline-block; margin-bottom: 9px; font-size: 13px; }
.pin { position: relative; }
.digits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.digits span {
  display: grid;
  place-items: center;
  aspect-ratio: 1.14;
  background: #faf6ef;
  border: 1px solid #ad9692;
  font: 400 clamp(36px, 5vw, 62px)/1 Cormorant, Georgia, serif;
}
.pin input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #faf6ef;
  color: #141110;
  text-align: center;
  font: 400 40px/1 Cormorant, Georgia, serif;
}
.pin.enhanced input { opacity: 0; }
.pin:focus-within .digits span[data-active] { border: 2px solid var(--wine); }
.pin:focus-within .digits { outline: 2px solid var(--wine); outline-offset: 3px; }
.help { margin-top: 9px; min-height: 20px; color: #62524f; font-size: 12px; }
.help[role="alert"] { color: var(--wine); }
button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 52px;
  margin-top: 12px;
  padding: 10px 18px;
  border: 1px solid var(--wine);
  background: var(--wine);
  color: #fff7f2;
  font: inherit;
  cursor: pointer;
}
button:hover { background: #4e1224; }
button:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
button span { font-size: 21px; }
.salon {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  max-width: 420px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #534846;
  font-size: 13px;
}
.salon-mark {
  display: grid;
  place-items: center;
  padding: 8px 10px;
  background: #2b2023;
}
.salon-mark img { display: block; width: 100%; height: auto; }
.salon a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin-top: 3px;
  color: var(--wine);
  text-underline-offset: 3px;
}
.salon a:focus-visible { outline: 2px solid var(--wine); outline-offset: 4px; }
footer { padding-top: 15px; border-top: 1px solid var(--line); }
.cover { position: relative; min-height: 100%; background: #4e1224; overflow: hidden; }
.cover img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (prefers-reduced-motion: no-preference) {
  .cover::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(95deg, #4e1224, #70263a 75%, #41121f);
    animation: lift-curtain 950ms cubic-bezier(.25, .65, .25, 1) both;
  }
  @keyframes lift-curtain {
    from { transform: translateX(0); }
    to { transform: translateX(101%); }
  }
}
figcaption {
  position: absolute;
  bottom: 26px;
  right: 26px;
  padding: 5px 8px;
  color: #fff7f2;
  background: #25151a;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 850px) {
  .spread { grid-template-columns: 1fr; }
  .page { padding: 25px clamp(20px, 6vw, 60px) 22px; }
  .content { padding-block: 38px; }
  h1 { font-size: clamp(45px, 10vw, 72px); }
  .cover { min-height: clamp(270px, 75vw, 480px); }
}

@media (max-width: 850px) {
  .cover img { object-position: center 28%; }
}
