@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --ed-font-display: "Cormorant Garamond", Georgia, serif;
  --ed-font-body: "Inter", system-ui, sans-serif;
  --ed-white: #fafaf9;
  --ed-off-white: #f4f2ef;
  --ed-paper: #edeae5;
  --ed-border: #ddd9d3;
  --ed-mid: #a8a29c;
  --ed-ash: #6b6560;
  --ed-ink: #1c1917;
  --ed-black: #0d0c0b;
  --ed-crimson: #8b1a2e;
  --ed-crimson-light: #b82840;
  --ed-platinum: #c8c6c3;
  --ed-shadow-soft: 0 2px 24px rgba(28, 25, 23, 0.07);
  --ed-shadow-card: 0 4px 32px rgba(28, 25, 23, 0.1);
  --ed-shadow-deep: 0 12px 60px rgba(28, 25, 23, 0.18);
  --ed-radius: 2px;
  --ed-radius-md: 6px;
  --ed-transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ed-font-body);
  color: var(--ed-ink);
  background-color: var(--ed-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ed-font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  line-height: 1.75;
  color: var(--ed-ash);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--ed-transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

::selection {
  background: var(--ed-crimson);
  color: #fff;
}

/* ─── HEADER ─────────────────────────────────────────────── */
.ed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 249, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ed-border);
  transition:
    box-shadow var(--ed-transition),
    background var(--ed-transition);
}
.ed-header.scrolled {
  box-shadow: var(--ed-shadow-soft);
}
.ed-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 2rem;
  border-bottom: 1px solid var(--ed-paper);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ed-ash);
}
.ed-header-top a {
  color: var(--ed-ash);
}
.ed-header-top span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ed-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
}
.ed-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.ed-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.ed-logo-text {
  font-family: var(--ed-font-display);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--ed-ink);
  text-transform: uppercase;
}
.ed-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.ed-nav li a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-ash);
  padding: 0.5rem 0.85rem;
  border-radius: var(--ed-radius);
  transition:
    color var(--ed-transition),
    background var(--ed-transition);
  white-space: nowrap;
}
.ed-nav li a:hover,
.ed-nav li a.active {
  color: var(--ed-crimson);
}
.ed-nav-cta a {
  background: var(--ed-ink) !important;
  color: var(--ed-white) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--ed-radius) !important;
}
.ed-nav-cta a:hover {
  background: var(--ed-crimson) !important;
}
.ed-burger {
  display: none;
  background: none;
  border: 1px solid var(--ed-border);
  padding: 0.5rem 0.65rem;
  border-radius: var(--ed-radius);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ed-ink);
  transition: border-color var(--ed-transition);
}
.ed-burger:hover {
  border-color: var(--ed-crimson);
  color: var(--ed-crimson);
}

/* Mobile menu */
.ed-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ed-white);
  padding: 2rem;
  overflow-y: auto;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.ed-mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: none;
}
.ed-mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ed-mobile-nav li a {
  display: block;
  font-family: var(--ed-font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--ed-ink);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--ed-paper);
  transition:
    color var(--ed-transition),
    padding-left var(--ed-transition);
}
.ed-mobile-nav li a:hover {
  color: var(--ed-crimson);
  padding-left: 1rem;
}
.ed-mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ed-ash);
}
.ed-mobile-close {
  align-self: flex-end;
  background: none;
  border: 1px solid var(--ed-border);
  padding: 0.5rem 0.65rem;
  border-radius: var(--ed-radius);
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ed-ink);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.ed-footer {
  color: #c8c6c3;
  font-size: 0.82rem;
}
.ed-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}
.ed-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(200, 198, 195, 0.15);
}
.ed-footer-brand p {
  line-height: 1.7;
  margin-top: 1rem;
  color: #9b9895;
  font-size: 0.8rem;
  max-width: 280px;
}
.ed-footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.ed-footer-logo-text {
  font-family: var(--ed-font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #e8e5e2;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.ed-footer-col h4 {
  font-family: var(--ed-font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #e8e5e2;
  margin-bottom: 1.25rem;
}
.ed-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ed-footer-col ul li a {
  color: #9b9895;
  font-size: 0.82rem;
  transition: color var(--ed-transition);
}
.ed-footer-col ul li a:hover {
  color: #e8e5e2;
}
.ed-footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ed-footer-contacts span {
  color: #9b9895;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.ed-footer-contacts span i {
  color: var(--ed-crimson);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.ed-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.75rem 0;
  font-size: 0.75rem;
  color: #706c69;
}
.ed-footer-social {
  display: flex;
  gap: 0.75rem;
}
.ed-footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 198, 195, 0.2);
  border-radius: 50%;
  color: #9b9895;
  font-size: 0.8rem;
  transition:
    border-color var(--ed-transition),
    color var(--ed-transition);
}
.ed-footer-social a:hover {
  border-color: var(--ed-crimson);
  color: var(--ed-crimson);
}
.ed-footer-legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ed-footer-legal-links a {
  color: #706c69;
  transition: color var(--ed-transition);
}
.ed-footer-legal-links a:hover {
  color: #e8e5e2;
}
.ed-footer-reg {
  font-size: 0.72rem;
  color: #4a4744;
  margin-top: 0.75rem;
  line-height: 1.6;
}
.ed-responsible {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: #706c69;
}
.ed-responsible span {
  background: var(--ed-crimson);
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
}

