:root {
  --ink: #1a2e28;
  --ink-soft: #3d524a;
  --paper: #e8efe9;
  --gold: #9a6b1f;
  --teal: #2a5c52;
  --line: rgba(26, 46, 40, 0.12);
  --line-strong: rgba(26, 46, 40, 0.18);
  --danger: #8b2e2e;
  --ok: #1f6b45;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", sans-serif;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --duration-fast: 180ms;
  --duration: 280ms;
  --shadow-xs: 0 1px 2px rgba(26, 46, 40, 0.06);
  --shadow-sm: 0 1px 2px rgba(26, 46, 40, 0.05), 0 4px 12px rgba(26, 46, 40, 0.06);
  --shadow-md: 0 2px 8px rgba(26, 46, 40, 0.06), 0 12px 28px rgba(26, 46, 40, 0.1);
  --shadow-lg: 0 8px 24px rgba(26, 46, 40, 0.12), 0 24px 48px rgba(26, 46, 40, 0.1);
  --app-bg:
    radial-gradient(ellipse 100% 70% at 0% 0%, rgba(154, 107, 31, 0.12), transparent 50%),
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(42, 92, 82, 0.14), transparent 55%),
    linear-gradient(168deg, #f0f5f1 0%, #e4ede6 100%);
  --glass-surface-bg: rgba(255, 255, 255, 0.38);
  --glass-surface-border: rgba(255, 255, 255, 0.55);
  --glass-surface-blur: saturate(180%) blur(22px);
  --app-shell-pad-top: 0.65rem;
  --app-shell-pad-x: 0.75rem;
  --app-shell-pad-bottom: 0.85rem;
  --chrome-sticky-gap: 0.65rem;
  --app-min-h: 100vh;
}

@supports (height: 100svh) {
  :root {
    --app-min-h: 100svh;
  }
}

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

html {
  -webkit-tap-highlight-color: transparent;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: var(--app-min-h);
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--app-bg);
  line-height: 1.55;
}

/* —— Page loader —— */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--app-bg);
  transition: opacity 0.45s var(--ease-out), visibility 0.45s var(--ease-out);
}

html.js-ready .page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.js-loading .app-shell {
  visibility: hidden;
}

.page-loader-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  animation: loader-enter 0.55s var(--ease-out) both;
}

.page-loader-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 6vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  animation: loader-breathe 2.4s ease-in-out infinite;
}

.page-loader-ring {
  box-sizing: border-box;
  width: 1.55rem;
  height: 1.55rem;
  border: 1.5px solid rgba(42, 92, 82, 0.14);
  border-top-color: var(--gold);
  border-right-color: rgba(42, 92, 82, 0.35);
  border-radius: 50%;
  animation: loader-spin 1.05s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

@keyframes loader-enter {
  from {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes loader-breathe {
  0%,
  100% {
    opacity: 0.78;
  }
  50% {
    opacity: 1;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-loader-panel,
  .page-loader-brand,
  .page-loader-ring {
    animation: none;
  }
  .page-loader-brand {
    opacity: 1;
  }
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

/* —— Glass shell —— */
.app-shell {
  position: relative;
  isolation: isolate;
  flex: 1 0 auto;
  min-height: var(--app-min-h);
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--app-shell-pad-top) var(--app-shell-pad-x) var(--app-shell-pad-bottom);
  box-sizing: border-box;
}

.app-shell-glass {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  border: none;
  border-radius: var(--shell-glass-radius, var(--radius-xl));
  background: transparent;
  overflow: visible;
}

.app-shell-glass-face {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 0;
  background: var(--glass-surface-bg);
  backdrop-filter: var(--glass-surface-blur);
  -webkit-backdrop-filter: var(--glass-surface-blur);
}

.app-shell-glass-border {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.app-shell-glass-border path {
  fill: none;
  stroke: var(--glass-surface-border);
  stroke-width: 1;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.app-shell-glass-content {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  width: 100%;
}

/* —— Page layout —— */
.site-page {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
}

.site-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: var(--chrome-sticky-gap) 0 0.5rem;
  padding: 0.55rem 0.85rem 0.55rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: calc(var(--app-shell-pad-top) + var(--chrome-sticky-gap));
  z-index: 40;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.15;
  flex-shrink: 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand.big {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  margin: 0 0 0.75rem;
  line-height: 1.05;
}

.brand-parent {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 1.15rem;
}

.site-nav-link {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  color: var(--ink);
  border-bottom-color: color-mix(in srgb, var(--ink) 25%, transparent);
}

.nav-toggle {
  display: none;
  appearance: none;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-icon {
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

/* —— Buttons —— */
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  transition:
    background var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-spring),
    color var(--duration-fast) var(--ease-out);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: scale(0.97);
}

.btn.primary {
  background: var(--ink);
  color: var(--paper);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.btn.primary:hover {
  background: color-mix(in srgb, var(--ink) 88%, #fff);
}

.btn.ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
}

.btn.gold {
  background: var(--gold);
  color: #fff;
  border-color: transparent;
}

/* —— Hero —— */
.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: center;
  padding: 2.25rem 0 1.5rem;
  min-height: min(70vh, 36rem);
}

.site-hero:has(.site-hero-visual[hidden]) {
  grid-template-columns: 1fr;
  min-height: 0;
}

.site-hero-copy {
  max-width: 34rem;
}

.site-headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 550;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.lede {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 32rem;
}

.site-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.65rem;
  margin-top: 1.25rem;
}

.site-hero-visual {
  position: relative;
  min-height: 22rem;
  display: grid;
  place-items: center;
}

.site-hero-glow {
  display: none;
}

.hero-event {
  position: relative;
  width: min(100%, 18rem);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 46, 40, 0.08);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  animation: public-float-a 5.5s ease-in-out infinite;
}

.hero-event img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-event-body {
  padding: 1rem 1.05rem 1.15rem;
}

.hero-event-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-event-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

@keyframes public-glow {
  from {
    opacity: 0.7;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes public-float-a {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* —— Sections —— */
.site-section {
  margin-top: 0.5rem;
  padding: 1.75rem 0 0.75rem;
  border-top: 1px solid var(--line);
  scroll-margin-top: 5rem;
}

.site-section h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.15rem;
}

.feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.85rem;
  align-items: start;
  padding: 1.05rem 1.1rem 1.15rem;
  border: 1px solid rgba(26, 46, 40, 0.08);
  background: rgba(255, 255, 255, 0.52);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--teal) 12%, transparent);
  color: var(--teal);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.feature-item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.feature-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.trust-panel {
  margin-top: 2rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(26, 46, 40, 0.08);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
}

.trust-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 46rem;
}

/* —— Inner pages —— */
.page-intro {
  padding: 1.75rem 0 0.5rem;
}

.page-intro h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.page-intro p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
  font-size: 1.05rem;
}

.content-prose {
  max-width: 42rem;
}

.content-prose h2,
.content-prose h3,
.content-prose h4 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  margin: 1.5rem 0 0.65rem;
}

.content-prose p,
.content-prose li {
  color: var(--ink-soft);
}

.content-prose ul {
  padding-left: 1.2rem;
}

.content-prose a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* —— Event / collection tiles —— */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
}

