:root {
  --deep: #0a0605;
  --bordeaux: #2a1013;
  --bronze: #a4864f;
  --bronze-light: #d9c193;
  --ivory: #ece4d4;
  --ivory-dim: rgba(236, 228, 212, 0.68);
  --hairline: rgba(164, 134, 79, 0.32);
  --gold: linear-gradient(180deg, #fbf0c8 0%, #d8b25c 46%, #a17a2e 100%);
}

* { box-sizing: border-box; }

html {
  background: var(--deep);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--deep);
  color: var(--ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 20;
  padding: 0.6rem 0.9rem;
  background: var(--ivory);
  color: var(--deep);
  font: 600 0.72rem/1 "Cinzel", serif;
  letter-spacing: 0.08em;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 56% 42% at 50% 25%, rgba(164, 134, 79, 0.12), transparent 73%),
    linear-gradient(180deg, #120c0b 0%, #180f0d 42%, #0d0908 78%, #080504 100%);
}

.horizon-glow {
  position: absolute;
  top: 16%;
  left: 50%;
  width: min(640px, 80vw);
  height: 260px;
  background: radial-gradient(ellipse, rgba(217, 193, 147, 0.14), transparent 70%);
  transform: translateX(-50%);
}

.hills {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 58%;
}

.vineyard-rows {
  position: absolute;
  right: -3%;
  bottom: 0;
  left: -3%;
  height: 31%;
  background: repeating-linear-gradient(93deg, rgba(164, 134, 79, 0.09) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(180deg, transparent, #000 42%);
}

.vine {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(120px, 9vw);
  height: 100%;
  fill: none;
  stroke: var(--bronze);
  stroke-linecap: round;
  stroke-width: 1;
  opacity: 0.38;
}

.vine circle { fill: transparent; }
.vine-left { left: 0; }
.vine-right { right: 0; }

.vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 78% 68% at 50% 42%, transparent 40%, rgba(0, 0, 0, 0.68));
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  border-bottom: 1px solid rgba(164, 134, 79, 0.14);
}

.wordmark {
  display: inline-flex;
  gap: 0.7rem;
  align-items: center;
  color: var(--bronze-light);
  font: 500 0.7rem/1 "Cinzel", serif;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}

.edition {
  color: rgba(236, 228, 212, 0.42);
  font: 400 0.58rem/1 "Cinzel", serif;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

main, .site-footer {
  position: relative;
  z-index: 2;
}

.hero {
  display: flex;
  min-height: 100svh;
  padding: 124px 24px 58px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: rise 1.15s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow, .section-kicker {
  margin: 0 0 1.3rem;
  color: var(--bronze-light);
  font: 500 0.64rem/1.5 "Cinzel", serif;
  letter-spacing: 0.48em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eyebrow::before, .eyebrow::after {
  width: 34px;
  height: 1px;
  background: var(--bronze);
  content: "";
  opacity: 0.72;
}

h1 {
  margin: 0;
  color: var(--ivory);
  font: 600 clamp(2rem, 5vw, 3.6rem) / 1.26 "Cinzel", serif;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

h1 span {
  display: block;
  margin-top: 0.28em;
  background: var(--gold);
  background-clip: text;
  color: var(--bronze-light);
  font-size: 0.72em;
  letter-spacing: 0.09em;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rule {
  width: 64px;
  height: 1px;
  margin: 1.35rem 0 1.55rem;
  background: var(--bronze);
  opacity: 0.68;
}

.medallion-wrap {
  position: relative;
  display: block;
  width: clamp(150px, 24vw, 190px);
  height: clamp(150px, 24vw, 190px);
  color: var(--bronze-light);
  text-decoration: none;
}

.medallion-ring {
  width: 100%;
  height: 100%;
  fill: var(--bronze);
  animation: spin 60s linear infinite;
}

.medallion-ring text {
  font: 500 7.7px "Cinzel", serif;
  letter-spacing: 3px;
  opacity: 0.78;
}

@keyframes spin { to { transform: rotate(360deg); } }

.medallion {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 66%;
  height: 66%;
  border: 1px solid var(--bronze);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #211410, var(--bordeaux) 62%, #0d0807 100%);
  box-shadow: 0 0 0 5px rgba(10, 6, 5, 0.96), 0 0 0 6px rgba(164, 134, 79, 0.3), 0 14px 46px rgba(0, 0, 0, 0.68), inset 0 0 26px rgba(0, 0, 0, 0.52);
  place-items: center;
  transform: translate(-50%, -50%);
  transition: box-shadow 400ms ease, transform 400ms ease;
}

.medallion svg {
  width: 50%;
  height: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
}

.medallion-wrap:hover .medallion, .medallion-wrap:focus-visible .medallion {
  box-shadow: 0 0 0 5px rgba(10, 6, 5, 0.96), 0 0 0 6px rgba(217, 193, 147, 0.48), 0 18px 54px rgba(0, 0, 0, 0.72), inset 0 0 26px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%) scale(1.045);
}

.microcopy {
  margin: 0.25rem 0 1.2rem;
  color: rgba(236, 228, 212, 0.46);
  font: 400 0.58rem/1.4 "Cinzel", serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.tagline {
  max-width: 520px;
  margin: 0;
  color: var(--ivory-dim);
  font-size: clamp(1.03rem, 2vw, 1.22rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.58;
}

.button {
  margin-top: 1.7rem;
  border: 1px solid var(--bronze);
  padding: 0.95rem 1.8rem;
  color: var(--bronze-light);
  font: 500 0.62rem/1 "Cinzel", serif;
  letter-spacing: 0.28em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 300ms ease, color 300ms ease;
}

.button:hover, .button:focus-visible {
  background: var(--bronze);
  color: var(--deep);
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  display: block;
  width: 30px;
  height: 30px;
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 10px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--bronze);
  border-bottom: 1px solid var(--bronze);
  transform: rotate(45deg);
}

.selection {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0;
  border-top: 1px solid var(--hairline);
}

.selection-copy {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.5rem 4rem;
}

.selection-copy .section-kicker { padding-top: 0.55rem; }

.selection h2 {
  max-width: 720px;
  margin: 0;
  font: 500 clamp(1.8rem, 4vw, 3.15rem) / 1.2 "Cinzel", serif;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.selection-copy > p:last-child {
  grid-column: 2;
  max-width: 640px;
  margin: 0.5rem 0 0;
  color: var(--ivory-dim);
  font-size: 1.18rem;
  line-height: 1.65;
}

.principles {
  display: grid;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  border-top: 1px solid var(--hairline);
  grid-template-columns: repeat(3, 1fr);
}

.principles article {
  min-height: 210px;
  padding: 2rem;
  border-right: 1px solid var(--hairline);
}

.principles article:first-child { padding-left: 0; }
.principles article:last-child { border-right: 0; }

.principles span {
  color: var(--bronze);
  font: 400 0.6rem/1 "Cinzel", serif;
  letter-spacing: 0.2em;
}

.principles h3 {
  margin: 2.6rem 0 0.7rem;
  font: 500 0.85rem/1.2 "Cinzel", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.principles p {
  max-width: 260px;
  margin: 0;
  color: var(--ivory-dim);
  font-size: 1.02rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 2rem 0 2.6rem;
  border-top: 1px solid var(--hairline);
  color: rgba(236, 228, 212, 0.42);
  font: 400 0.56rem/1.5 "Cinzel", serif;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-footer p { margin: 0; }
.site-footer span { margin: 0 0.5rem; color: var(--bronze); }
.site-footer a { text-underline-offset: 4px; }

.error-page {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100svh;
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 38%, rgba(164, 134, 79, 0.12), transparent 34%), var(--deep);
  text-align: center;
}

.error-page h1 { font-size: clamp(2rem, 6vw, 4rem); }
.error-page .tagline { margin-top: 1.5rem; }

a:focus-visible {
  outline: 1px solid var(--bronze-light);
  outline-offset: 5px;
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 32px); padding: 18px 0; }
  .edition { display: none; }
  .wordmark { font-size: 0.62rem; }
  .vine { width: 17vw; opacity: 0.2; }
  .hero { min-height: 100svh; padding: 102px 20px 64px; }
  .eyebrow { font-size: 0.56rem; letter-spacing: 0.34em; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
  .rule { margin: 1rem 0 1.15rem; }
  .medallion-wrap { width: 142px; height: 142px; }
  .microcopy { margin-bottom: 0.9rem; font-size: 0.52rem; letter-spacing: 0.22em; }
  .button { margin-top: 1.3rem; }
  .selection { width: calc(100% - 40px); }
  .selection-copy { display: block; }
  .selection-copy > p:last-child { margin-top: 1.5rem; }
  .principles { grid-template-columns: 1fr; }
  .principles article, .principles article:first-child { min-height: auto; padding: 1.6rem 0; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .principles article:last-child { border-bottom: 0; }
  .principles h3 { margin-top: 1.4rem; }
  .site-footer { display: block; width: calc(100% - 40px); text-align: center; }
  .site-footer a { display: inline-block; margin-top: 1rem; }
}

@media (max-height: 760px) and (min-width: 721px) {
  .hero { padding-top: 98px; }
  .medallion-wrap { width: 142px; height: 142px; }
  .tagline { line-height: 1.4; }
  .button { margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero, .medallion-ring { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
