@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --maroon: #6A1E1E;
  --maroon-d: #4f1515;
  --maroon-l: #f8eded;
  --gold: #c9a84c;
  --gold-l: #fdf6e3;
  --cream: #fafaf8;
  --white: #ffffff;
  --text: #2d2d2d;
  --muted: #7a7a7a;
  --border: #e8e4e0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── BACK LINK ───────────────────────────────────────────────────── */
.back-link {
  position: fixed;
  top: 1.5rem;
  right: 2rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #fff;
  text-decoration: none;
  background: rgba(106, 30, 30, .85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: .6rem 1.25rem;
  border-radius: 999px;
  transition: all .3s ease;
}

.back-link:hover {
  background: rgba(106, 30, 30, 1);
  border-color: rgba(255, 255, 255, .3);
  transform: translateY(-2px);
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--maroon-d), var(--maroon) 60%, #853030);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 5rem;
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.hero::before {
  animation: hero-pattern-drift 20s linear infinite;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.13) 0 2px, transparent 3px),
    radial-gradient(circle at 75% 25%, rgba(201,168,76,.32) 0 2px, transparent 3px),
    radial-gradient(circle at 38% 78%, rgba(255,255,255,.1) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 70%, rgba(201,168,76,.24) 0 2px, transparent 3px);
  background-size: 18rem 18rem, 24rem 24rem, 16rem 16rem, 21rem 21rem;
  content: '';
  inset: -4rem;
  opacity: .72;
  position: absolute;
}

.hero::after {
  animation: hero-glow-breathe 7s ease-in-out infinite;
  background: radial-gradient(circle, rgba(201,168,76,.18), transparent 68%);
  content: '';
  height: 28rem;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48rem;
}

.hero-content {
  max-width: 680px;
  position: relative;
  z-index: 1;
  animation: fade-up .7s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  animation: fade-up .7s .1s ease both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  animation: fade-up .7s .2s ease both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: .92rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
  animation: fade-up .7s .3s ease both;
}

/* ── SHARED ──────────────────────────────────────────────────────── */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

.s-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.s-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.s-body {
  font-size: .88rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 580px;
}

/* ── ABOUT INTRO ─────────────────────────────────────────────────── */
.about-intro {
  background: var(--white);
}

.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Simple decorative block replacing the spinning rings */
.about-visual {
  display: flex;
  justify-content: center;
}

.about-badge {
  width: 280px;
  height: 280px;
  background: var(--maroon);
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  box-shadow: 0 8px 40px rgba(106, 30, 30, .2);
  animation: badge-float 4.8s ease-in-out infinite;
  position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}

.about-badge::before {
  border: 1px solid rgba(201,168,76,.35);
  border-radius: 2.35rem;
  content: '';
  inset: -.8rem;
  position: absolute;
  animation: badge-ring 4.8s ease-in-out infinite;
}

.about-badge:hover {
  box-shadow: 0 18px 48px rgba(106, 30, 30, .28);
}

.about-badge .year {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-badge .lbl {
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

/* ── SCHEDULE ────────────────────────────────────────────────────── */
.schedule-section {
  background: var(--cream);
}

.schedule-section .s-title {
  color: var(--maroon);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.schedule-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}

.schedule-card:hover {
  box-shadow: 0 6px 24px rgba(106, 30, 30, .08);
  transform: translateY(-3px);
}

.schedule-card:hover .icon,
.service-card:hover .s-icon {
  animation: icon-tilt .48s ease;
}

.schedule-card .icon {
  width: 2.35rem;
  height: 2.35rem;
  color: var(--maroon);
  background: var(--maroon-l);
  border: 1.5px solid currentColor;
  border-radius: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-bottom: .85rem;
}

.schedule-card .icon::before {
  content: '';
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}

.schedule-card:nth-child(1) .icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.schedule-card:nth-child(2) .icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15h16'/%3E%3Cpath d='M7 15a5 5 0 0 1 10 0'/%3E%3Cpath d='M12 3v2'/%3E%3Cpath d='M5 8l1.5 1.5'/%3E%3Cpath d='M19 8l-1.5 1.5'/%3E%3C/svg%3E");
}

.schedule-card:nth-child(3) .icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3C/svg%3E");
}

.schedule-card h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: .5rem;
}

.schedule-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
}

.schedule-card p strong {
  color: var(--text);
}

/* ── COLLECTION ──────────────────────────────────────────────────── */
.collection-section {
  background: var(--white);
}

.collection-section .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.collection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}

.tag {
  font-size: .75rem;
  font-weight: 500;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: var(--maroon-l);
  color: var(--maroon);
  border: 1px solid rgba(106, 30, 30, .12);
  transition: background .2s, color .2s;
  cursor: default;
}

.tag:hover {
  background: var(--maroon);
  color: #fff;
}

.av-list {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.av-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 1.1rem;
  background: var(--cream);
  border-radius: .75rem;
  border: 1px solid var(--border);
  font-size: .84rem;
  color: var(--text);
  transition: border-color .2s;
}