.tile {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 46, 40, 0.08);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform var(--duration) var(--ease-spring), box-shadow var(--duration) var(--ease-out);
}

.tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.tile-body {
  padding: 1rem 1.1rem 1.2rem;
}

.tile-body h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.tile-body p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 46, 40, 0.08);
  background: rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-xs);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Countdown —— */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.25rem 0;
}

.count-box {
  min-width: 4.25rem;
  padding: 0.75rem 0.85rem;
  text-align: center;
  border: 1px solid rgba(26, 46, 40, 0.08);
  background: rgba(255, 255, 255, 0.62);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.count-box span {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.count-box small {
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* —— Event detail —— */
.event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: start;
  padding: 1rem 0 2rem;
}

.event-meta {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.95rem;
}

.event-meta td {
  padding: 0.55rem 0.75rem 0.55rem 0;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.event-meta td:first-child {
  width: 8.5rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.event-meta td:last-child {
  color: var(--ink-soft);
}

.event-poster {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(26, 46, 40, 0.08);
  box-shadow: var(--shadow-md);
}

.event-poster img {
  width: 100%;
  display: block;
}

.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(26, 46, 40, 0.08);
  aspect-ratio: 4 / 3;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Forms —— */
.contact-simple {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0.75rem 0 1.5rem;
}

.contact-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(26, 46, 40, 0.08);
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.contact-card p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a:not(.btn) {
  color: var(--teal);
  font-weight: 500;
}

.tile-static {
  cursor: default;
}

.tile-static:hover {
  transform: none;
  box-shadow: var(--shadow-xs);
}

.newsletter-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
}

/* —— Footer —— */
.site-footer {
  margin-top: 2.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.site-footer a:hover {
  color: var(--ink);
}

.site-footer-note {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1.15rem, env(safe-area-inset-bottom));
  z-index: 60;
  width: 2.65rem;
  height: 2.65rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(26, 46, 40, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .site-hero,
  .event-layout {
    grid-template-columns: 1fr;
  }

  .site-hero {
    min-height: 0;
    padding-top: 1.5rem;
  }

  .site-hero-visual {
    order: -1;
    min-height: 18rem;
  }

  .feature-grid,
  .video-grid,
  .contact-simple {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    right: 0.65rem;
    left: 0.65rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(26, 46, 40, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  .site-top.is-open .site-nav {
    display: flex;
  }

  .site-nav-link {
    padding: 0.65rem 0.75rem;
    border-radius: var(--radius-md);
    border-bottom: none;
  }

  .site-nav-link:hover,
  .site-nav-link.is-active {
    background: rgba(26, 46, 40, 0.06);
  }

  .brand {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-event {
    animation: none;
  }
}