/* ─── PAGE TOP PADDING ───────────────────────────────────── */
main {
  padding-top: 100px;
}

/* ─── SECTION SPACING ────────────────────────────────────── */
.ed-section {
  padding: 6rem 2rem;
}
.ed-section-sm {
  padding: 4rem 2rem;
}
.ed-container {
  max-width: 1280px;
  margin: 0 auto;
}
.ed-container-narrow {
  max-width: 860px;
  margin: 0 auto;
}

/* ─── LABELS & OVERLINES ─────────────────────────────────── */
.ed-overline {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ed-crimson);
  margin-bottom: 1rem;
}
.ed-overline-light {
  color: rgba(200, 198, 195, 0.85);
}

/* ─── TYPOGRAPHY SCALE ───────────────────────────────────── */
.ed-display {
  font-family: var(--ed-font-display);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.ed-title-xl {
  font-family: var(--ed-font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
}
.ed-title-lg {
  font-family: var(--ed-font-display);
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
}
.ed-title-md {
  font-family: var(--ed-font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
}
.ed-body-lg {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ed-ash);
}
.ed-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ed-ash);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--ed-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--ed-transition);
  text-decoration: none;
}
.ed-btn-primary {
  background: var(--ed-ink);
  color: var(--ed-white);
  border-color: var(--ed-ink);
}
.ed-btn-primary:hover {
  background: var(--ed-crimson);
  border-color: var(--ed-crimson);
}
.ed-btn-outline {
  background: transparent;
  color: var(--ed-ink);
  border-color: var(--ed-ink);
}
.ed-btn-outline:hover {
  background: var(--ed-ink);
  color: var(--ed-white);
}
.ed-btn-outline-light {
  background: transparent;
  color: var(--ed-white);
  border-color: rgba(255, 255, 255, 0.5);
}
.ed-btn-outline-light:hover {
  background: var(--ed-white);
  color: var(--ed-ink);
  border-color: var(--ed-white);
}
.ed-btn-ghost {
  background: transparent;
  color: var(--ed-crimson);
  border-color: transparent;
  padding-left: 0;
}
.ed-btn-ghost:hover {
  gap: 1rem;
}
.ed-btn-sm {
  padding: 0.65rem 1.35rem;
  font-size: 0.7rem;
}

/* ─── CARDS ──────────────────────────────────────────────── */
.ed-card {
  background: var(--ed-white);
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius-md);
  overflow: hidden;
  transition:
    box-shadow var(--ed-transition),
    transform var(--ed-transition);
}
.ed-card:hover {
  box-shadow: var(--ed-shadow-card);
  transform: translateY(-2px);
}
.ed-card-body {
  padding: 1.75rem;
}
.ed-card-dark {
  background: var(--ed-ink);
  border-color: rgba(200, 198, 195, 0.1);
  color: var(--ed-white);
}
.ed-card-dark p {
  color: #9b9895;
}

/* ─── HERO ───────────────────────────────────────────────── */
.ed-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ed-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55);
}
.ed-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

/* ─── DIVIDERS ───────────────────────────────────────────── */
.ed-divider {
  width: 48px;
  height: 1px;
  background: var(--ed-crimson);
  margin: 1.5rem 0;
}
.ed-divider-center {
  margin: 1.5rem auto;
}