.av-item:hover {
  border-color: var(--gold);
}

.av-icon {
  width: 34px;
  height: 34px;
  background: var(--maroon-l);
  color: var(--maroon);
  border: 1.5px solid currentColor;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  flex-shrink: 0;
}

.av-icon::before {
  content: '';
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}

.av-item:nth-child(1) .av-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Cpath d='M12 5v2'/%3E%3Cpath d='M12 17v2'/%3E%3C/svg%3E");
}

.av-item:nth-child(2) .av-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Cpath d='M8 5v14'/%3E%3Cpath d='M16 5v14'/%3E%3Cpath d='M4 9h4'/%3E%3Cpath d='M16 9h4'/%3E%3Cpath d='M4 15h4'/%3E%3Cpath d='M16 15h4'/%3E%3C/svg%3E");
}

.av-item:nth-child(3) .av-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l-6 3V6l6-3 6 3 6-3v15l-6 3-6-3z'/%3E%3Cpath d='M9 3v15'/%3E%3Cpath d='M15 6v15'/%3E%3C/svg%3E");
}

.av-item:nth-child(4) .av-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3a14 14 0 0 1 0 18'/%3E%3Cpath d='M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E");
}

.av-details strong {
  display: block;
  font-weight: 600;
}

.av-details span {
  font-size: .74rem;
  color: var(--muted);
}

/* ── SERVICES ────────────────────────────────────────────────────── */
.services-section {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(106, 30, 30, .08);
  transform: translateY(-3px);
  border-color: rgba(106, 30, 30, .2);
}

.service-card .s-icon {
  width: 2.35rem;
  height: 2.35rem;
  color: var(--maroon);
  background: var(--maroon-l);
  border: 1.5px solid currentColor;
  border-radius: .7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-bottom: .85rem;
}

.service-card .s-icon::before {
  content: '';
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}

.service-card:nth-child(1) .s-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='6' width='12' height='12' rx='2'/%3E%3Cpath d='M16 10l5-3v10l-5-3z'/%3E%3C/svg%3E");
}

.service-card:nth-child(2) .s-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='8' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V5h10'/%3E%3C/svg%3E");
}

.service-card:nth-child(3) .s-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h10a4 4 0 0 1 4 4v12H8a3 3 0 0 1-3-3z'/%3E%3Cpath d='M8 20a3 3 0 0 1 0-6h11'/%3E%3C/svg%3E");
}

.service-card:nth-child(4) .s-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 15.5A8.5 8.5 0 0 1 8.5 4 7 7 0 1 0 20 15.5z'/%3E%3C/svg%3E");
}

.service-card:nth-child(5) .s-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8V4h10v4'/%3E%3Crect x='5' y='12' width='14' height='8' rx='1'/%3E%3Cpath d='M6 16H4a2 2 0 0 1-2-2v-3a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v3a2 2 0 0 1-2 2h-2'/%3E%3C/svg%3E");
}

.service-card:nth-child(6) .s-icon {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8'/%3E%3Cpath d='M12 16v4'/%3E%3C/svg%3E");
}

.service-card h3 {
  font-size: .9rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: .4rem;
}

.service-card p {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── FOOTER ──────────────────────────────────────────────────────── */
.page-footer {
  background: var(--maroon);
  padding: 2.5rem 2rem;
  text-align: center;
}

.page-footer p {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45);
}

.page-footer a {
  color: var(--gold);
  text-decoration: none;
}

.page-footer a:hover {
  text-decoration: underline;
}

/* RULES */
.rules-section {
  background: var(--cream);
  padding: 8rem 2rem;
}

.rules-container {
  max-width: 1100px;
  margin: 0 auto;
}

.rules-header {
  text-align: center;
  margin-bottom: 4rem;
}

.rules-s-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.rules-s-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--maroon);
  font-weight: 700;
}

.rules-sub {
  font-size: .88rem;
  color: var(--muted);
  margin-top: .75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border-radius: .875rem;
  border: 1px solid #ede8e0;
  transition: border-color .2s, transform .2s;
}

.rule-item:hover {
  border-color: rgba(106, 30, 30, .25);
  transform: translateY(-2px);
}

.rule-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 28px;
  line-height: 1.4;
}

.rule-text {
  font-size: .83rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── REVEAL ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-pattern-drift {
  to { transform: translate3d(4rem, -2rem, 0); }
}

@keyframes hero-glow-breathe {
  0%, 100% { opacity: .72; transform: translate(-50%, -50%) scale(.92); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.14); }
}

@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(-1.2deg); }
}

@keyframes badge-ring {
  0%, 100% { opacity: .45; transform: scale(.98); }
  50% { opacity: .9; transform: scale(1.035); }
}

@keyframes icon-tilt {
  45% { transform: translateY(-4px) rotate(-8deg) scale(1.08); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {

  .about-intro .container,
  .collection-section .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
