/* ===== TOKENS ===== */
:root {
  --bg: #fdf8f4;
  --surface: #ffffff;
  --surface-alt: #fef5ed;
  --text: #1c1109;
  --text-muted: #6b5a50;
  --accent: #c0644a;
  --accent-dark: #a0502e;
  --accent-light: #f5e0d4;
  --border: #e6d2c5;
  --shadow: 0 2px 12px rgba(180, 100, 60, 0.07);
  --shadow-lg: 0 8px 32px rgba(180, 100, 60, 0.13);
  --r-sm: 0.5rem;
  --r-md: 0.875rem;
  --r-lg: 1.25rem;
  --r-full: 999px;
  --max-w: 72rem;
  --nav-h: 4.5rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin-top: 0;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ===== UTILITIES ===== */
.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.6rem 1rem;
  z-index: 200;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(253, 248, 244, 0.93);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 3rem;
  width: auto;
  display: block;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  padding-left: 1rem;
}

.site-nav a {
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 150ms var(--ease), background 150ms var(--ease);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: var(--accent-light);
}

.header-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.3rem 0.85rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  transition: border-color 150ms var(--ease);
  white-space: nowrap;
}

.lang-switch:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.25rem;
  height: 2.25rem;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0.4rem 0.48rem;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 250ms var(--ease);
}

.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0 1rem;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: background 150ms var(--ease);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: var(--accent-light);
}

/* ===== PRIDE BAR ===== */
.pride-bar {
  height: 3px;
  background: linear-gradient(
    to right,
    #e40303,
    #ff8c00,
    #ffed00,
    #008026,
    #004dff,
    #750787
  );
}

/* ===== SECTION BASE ===== */
section {
  scroll-margin-top: var(--nav-h);
}

.section-header {
  margin-bottom: 2.25rem;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  margin: 0;
}

.section-lead {
  color: var(--text-muted);
  max-width: 55ch;
  margin-top: 0.6rem;
  margin-bottom: 0;
}

/* ===== HERO ===== */
.hero {
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  min-width: 0;
}

.hero-image {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  margin: 0 0 1.1rem;
  max-width: 20ch;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-title-greeting {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--accent);
  font-weight: 600;
  line-height: 1.3;
}

.hero-title-name {
  font-size: clamp(2.3rem, 7vw, 4rem);
  line-height: 1.1;
  white-space: nowrap;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin-bottom: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--r-full);
  padding: 0.72rem 1.4rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 150ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-light);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  margin-top: 0.65rem;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: 4rem 0;
  background: var(--surface-alt);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
}

.about-prose {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 55ch;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--r-full);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feature-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.feature-text span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.pride-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 1.75rem;
}

.pride-dots {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

.pride-dots span {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

/* ===== EVENTS SECTION ===== */
.events {
  padding: 4rem 0;
}

.events-grid {
  display: grid;
  gap: 1.25rem;
}

.event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== EVENT FEATURE ROW ===== */
.event-feature {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}

.event-feature-image {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.event-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-feature-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: var(--accent-light);
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-style: italic;
}

.event-feature-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0.25rem 0 0.75rem;
  line-height: 1.25;
}

.event-feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.7;
  max-width: 55ch;
}

.event-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-lg);
}

.event-card-link:focus-visible {
  outline: 3px solid var(--accent-light);
  outline-offset: 4px;
}

.event-banner {
  height: 8rem;
  display: flex;
  align-items: flex-end;
  padding: 0.8rem 1.25rem;
}

.event-banner-img {
  position: relative;
  padding: 0;
}

.event-banner-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-banner-img .event-tag {
  position: relative;
  z-index: 1;
  margin: auto 1.25rem 0.8rem;
}

.event-banner-1 {
  background: linear-gradient(135deg, #c0644a 0%, #e8a882 100%);
}

.event-banner-2 {
  background: linear-gradient(135deg, #7a6e8a 0%, #b3a0c5 100%);
}

.event-banner-3 {
  background: linear-gradient(135deg, #4a7c6f 0%, #8dbfb3 100%);
}

.event-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-full);
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text);
}

.event-body {
  padding: 1.25rem;
}

.event-date {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.event-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.event-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
}

.event-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.event-link:hover {
  text-decoration: underline;
}

/* ===== CONTACT SECTION ===== */
.contact {
  padding: 4rem 0;
  background: var(--surface-alt);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}

.contact-card h3 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.contact-value {
  font-weight: 500;
  color: var(--text);
  margin: 0;
  font-size: 0.95rem;
}

.contact-value a {
  color: var(--text);
  text-decoration: none;
}

.contact-value a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.map-frame {
  border: 0;
  border-radius: var(--r-md);
  width: 100%;
  height: 280px;
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.map-card-footer {
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.map-card-footer p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ===== MAP CONSENT GATE ===== */
.map-consent {
  border-radius: var(--r-md);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  width: 100%;
  text-align: center;
}

.map-consent-body {
  padding: 2rem 1.5rem;
  max-width: 28rem;
}

.map-consent-icon {
  font-size: 2.5rem;
  margin: 0 0 0.75rem;
  line-height: 1;
}

.map-consent-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.map-consent-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  line-height: 1.6;
}

.map-consent-text a {
  color: var(--accent-dark);
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.footer-brand img {
  height: 2rem;
  width: auto;
  display: block;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer-company {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0;
  opacity: 0.8;
}

.footer-credit {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin: 0;
  opacity: 0.7;
}

.footer-credit a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: var(--accent-dark);
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* ===== POLICY PAGE ===== */
.policy-page {
  padding: 3rem 0 5rem;
}

.policy-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.policy-body {
  max-width: 68ch;
}

.policy-body h2 {
  font-size: 1.15rem;
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
}

.policy-body p,
.policy-body ul {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.policy-body ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.policy-body li {
  margin-bottom: 0.4rem;
}

.policy-body a {
  color: var(--accent-dark);
}

.policy-body code {
  font-size: 0.88em;
  background: var(--accent-light);
  border-radius: 3px;
  padding: 0.1em 0.4em;
  color: var(--text);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.5rem;
  color: var(--text-muted);
}

.policy-table th,
.policy-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border: 1px solid var(--border);
  vertical-align: top;
}

.policy-table th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.policy-table tr:nth-child(even) td {
  background: var(--surface-alt);
}

/* ===== GIFT GUIDE ===== */
.guide-back {
  margin-bottom: 1.5rem;
}

.guide-intro {
  padding: 3rem 0 1.5rem;
}

.guide-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.guide-body {
  max-width: 68ch;
}

.guide-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.guide-categories {
  padding: 0 0 4rem;
}

.category-row {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.category-row:last-child {
  border-bottom: none;
}

.category-row-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  display: block;
}

.category-row-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-row-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.category-row-text p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin: 0;
  max-width: 52ch;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 48rem) {
  .site-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero {
    padding: 5.5rem 0 4.5rem;
  }

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

  .brand-logo {
    height: 3.75rem;
  }

  .footer-brand img {
    height: 2.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

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

  .category-row {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .category-row:nth-child(even) .category-row-img {
    order: 2;
  }

  .category-row:nth-child(even) .category-row-text {
    order: 1;
  }

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

  .map-frame {
    height: 100%;
    min-height: 340px;
  }
}

@media (min-width: 64rem) {
  .events-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}
