:root {
  color-scheme: dark;
  --ink: #f4efe6;
  --muted: #c8bda9;
  --dim: #978b76;
  --paper: #fff8eb;
  --forest: #142a24;
  --forest-deep: #071411;
  --wine: #642938;
  --brass: #c59b55;
  --oak: #8b5c33;
  --line: rgba(244, 239, 230, 0.16);
  --shadow: rgba(0, 0, 0, 0.42);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--forest-deep);
  color: var(--ink);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(100, 41, 56, 0.28), transparent 42%),
    linear-gradient(180deg, #10231f 0%, #06100e 72%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 34px 34px;
}

a {
  color: inherit;
  text-decoration: none;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 28px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(197, 155, 85, 0.24), transparent 28%),
    linear-gradient(140deg, rgba(100, 41, 56, 0.34), transparent 44%),
    #06100e;
  animation: splash-exit 3.2s ease forwards;
}

.splash::before {
  position: absolute;
  inset: clamp(18px, 3vw, 40px);
  content: "";
  border: 1px solid rgba(197, 155, 85, 0.34);
}

.splash::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
}

.splash-frame {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: min(620px, 100%);
  text-align: center;
  animation: splash-rise 700ms ease both;
}

.splash-mark {
  display: grid;
  width: 118px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid rgba(197, 155, 85, 0.42);
  background: rgba(7, 20, 17, 0.72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.splash-kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.splash strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 600;
  line-height: 0.95;
}

.splash span {
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.18rem);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(244, 239, 230, 0.1);
  background: rgba(7, 20, 17, 0.78);
  backdrop-filter: blur(18px);
  animation: page-enter 900ms ease 2.35s both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.02rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  flex: 0 0 auto;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav a {
  transition: color 160ms ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  padding: 132px clamp(20px, 5vw, 76px) 52px;
  overflow: hidden;
  isolation: isolate;
  animation: page-enter 900ms ease 2.42s both;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 78% 34%, rgba(197, 155, 85, 0.24), transparent 24%),
    linear-gradient(90deg, rgba(7, 20, 17, 0.96) 0%, rgba(7, 20, 17, 0.7) 44%, rgba(7, 20, 17, 0.18) 100%);
}

.hero-content {
  width: min(680px, 100%);
  align-self: center;
  padding-bottom: 56px;
}