/* ─── BADGE ──────────────────────────────────────────────── */
.ed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border: 1px solid currentColor;
  border-radius: 999px;
}
.ed-badge-light {
  color: rgba(250, 250, 249, 0.8);
  border-color: rgba(250, 250, 249, 0.3);
}
.ed-badge-dark {
  color: var(--ed-ash);
  border-color: var(--ed-border);
}
.ed-badge-crimson {
  color: var(--ed-crimson);
  border-color: var(--ed-crimson);
}

/* ─── TABS ───────────────────────────────────────────────── */
.ed-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ed-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.ed-tabs::-webkit-scrollbar {
  display: none;
}
.ed-tab {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-bottom: 2px solid transparent;
  color: var(--ed-ash);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  white-space: nowrap;
  transition:
    color var(--ed-transition),
    border-color var(--ed-transition);
}
.ed-tab.active,
.ed-tab:hover {
  color: var(--ed-crimson);
  border-bottom-color: var(--ed-crimson);
}
.ed-tab-pane {
  display: none;
}
.ed-tab-pane.active {
  display: block;
}
.ed-tabs-light .ed-tab {
  color: rgba(200, 198, 195, 0.7);
  border-bottom-color: transparent;
}
.ed-tabs-light .ed-tab.active,
.ed-tabs-light .ed-tab:hover {
  color: #e8e5e2;
  border-bottom-color: rgba(200, 198, 195, 0.5);
}
.ed-tabs-light {
  border-bottom-color: rgba(200, 198, 195, 0.15);
}

/* ─── ACCORDION ──────────────────────────────────────────── */
.ed-accordion-item {
  border-bottom: 1px solid var(--ed-border);
}
.ed-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 0;
  font-family: var(--ed-font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ed-ink);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color var(--ed-transition);
  gap: 1rem;
}
.ed-accordion-trigger:hover {
  color: var(--ed-crimson);
}
.ed-accordion-trigger i {
  flex-shrink: 0;
  color: var(--ed-crimson);
  transition: transform var(--ed-transition);
  font-size: 0.85rem;
}
.ed-accordion-trigger.open i {
  transform: rotate(45deg);
}
.ed-accordion-body {
  display: none;
  padding-bottom: 1.5rem;
}
.ed-accordion-body.open {
  display: block;
}
.ed-accordion-body p {
  color: var(--ed-ash);
}
.ed-accordion-light .ed-accordion-item {
  border-bottom-color: rgba(200, 198, 195, 0.15);
}
.ed-accordion-light .ed-accordion-trigger {
  color: #e8e5e2;
}
.ed-accordion-light .ed-accordion-trigger:hover {
  color: #fff;
}
.ed-accordion-light .ed-accordion-body p {
  color: #9b9895;
}

/* ─── FORM ───────────────────────────────────────────────── */
.ed-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ed-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ed-ash);
}
.ed-input,
.ed-textarea,
.ed-select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--ed-border);
  border-radius: var(--ed-radius);
  background: var(--ed-white);
  color: var(--ed-ink);
  font-family: var(--ed-font-body);
  font-size: 0.9rem;
  transition:
    border-color var(--ed-transition),
    box-shadow var(--ed-transition);
  appearance: none;
  -webkit-appearance: none;
}
.ed-input:focus,
.ed-textarea:focus,
.ed-select:focus {
  outline: none;
  border-color: var(--ed-crimson);
  box-shadow: 0 0 0 3px rgba(139, 26, 46, 0.08);
}
.ed-input.error {
  border-color: #c0392b;
}
.ed-input-dark,
.ed-textarea-dark {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 198, 195, 0.2);
  color: var(--ed-white);
}
.ed-input-dark:focus,
.ed-textarea-dark:focus {
  border-color: rgba(200, 198, 195, 0.5);
  box-shadow: none;
}
.ed-input-dark::placeholder,
.ed-textarea-dark::placeholder {
  color: #706c69;
}
.ed-textarea {
  min-height: 120px;
  resize: vertical;
}
.ed-field-error {
  font-size: 0.75rem;
  color: #c0392b;
  display: none;
}
.ed-field-error.visible {
  display: block;
}
.ed-notification {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--ed-radius-md);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.ed-notification.success {
  background: #edf7ed;
  border: 1px solid #b7dfb8;
  color: #1e5621;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ed-notification.error {
  background: #fde8e8;
  border: 1px solid #f5c2c2;
  color: #8b1a2e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ed-notification-dark.success {
  background: rgba(30, 86, 33, 0.25);
  border-color: rgba(183, 223, 184, 0.3);
  color: #b7dfb8;
}
.ed-notification-dark.error {
  background: rgba(139, 26, 46, 0.25);
  border-color: rgba(200, 100, 100, 0.3);
  color: #f5c2c2;
}
.ed-honeypot {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
}
.ed-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}
.ed-checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--ed-crimson);
  cursor: pointer;
}
.ed-checkbox-group label {
  font-size: 0.82rem;
  color: var(--ed-ash);
  cursor: pointer;
  line-height: 1.5;
}
.ed-checkbox-group label a {
  color: var(--ed-crimson);
  text-decoration: underline;
}

