:root {
  color-scheme: dark;
  --void: #070203;
  --bone: #e8d6c8;
  --muted: #b8a095;
  --accent: #e4523c;
  --rule: #482120;
  --serif: 'Cormorant Garamond', Garamond, Georgia, serif;
  --sans: 'Be Vietnam Pro', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 5.4vw, 88px);
  --header-height: 72px;
  font-family: var(--sans);
  color: var(--bone);
  background: var(--void);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-inline-size: 0; }
body, button { font-size: 1rem; }
h1, h2, h3, h4, p, ol, ul, dl, figure { margin: 0; }
button { font-family: inherit; }
a { color: inherit; }
img { display: block; max-inline-size: 100%; block-size: auto; }
::selection { color: #fff4e9; background: #7a1617; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid #f28068; outline-offset: 6px; }
[id] { scroll-margin-block-start: calc(var(--header-height) + 8px); }

.shell {
  width: min(100% - 2 * var(--gutter), 1320px);
  margin-inline: auto;
}

.eyebrow, .text-link {
  font-family: var(--sans);
  font-size: clamp(.625rem, .56rem + .16vw, .75rem);
  font-weight: 600;
  letter-spacing: .19em;
  line-height: 1.65;
  text-transform: uppercase;
}

.eyebrow { color: #e2806b; }
.text-link { display: inline-flex; min-height: 44px; gap: .65em; align-items: center; text-decoration: none; }
.text-link:hover { color: #f28a73; }

.skip-link {
  position: fixed;
  inset: 8px auto auto var(--gutter);
  z-index: 100;
  padding: .85rem 1rem;
  background: var(--bone);
  color: var(--void);
  transform: translateY(-150%);
}

.skip-link:focus { transform: none; }
.no-script { padding-block: 2rem; color: var(--muted); }

.motion-control {
  position: fixed;
  z-index: 11;
  right: max(.75rem, env(safe-area-inset-right));
  bottom: max(.75rem, env(safe-area-inset-bottom));
  min-height: 44px;
  padding: 0 .75rem;
  border: 1px solid #8a463d;
  border-radius: 6px;
  background: #170809;
  color: var(--bone);
  font-size: .7rem;
  cursor: pointer;
}
.motion-control:hover { border-color: #ea927b; color: #fff0e6; }

.has-reveals [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s var(--ease), transform .95s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.has-reveals [data-reveal="mask"] { clip-path: inset(14% 0 7% 0); }
.has-reveals [data-reveal].is-revealed, .has-reveals [data-reveal]:focus-within {
  opacity: 1;
  transform: none;
  clip-path: inset(-12% -4%);
}

@media (max-width: 760px) {
  :root { --header-height: 62px; }
}

html:not([data-motion="full"]) { scroll-behavior: auto; }
:where(html:not([data-motion="full"])) .has-reveals [data-reveal] { opacity: 1; transform: none; clip-path: none; transition: none; }