.kicker {
  margin: 0 0 14px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(4rem, 10vw, 9rem);
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.25rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

p {
  color: var(--muted);
  line-height: 1.68;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 34px;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}

.button.primary {
  background: var(--brass);
  color: #1b1208;
}

.button.secondary {
  border-color: rgba(244, 239, 230, 0.26);
  color: var(--ink);
}

.hero-art {
  position: absolute;
  right: clamp(-190px, -8vw, -40px);
  bottom: -60px;
  z-index: -2;
  width: min(860px, 76vw);
  aspect-ratio: 1 / 0.82;
  filter: drop-shadow(0 34px 54px var(--shadow));
}

.room-lines {
  position: absolute;
  inset: 0 0 18%;
  border: 1px solid rgba(244, 239, 230, 0.1);
  background:
    linear-gradient(90deg, transparent 31%, rgba(244, 239, 230, 0.08) 31.2%, transparent 31.6%),
    linear-gradient(90deg, transparent 66%, rgba(244, 239, 230, 0.08) 66.2%, transparent 66.6%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  transform: perspective(900px) rotateY(-14deg);
}

.table-scene {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 74%;
  aspect-ratio: 1;
  border: 16px solid #68401f;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07), transparent 12% 88%, rgba(0, 0, 0, 0.18)),
    repeating-linear-gradient(0deg, #8a5a32 0 18px, #7b4b29 18px 36px);
  transform: rotate(45deg) skew(-4deg, -4deg);
}

.table-scene::before {
  position: absolute;
  inset: 14%;
  content: "";
  border: 1px solid rgba(244, 239, 230, 0.22);
}

.plate,
.glass,
.candle {
  position: absolute;
  display: block;
  transform: rotate(-45deg);
}

.plate {
  width: 15%;
  aspect-ratio: 1;
  border: 7px solid var(--paper);
  border-radius: 50%;
  background: rgba(255, 248, 235, 0.2);
}

.plate-one {
  top: 12%;
  left: 42%;
}

.plate-two {
  top: 42%;
  right: 12%;
}

.plate-three {
  bottom: 12%;
  left: 42%;
}

.plate-four {
  top: 42%;
  left: 12%;
}

.glass {
  width: 8%;
  aspect-ratio: 0.65;
  border: 2px solid rgba(244, 239, 230, 0.64);
  border-radius: 44% 44% 34% 34%;
}

.glass-one {
  top: 30%;
  left: 29%;
}

.glass-two {
  right: 29%;
  bottom: 30%;
}

.candle {
  top: 45%;
  left: 45%;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe5a6 0 18%, #c59b55 19% 44%, rgba(197, 155, 85, 0.14) 45% 100%);
  box-shadow: 0 0 38px rgba(255, 209, 128, 0.42);
}

.next-event {
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 34px;
  width: min(330px, calc(100% - 40px));
  padding: 18px 20px;
  border-left: 3px solid var(--brass);
  background: rgba(7, 20, 17, 0.72);
  backdrop-filter: blur(12px);
}

.next-event span {
  display: block;
  margin-bottom: 7px;
  color: var(--dim);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.next-event strong {
  display: block;
  margin-bottom: 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.next-event p {
  margin-bottom: 0;
}

.section {
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 76px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.intro-grid article {
  min-height: 230px;
  padding: clamp(22px, 3vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid p {
  margin-bottom: 0;
}

.program {
  background: #ece2d0;
  color: #17251f;
}

.program .kicker,
.program p {
  color: #795f36;
}

.event-list {
  display: grid;
  gap: 1px;
  background: rgba(20, 42, 36, 0.22);
}

.event {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  background: #f8f0e2;
}

.event time {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 700;
}

.event p {
  margin-bottom: 0;
}

.order {
  background:
    linear-gradient(180deg, rgba(7, 20, 17, 0.2), rgba(7, 20, 17, 0.64)),
    #10231f;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.rule-grid article {
  min-height: 270px;
  padding: clamp(24px, 3vw, 38px);
  background: rgba(7, 20, 17, 0.82);
}

.rule-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--brass);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
}

.rule-grid p {
  margin-bottom: 0;
}

.membership {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: center;
}

.membership-copy p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principles span {
  display: grid;
  min-height: 118px;
  place-items: center;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
  border-top: 1px solid var(--line);
}

.contact p {
  max-width: 640px;
  margin-bottom: 0;
}

.contact-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid rgba(197, 155, 85, 0.48);
  border-radius: 4px;
  color: var(--brass);
  font-weight: 800;
  white-space: nowrap;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 76px);
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.92rem;
}

@keyframes splash-exit {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes splash-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes page-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash {
    display: none;
  }

  .site-header,
  .hero {
    animation: none;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero {
    min-height: 860px;
  }

  .hero-art {
    right: -190px;
    width: 760px;
    opacity: 0.82;
  }

  .section-heading,
  .membership,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rule-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
    display: grid;
  }

  .brand {
    white-space: normal;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 820px;
    padding-top: 162px;
  }

  .hero-content {
    align-self: start;
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 3.95rem);
  }

  .hero-art {
    right: -300px;
    bottom: 8px;
    width: 690px;
    opacity: 0.72;
  }

  .next-event {
    right: 20px;
    bottom: 22px;
  }

  .intro-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .main-nav {
    font-size: 0.86rem;
  }

  .event {
    grid-template-columns: 1fr;
  }

  .contact-link {
    width: 100%;
    white-space: normal;
  }

  .site-footer {
    flex-direction: column;
  }
}