/* ─── SPINNER ────────────────────────────────────────────── */
.ed-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ed-spin 0.7s linear infinite;
}
.ed-spinner-dark {
  border-color: rgba(28, 25, 23, 0.15);
  border-top-color: var(--ed-ink);
}
@keyframes ed-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─── GRID HELPERS ───────────────────────────────────────── */
.ed-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.ed-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.ed-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ─── HERO SLIDER ────────────────────────────────────────── */
.ed-slider {
  position: relative;
  overflow: hidden;
}
.ed-slide {
  display: none;
  width: 100%;
  animation: ed-fadeSlide 0.8s ease;
}
.ed-slide.active {
  display: flex;
}
@keyframes ed-fadeSlide {
  from {
    opacity: 0;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.ed-slider-dots {
  display: flex;
  gap: 0.5rem;
}
.ed-slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background var(--ed-transition),
    width var(--ed-transition);
  border: none;
}
.ed-slider-dot.active {
  width: 24px;
  border-radius: 3px;
  background: #fff;
}

/* ─── COUNTER ────────────────────────────────────────────── */
.ed-counter-glass {
  background: rgba(250, 250, 249, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(250, 250, 249, 0.18);
  border-radius: var(--ed-radius-md);
  padding: 1.5rem 1.75rem;
}
.ed-counter-num {
  font-family: var(--ed-font-display);
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
}
.ed-counter-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 198, 195, 0.8);
  margin-top: 0.35rem;
}

/* ─── ROULETTE WHEEL ─────────────────────────────────────── */
.ed-roulette-canvas {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  margin: 0 auto;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.ed-roulette-canvas:hover {
  transform: scale(1.02);
}

/* ─── TIMELINE ───────────────────────────────────────────── */
.ed-timeline {
  position: relative;
  padding-left: 2rem;
}
.ed-timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--ed-border);
}
.ed-timeline-item {
  position: relative;
  padding-bottom: 2rem;
}
.ed-timeline-item::before {
  content: "";
  position: absolute;
  left: -1.7rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ed-crimson);
  border: 2px solid var(--ed-white);
  box-shadow: 0 0 0 3px var(--ed-crimson);
}
.ed-timeline-light::before {
  background: rgba(200, 198, 195, 0.2);
}
.ed-timeline-light .ed-timeline-item::before {
  background: var(--ed-crimson);
  border-color: var(--ed-ink);
}

/* ─── PILL TAGS ──────────────────────────────────────────── */
.ed-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ed-paper);
  color: var(--ed-ash);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.ed-tag-crimson {
  background: rgba(139, 26, 46, 0.08);
  color: var(--ed-crimson);
}

/* ─── IMAGE FRAME ────────────────────────────────────────── */
.ed-img-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--ed-radius-md);
}
.ed-img-frame img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ed-img-frame:hover img {
  transform: scale(1.04);
}
.ed-img-ratio-4-3 {
  aspect-ratio: 4/3;
}
.ed-img-ratio-3-4 {
  aspect-ratio: 3/4;
}
.ed-img-ratio-16-9 {
  aspect-ratio: 16/9;
}
.ed-img-ratio-1-1 {
  aspect-ratio: 1/1;
}

/* ─── STAT BLOCK ─────────────────────────────────────────── */
.ed-stat-num {
  font-family: var(--ed-font-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--ed-ink);
  line-height: 1;
}
.ed-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ed-mid);
  margin-top: 0.35rem;
}

