:root {
  --ink: #f4efe4;
  --paper: #f3eee4;
  --type: #1b1916;
  --muted: #5c564e;
  --line: rgba(244, 239, 228, 0.72);
  --font: "Cormorant Garamond", Palatino, "Palatino Linotype", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--type);
  font-family: var(--font);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { font-family: inherit; }

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  color: var(--ink);
  overflow: hidden;
  background: #07141c;
}

.slides, .slide { position: absolute; inset: 0; }
.slide {
  opacity: 0;
  transition: opacity 900ms ease;
}
.slide.is-active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide:nth-child(1) img { object-position: center 32%; }
.slide:nth-child(2) img { object-position: center 42%; }
.slide:nth-child(3) img { object-position: 64% center; }
.slide:nth-child(4) img { object-position: center 58%; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(6, 16, 24, 0.42), transparent 24%),
    linear-gradient(to top, rgba(6, 16, 24, 0.38), transparent 30%);
}

.top {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  padding: 28px 40px 0;
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-top: 6px;
}
.nav-right { justify-content: flex-end; }
.nav-left a, .menu, .menu-panel a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.nav-right svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.4));
}
.brand {
  text-align: center;
  color: var(--ink);
}
.brand h1, .tag, .eyebrow, .cta, .dots button, footer {
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.brand h1 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.crest {
  display: block;
  width: 118px;
  height: auto;
  margin: 14px auto 10px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.28));
}
.tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}
.menu, .menu-panel { display: none; }

.arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.arrow.prev { left: 22px; }
.arrow.next { right: 22px; }
.arrow svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
}
.cta {
  letter-spacing: 0.18em;
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  padding: 14px 28px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.cta { text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}
.dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.dots button[aria-selected="true"] { background: var(--ink); }
.arrow:focus-visible, .cta:focus-visible, .nav-left a:focus-visible, .dots button:focus-visible, .menu:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 100svh;
  background: var(--paper);
}
.story > * { min-width: 0; }
.story figure { margin: 0; min-height: 70vh; overflow: hidden; }
.story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10vh 8vw;
}
.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.36em;
  color: var(--muted);
}
.story h2 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.story p:last-child {
  margin: 0;
  max-width: 34em;
  font-size: 22px;
  line-height: 1.45;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 40px 28px;
  border-top: 1px solid rgba(27, 25, 22, 0.12);
  font-size: 12px;
  letter-spacing: 0.28em;
}

@media (max-width: 800px) {
  .top {
    display: block;
    padding: 20px 18px 0;
    text-align: center;
  }
  .nav-left, .nav-right { display: none; }
  .menu {
    display: block;
    position: absolute;
    top: 22px;
    right: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-panel {
    position: absolute;
    z-index: 4;
    top: 64px;
    right: 18px;
    display: block;
    padding: 16px 18px;
    background: rgba(7, 20, 28, 0.72);
  }
  .menu-panel[hidden] { display: none; }
  .menu-panel a { display: block; padding: 8px 0; }
  .crest { width: 84px; margin-top: 12px; }
  .brand h1 { font-size: 14px; letter-spacing: 0.18em; }
  .arrow.prev { left: 4px; }
  .arrow.next { right: 4px; }
  .cta { bottom: 64px; padding: 12px 18px; letter-spacing: 0.24em; }
  .story { grid-template-columns: 1fr; min-height: 0; }
  .story figure { min-height: 62vh; }
  .story-copy { padding: 48px 24px 64px; }
  .story p:last-child { font-size: 20px; }
  footer { padding: 20px 24px 28px; }
}

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