/* ─── PRIZE/JACKPOT BAR ──────────────────────────────────── */
.ed-jackpot-bar {
  height: 4px;
  background: var(--ed-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}
.ed-jackpot-fill {
  height: 100%;
  background: var(--ed-crimson);
  border-radius: 2px;
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ─── TICKER ─────────────────────────────────────────────── */
.ed-ticker {
  overflow: hidden;
  white-space: nowrap;
}
.ed-ticker-inner {
  display: inline-flex;
  animation: ed-ticker-scroll 25s linear infinite;
}
.ed-ticker-inner:hover {
  animation-play-state: paused;
}
@keyframes ed-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ─── BLUEPRINT / FLOOR PLAN ─────────────────────────────── */
.ed-floor-plan {
  position: relative;
  background: var(--ed-paper);
  border-radius: var(--ed-radius-md);
  overflow: hidden;
}
.ed-floor-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ed-crimson);
  border: 2px solid #fff;
  box-shadow: var(--ed-shadow-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: #fff;
  font-weight: 700;
  transform: translate(-50%, -50%);
  transition:
    transform var(--ed-transition),
    background var(--ed-transition);
  z-index: 2;
}
.ed-floor-pin:hover,
.ed-floor-pin.active {
  transform: translate(-50%, -50%) scale(1.25);
  background: var(--ed-ink);
}

/* ─── COUNTDOWN ──────────────────────────────────────────── */
.ed-countdown {
  display: flex;
  gap: 1.5rem;
}
.ed-countdown-unit {
  text-align: center;
}
.ed-countdown-num {
  font-family: var(--ed-font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--ed-white);
  line-height: 1;
}
.ed-countdown-label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(200, 198, 195, 0.7);
}
.ed-countdown-sep {
  font-family: var(--ed-font-display);
  font-size: 3rem;
  color: var(--ed-crimson);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.05rem;
}

/* ─── MEMBERSHIP CARD ────────────────────────────────────── */
.ed-membership-card {
  border-radius: var(--ed-radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 198, 195, 0.12);
  transition:
    transform var(--ed-transition),
    box-shadow var(--ed-transition);
}
.ed-membership-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ed-shadow-deep);
}
.ed-membership-card-silver {
  background: linear-gradient(135deg, #d4d4d8 0%, #a1a1aa 100%);
}
.ed-membership-card-gold {
  background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
}
.ed-membership-card-black {
  background: linear-gradient(135deg, #27272a 0%, #09090b 100%);
}
.ed-membership-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.ed-membership-tier {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}
.ed-membership-price {
  font-family: var(--ed-font-display);
  font-size: 2rem;
  font-weight: 300;
  margin: 0.75rem 0 0.25rem;
}
.ed-membership-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.ed-membership-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  opacity: 0.85;
}
.ed-membership-features li i {
  font-size: 0.65rem;
}

/* ─── WINE WHEEL ─────────────────────────────────────────── */
.ed-wine-wheel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-wheel-canvas {
  border-radius: 50%;
  overflow: hidden;
}
.ed-wheel-spin {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ed-wheel-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ed-white);
  border: none;
  box-shadow: var(--ed-shadow-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--ed-crimson);
  transition:
    transform var(--ed-transition),
    box-shadow var(--ed-transition);
}
.ed-wheel-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--ed-shadow-deep);
}

/* ─── SPEAKEASY VAULT ────────────────────────────────────── */
.ed-vault-code {
  display: flex;
  gap: 0.5rem;
}
.ed-vault-digit {
  width: 52px;
  height: 64px;
  border: 1px solid rgba(200, 198, 195, 0.25);
  border-radius: var(--ed-radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ed-white);
  font-family: var(--ed-font-display);
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  outline: none;
  transition: border-color var(--ed-transition);
  caret-color: var(--ed-crimson);
}
.ed-vault-digit:focus {
  border-color: rgba(200, 198, 195, 0.5);
}
.ed-vault-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ed-mid);
  transition: background var(--ed-transition);
}
.ed-vault-indicator.unlocked {
  background: #5cb85c;
  box-shadow: 0 0 8px rgba(92, 184, 92, 0.4);
}
.ed-vault-indicator.error {
  background: var(--ed-crimson);
}

/* ─── MULTI-STEP FORM ────────────────────────────────────── */
.ed-step {
  display: none;
}
.ed-step.active {
  display: block;
}
.ed-steps-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.ed-step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--ed-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ed-mid);
  background: var(--ed-white);
  transition: all var(--ed-transition);
}
.ed-step-dot.active {
  background: var(--ed-crimson);
  border-color: var(--ed-crimson);
  color: #fff;
}
.ed-step-dot.done {
  background: var(--ed-ink);
  border-color: var(--ed-ink);
  color: #fff;
}
.ed-step-line {
  flex: 1;
  height: 1px;
  background: var(--ed-border);
}
.ed-step-line.done {
  background: var(--ed-crimson);
}

/* ─── COOKIE BANNER ──────────────────────────────────────── */
.ed-cookie {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  width: calc(100% - 3rem);
  max-width: 680px;
  background: var(--ed-ink);
  color: var(--ed-white);
  border-radius: var(--ed-radius-md);
  padding: 1.25rem 1.5rem;
  display: none;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--ed-shadow-deep);
  border: 1px solid rgba(200, 198, 195, 0.12);
  flex-wrap: wrap;
}
.ed-cookie p {
  color: rgba(200, 198, 195, 0.85);
  font-size: 0.83rem;
  line-height: 1.6;
  margin: 0;
}
.ed-cookie p a {
  color: var(--ed-white);
  text-decoration: underline;
}
.ed-cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
}
.ed-cookie-accept {
  background: var(--ed-crimson);
  color: #fff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: var(--ed-radius);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity var(--ed-transition);
}
.ed-cookie-accept:hover {
  opacity: 0.85;
}
.ed-cookie-decline {
  background: transparent;
  color: rgba(200, 198, 195, 0.7);
  border: 1px solid rgba(200, 198, 195, 0.2);
  padding: 0.6rem 1.25rem;
  border-radius: var(--ed-radius);
  font-size: 0.78rem;
  cursor: pointer;
  transition:
    border-color var(--ed-transition),
    color var(--ed-transition);
}
.ed-cookie-decline:hover {
  border-color: rgba(200, 198, 195, 0.5);
  color: rgba(200, 198, 195, 0.9);
}

/* ─── MISC UTILITIES ─────────────────────────────────────── */
.ed-text-crimson {
  color: var(--ed-crimson);
}
.ed-text-light {
  color: rgba(200, 198, 195, 0.85);
}
.ed-text-muted {
  color: var(--ed-mid);
}
.ed-bg-dark {
  background-color: var(--ed-ink);
}
.ed-bg-paper {
  background-color: var(--ed-paper);
}
.ed-border-bottom {
  border-bottom: 1px solid var(--ed-border);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── BLOG ───────────────────────────────────────────────── */
.ed-blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
}
.ed-blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.ed-blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.ed-blog-card:hover .ed-blog-card-img img {
  transform: scale(1.04);
}

/* ─── CAROUSEL (drag/swipe) ──────────────────────────────── */
.ed-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.ed-carousel-track::-webkit-scrollbar {
  display: none;
}
.ed-carousel-track:active {
  cursor: grabbing;
}
.ed-carousel-item {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* ─── PROGRESS BAR ───────────────────────────────────────── */
.ed-progress {
  height: 3px;
  background: rgba(200, 198, 195, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.75rem;
}
.ed-progress-fill {
  height: 100%;
  background: var(--ed-crimson);
  border-radius: 2px;
  transition: width var(--ed-transition);
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ed-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .ed-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 80px;
  }
  .ed-section {
    padding: 4rem 1.25rem;
  }
  .ed-section-sm {
    padding: 3rem 1.25rem;
  }
  .ed-header-top {
    display: none;
  }
  .ed-header-main {
    padding: 0.75rem 1.25rem;
  }
  .ed-nav {
    display: none;
  }
  .ed-burger {
    display: flex;
    align-items: center;
  }
  .ed-grid-2,
  .ed-grid-3,
  .ed-grid-4 {
    grid-template-columns: 1fr;
  }
  .ed-footer-grid {
    grid-template-columns: 1fr;
  }
  .ed-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .ed-countdown {
    gap: 0.75rem;
  }
  .ed-countdown-num {
    font-size: 2rem;
  }
  .ed-countdown-sep {
    font-size: 2rem;
  }
  .ed-vault-digit {
    width: 42px;
    height: 54px;
    font-size: 1.6rem;
  }
  html {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .ed-display {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  .ed-cookie {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: auto;
    transform: none;
  }
}
