/* ============================================================
   UNICSTAL — STYLESHEET (PRODUCTION BUILD WITH ALL C-PROMPT FIXES)
   ============================================================ */

/* 1. Global Reset & CSS Variables */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Custom Font Families - Using Google Fonts web fallbacks */


:root {
  --color-hero-purple: #381E43;        /* Headline & branding purple */
  --color-hero-accent: #6C5542;        /* Star icons & subtext bronze/brown */
  --color-nav-text: #2D2D2D;           /* Unfocused nav link text */
  --color-nav-bg: rgba(235, 235, 235, 0.65); /* Frosted nav pill backdrop */

  --bg-parchment: #F4EFE6;
  --bg-parchment-alt: #F3EEE3;
  --text-dark: #2D2520;
  --text-heading: #2A2421;
  --text-muted: #554A43;
  --accent-purple: #3B2346;
  --accent-purple-hover: #502E5E;
  --accent-purple-light: #6C337D;
  --accent-gold: #D4AF37;
  --border-subtle: rgba(215, 208, 195, 0.7);
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-parchment);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

/* 2. Top Navigation Bar (Floating Pill Capsule) */
.nav-wrapper {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(94%, 1240px);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.nav-wrapper.nav-hidden {
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none !important;
}

.nav-pill {
  pointer-events: auto;
  width: 100%;
  height: 64px;
  background: rgba(238, 235, 226, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  box-shadow: 0 8px 30px rgba(42, 36, 33, 0.08);
  transition: all 0.3s ease;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-link {
  font-family: var(--font-sans);
  text-transform: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-nav-text, #2D2D2D);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
  background: transparent !important;
}

.nav-link:hover {
  color: var(--accent-purple-light) !important;
}

.nav-link.active {
  background: transparent !important;
  color: var(--color-nav-text, #2D2D2D) !important;
  font-weight: 600;
  padding: 6px 14px;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.unicstal-brand-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* 3. Hero Section (Locked Statue & Gliding Art Marquee) */
.hero-section,
.hero-recreation-wrapper {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  overflow: hidden;
  background-color: #F8F3E9;
  background-blend-mode: multiply, normal;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.33  0 0 0 0 0.22  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    radial-gradient(ellipse at center, rgba(255, 250, 235, 0.45) 0%, rgba(120, 90, 50, 0.08) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Gliding Art Marquee (Layer z-index: 10) */
.art-marquee {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 10;
  pointer-events: auto;
}

.art-track {
  display: flex;
  width: max-content;
  animation: glideMarquee 80s linear infinite;
  align-items: center;
}

.art-marquee:hover .art-track {
  animation-play-state: paused;
}

@keyframes glideMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.art-group {
  display: flex;
  gap: 2.5rem;
  padding: 0 16px;
  align-items: center;
}

.art-frame {
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.25));
  background: transparent;
}

.art-frame.portrait-card {
  width: 220px;
  height: 290px;
}

.art-frame.landscape-wide {
  width: 360px;
  height: 260px;
}

.art-frame.portrait-oval {
  width: 250px;
  height: 300px;
}

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

/* Hero Headline Layer (Layer z-index: 20) */
.hero-headline-container {
  position: absolute;
  bottom: 12%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 4rem;
  z-index: 20;
  pointer-events: auto;
}

.headline-block {
  flex: 1 1 0;
  min-width: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.headline-left {
  align-items: flex-start;
}

.headline-right {
  align-items: flex-end;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Left Script Title */
.script-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
  font-weight: 500;
  line-height: 0.9;
  white-space: nowrap;
  color: #381E43;
  margin: 0;
}

/* Subtitle under left title */
.subtitle-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-left: 2rem;
  font-family: 'Georgia', serif;
  color: var(--color-hero-accent, #6C5542);
  font-size: 1.1rem;
}

.accent-mark {
  font-weight: 600;
  letter-spacing: 0.1em;
}

.subtitle-text {
  font-style: italic;
  margin: 0;
}

/* Center Spacer reserved for Statue Silhouette */
.statue-spacer {
  width: 420px;
  flex-shrink: 0;
}

/* Right Condensed Title */
.condensed-title {
  font-family: 'Bebas Neue', 'Paalalabas Condensed', sans-serif;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 6.2vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.85;
  color: var(--color-hero-purple, #381E43);
  margin: 0;
}

/* Flanking Icons */
.icon-sparkle {
  color: var(--color-hero-accent, #6C5542);
  font-size: 1.4rem;
  line-height: 1;
}

.icons-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  margin-left: 0.75rem;
}

.icon-arrow {
  color: var(--color-hero-purple, #381E43);
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
}

/* Locked Central Hero Statue (Foreground Layer z-index: 30) */
.hero-sculpture-wrapper {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30; /* Statue in front of headline text and paintings */
  width: auto;
  pointer-events: none;
  text-align: center;
}

.hero-sculpture {
  position: relative;
  display: inline-block;
  width: 100%;
}

.hero-sculpture::before {
  display: none;
}

.hero-bust-img,
.hero-statue {
  height: clamp(550px, 72vh, 760px);
  max-height: none;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  mask-image: none;
  -webkit-mask-image: none;
  filter: sepia(0.12) contrast(1.15) brightness(1.02) drop-shadow(0 25px 35px rgba(0,0,0,0.22)) drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* 4. UNICSTAL & UGA Content Sections */
.content-section {
  padding: 100px 24px;
  position: relative;
  z-index: 2;
}

.unicstal-section {
  background-color: var(--bg-parchment);
}

.uga-section {
  background-color: var(--bg-parchment-alt);
  border-top: 1px solid rgba(215, 208, 195, 0.6);
  border-bottom: 1px solid rgba(215, 208, 195, 0.6);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.grid-two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.inverted-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

/* Pill Badges */
.brand-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.unicstal-badge {
  background: #FFFFFF;
  border: 1px solid rgba(215, 208, 195, 0.8);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  padding: 8px 20px;
}

.unicstal-badge-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  display: block;
}

.uga-badge {
  background: #281837;
  padding: 10px 24px;
  border-radius: 9999px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 4px 15px rgba(40, 24, 55, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-uga {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 2.7rem);
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.25;
  margin-bottom: 20px;
}

.section-description {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Feature Rows */
.feature-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-star {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.feature-body strong {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--text-heading);
  display: block;
  margin-bottom: 2px;
}

.feature-body p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #665B54;
  line-height: 1.5;
}

/* Framed Artworks */
.col-artwork {
  display: flex;
  justify-content: center;
  align-items: center;
}

.artwork-frame-direct {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 440px;
  border-radius: 8px;
  overflow: hidden;
  filter: drop-shadow(0 16px 32px rgba(45,30,15,0.20));
  background: transparent;
}

/* Artwork with the gold frame baked into the image: no clip, border or crop */
.artwork-frame-direct.is-framed { overflow: visible; border-radius: 0; display: block; margin: 0 auto; }
.artwork-frame-direct.is-framed .framed-artwork-img { max-height: none; object-fit: contain; border-radius: 0; }

.framed-artwork-img {
  width: 100%;
  height: auto;
  max-height: 540px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* Oval Frame Container */
.oval-frame-container {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 50%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 8px solid var(--accent-gold);
  box-shadow: 0 16px 32px rgba(45,30,15,0.20), inset 0 0 15px rgba(0,0,0,0.3);
  background: transparent;
}

.framed-artwork-oval {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* 5. Contact Section ("Let's Start a Conversation.") */
.contact-section {
  padding: 100px 24px;
  background-color: var(--bg-parchment);
}

.contact-card {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 980px;
  margin: 0 auto;
  padding: 56px;
  box-shadow: 0 10px 40px rgba(45,30,15,0.06);
  border: 1px solid rgba(215, 208, 195, 0.5);
}

.contact-header {
  margin-bottom: 40px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8C8278;
  display: block;
  margin-bottom: 8px;
}

.contact-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.contact-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.direct-enquiries-box {
  background: #FAF7F2;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid #EBE4D8;
}

.direct-enquiries-box h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.direct-enquiries-box p {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.enquiries-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.enquiries-info-list li {
  font-size: 0.9rem;
  color: #665B54;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 2px solid var(--accent-gold);
}

.enquiry-form .form-group {
  margin-bottom: 20px;
}

.enquiry-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid #D7D0C3;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--text-heading);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--accent-purple-light);
  box-shadow: 0 0 0 3px rgba(108, 51, 125, 0.12);
}

.char-counter {
  font-size: 0.8rem;
  color: #8C8278;
  text-align: right;
  margin-top: 4px;
}

.submit-pill-btn {
  background: var(--accent-purple);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 32px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(59, 35, 70, 0.2);
  width: 100%;
}

.submit-pill-btn:hover {
  background: var(--accent-purple-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 35, 70, 0.3);
}

/* 6. Editorial Footer Architecture */
.site-footer {
  background-color: #181311;
  color: #E6E1DA;
  padding: 80px 24px 32px;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: #B3ADA5;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-uga-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-uga-badge {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.uga-subtext {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: #A0988E;
  line-height: 1.4;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #C2BBB2;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-enquiry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 10px 20px;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.footer-enquiry-link:hover {
  background: var(--accent-gold);
  color: #181311;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #8E867D;
}

.netlify-pill {
  background: rgba(255, 255, 255, 0.08);
  color: #C2BBB2;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Hero overhaul: reference-scale headline, statue and paintings */
.hero-recreation-wrapper .art-marquee { top: 36px; padding: 60px 0; } /* padding keeps frame drop-shadows from being clipped */
.hero-recreation-wrapper .art-track { margin-left: -6vw; }
.hero-recreation-wrapper .art-frame { align-self: center; }
.hero-recreation-wrapper .art-group { gap: 2vw; }
.hero-recreation-wrapper .art-frame,
.hero-recreation-wrapper .art-frame.portrait-card,
.hero-recreation-wrapper .art-frame.landscape-wide,
.hero-recreation-wrapper .art-frame.portrait-oval {
  width: auto;
  height: clamp(200px, 22vw, 360px);
  border-radius: 0;
}
.hero-recreation-wrapper .art-frame img { width: auto; height: 100%; object-fit: contain; }
.hero-headline-container {
  bottom: 0px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  max-width: none;
  padding: 0 3vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 50;
}
.hero-headline-container .headline-block { overflow: visible; }
.hero-headline-container .statue-spacer { display: none; }
.hero-headline-container .script-title { font-family: 'Great Vibes', cursive; font-size: clamp(5.1rem, 9.3vw, 10.2rem); color: #2A2015; white-space: nowrap; line-height: 0.9; }
.hero-headline-container .condensed-title { font-family: 'Bebas Neue', 'Paalalabas Condensed', sans-serif; font-size: clamp(5.1rem, 9.3vw, 10.2rem); color: #3F1D4A; line-height: 0.85; }
.hero-headline-container .title-row { display: flex; align-items: baseline; justify-content: center; gap: 1.2rem; flex-wrap: nowrap; }
.hero-headline-container .headline-left .icon-sparkle { font-size: clamp(3rem, 6vw, 6.5rem); align-self: flex-start; }
.hero-headline-container .icons-col { height: clamp(6.5rem, 12vw, 13rem); }
.hero-headline-container .icon-arrow { color: #3F1D4A; font-size: clamp(3rem, 5vw, 5.5rem); }
.hero-headline-container .subtitle-row { font-size: clamp(1.1rem, 1.7vw, 1.9rem); padding-left: 0; justify-content: center; margin-top: 0.5rem; }
.hero-recreation-wrapper::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4'/><feColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.35  0 0 0 0 0.22  0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>");
  mix-blend-mode: multiply;
}
/* 7. Responsive Media Queries */
@media (max-width: 1024px) {
  .nav-wrapper {
    width: 96%;
  }

  .nav-pill {
    padding: 0 16px;
  }

  .nav-group {
    gap: 8px;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 5px 10px;
  }

  .grid-two-col,
  .inverted-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-pill {
    height: 56px;
    padding: 0 12px;
    overflow-x: auto;
    justify-content: space-between;
    -webkit-overflow-scrolling: touch;
  }

  .nav-group {
    gap: 4px;
  }

  .nav-link {
    font-size: 0.78rem;
    padding: 4px 8px;
  }

  .unicstal-brand-logo {
    height: 24px;
  }

  .hero-sculpture-wrapper {
    width: 320px;
    top: 320px;
  }

  .hero-headline-container {
    margin-top: 28px;
  }

  .title-script {
    font-size: 2.8rem;
  }

  .title-monumental {
    font-size: 3.4rem;
  }

  .contact-card {
    padding: 32px 20px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}







/* ============================================================
   8. Multi-page additions (network, download, support, events, about)
   ============================================================ */
.nav-link.is-current {
  background: var(--accent-purple) !important;
  color: #FFFFFF !important;
  font-weight: 600;
}

.nav-link.is-current:hover {
  color: #FFFFFF !important;
}

.page-hero {
  padding: 168px 24px 64px;
  text-align: center;
  background-color: var(--bg-parchment);
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  max-width: 900px;
  margin: 12px auto 20px;
}

.page-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.page-section {
  padding: 80px 24px;
  background-color: var(--bg-parchment);
}

.page-section-alt {
  background-color: var(--bg-parchment-alt);
  border-top: 1px solid rgba(215, 208, 195, 0.6);
  border-bottom: 1px solid rgba(215, 208, 195, 0.6);
}

.section-container.narrow {
  max-width: 820px;
}

.center-text {
  text-align: center;
}

.subpage .page-section .center-text {
  margin-bottom: 40px;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-download,
.btn-rsvp {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 9999px;
  padding: 14px 32px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary,
.btn-download {
  background: var(--accent-purple);
  color: #FFFFFF;
  border: 1px solid var(--accent-purple);
}

.btn-primary:hover,
.btn-download:hover {
  background: var(--accent-purple-hover);
  transform: translateY(-2px);
}

.btn-secondary,
.btn-rsvp {
  background: transparent;
  color: var(--accent-purple);
  border: 1px solid var(--accent-purple);
}

.btn-secondary:hover,
.btn-rsvp:hover {
  background: var(--accent-purple);
  color: #FFFFFF;
}

.btn-download {
  font-size: 1.1rem;
  padding: 18px 40px;
  max-width: 100%;
}

.btn-rsvp {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 56px;
}

/* Pills */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill-row.center-row {
  justify-content: center;
  margin: 0 0 28px;
}

.pill-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: var(--accent-purple);
  border: 1px solid var(--border-subtle);
}

.pill-gold {
  background: rgba(212, 175, 55, 0.14);
  border-color: rgba(212, 175, 55, 0.5);
}

/* Network: stacked tilted match cards */
.match-stack {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  flex-wrap: wrap;
}

.match-card {
  flex: 1 1 280px;
  max-width: 340px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(42, 36, 33, 0.1);
  transition: transform 0.3s ease;
}

.match-card .pill-row {
  justify-content: center;
}

.tilt-l { transform: rotate(-3deg); }
.tilt-r { transform: rotate(3deg); }
.tilt-c { transform: translateY(-14px); }

.match-card:hover {
  transform: rotate(0) translateY(-6px);
}

.match-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-purple);
  color: var(--accent-gold);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--accent-gold);
}

.match-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-heading);
}

.match-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.match-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* Shared info cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 8px 24px rgba(42, 36, 33, 0.05);
}

.info-card .feature-star {
  display: block;
  margin-bottom: 10px;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.info-card p {
  color: var(--text-muted);
  line-height: 1.65;
}

/* Download */
.download-card {
  max-width: 640px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(42, 36, 33, 0.12);
}

.download-badge {
  height: 56px;
  width: auto;
  background: #281837;
  padding: 10px 22px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.download-note {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Support: FAQ accordion */
.faq-category {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent-purple);
  margin: 40px 0 16px;
}

.faq-category:first-child {
  margin-top: 0;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 22px;
  font-weight: 600;
  color: var(--text-heading);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--accent-gold);
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding: 0 22px 20px;
  color: var(--text-muted);
  line-height: 1.7;
}

.help-card {
  margin-top: 56px;
  text-align: center;
  background: var(--accent-purple);
  color: #FFFFFF;
  border-radius: 24px;
  padding: 40px 24px;
}

.help-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.help-card p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.help-card .btn-primary {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #181311;
}

/* Events: staggered stack */
.event-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.event-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-left: 6px solid var(--accent-gold);
  border-radius: 24px;
  padding: 32px 30px;
  box-shadow: 0 14px 36px rgba(42, 36, 33, 0.08);
  width: 92%;
}

.event-card.event-offset {
  align-self: flex-end;
}

.event-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--text-heading);
  margin: 14px 0 8px;
}

.event-date {
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 10px;
}

.event-focus {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 128px 20px 40px;
  }

  .page-section {
    padding: 56px 20px;
  }

  .tilt-l,
  .tilt-r,
  .tilt-c {
    transform: none;
  }

  .event-card {
    width: 100%;
  }

  .btn-download {
    padding: 16px 24px;
    font-size: 1rem;
  }

  .download-card {
    padding: 36px 20px;
  }
}

/* 9. Compact balanced nav: equal columns flank the logo, links hug it */
.nav-wrapper {
  width: max-content;
  max-width: 96vw;
}

.nav-pill {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 1.5rem;
  width: auto;
  padding: 0 28px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-group {
  gap: 1.25rem;
  min-width: 0;
}

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-link,
.nav-link.active,
.nav-link.is-current {
  padding: 6px 10px;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .nav-wrapper { width: max-content; }
  .nav-pill { padding: 0 16px; column-gap: 1rem; }
  .nav-group { gap: 0.5rem; }
  .nav-link, .nav-link.active, .nav-link.is-current { padding: 5px 8px; }
}

@media (max-width: 768px) {
  .nav-pill { padding: 0 10px; column-gap: 0.5rem; }
  .nav-group { gap: 0.25rem; }
  .nav-link, .nav-link.active, .nav-link.is-current { padding: 4px 6px; font-size: 0.78rem; }
}

/* 10. Reduced motion: stop the marquee glide and smooth scrolling for users who ask for less motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .art-track {
    animation: none;
  }
}

/* 11. Phone hero headline: let the title row wrap and scale type with the viewport so it fits on-screen.
   Same wording, fonts, colors and order; desktop/tablet (>600px) untouched. */
@media (max-width: 600px) {
  .hero-headline-container {
    padding: 0 16px;
  }

  .hero-headline-container .title-row {
    flex-wrap: wrap;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
  }

  .hero-headline-container .script-title,
  .hero-headline-container .condensed-title {
    font-size: clamp(3.2rem, 16.5vw, 5.1rem);
  }

  .hero-headline-container .icons-col {
    height: clamp(4.5rem, 24vw, 6.5rem);
  }

  .hero-headline-container .icon-arrow {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }
}

/* 12. Contact actions, subscription, app cards, events placeholder */
.form-actions { display: flex; flex-direction: column; gap: 12px; }
.footer-touch { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 24px;
  border: 1px solid var(--accent-purple);
  border-radius: 9999px;
  color: var(--accent-purple);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  background: var(--accent-purple);
  color: #FFFFFF;
}

.price-tag {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 700;
  color: var(--accent-purple);
  margin: 8px 0 4px;
}

.price-note { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.download-card p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.65; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.app-grid .download-card {
  max-width: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-grid .download-card .btn-download { margin-top: auto; }
.app-logo { height: 56px; width: auto; margin-bottom: 20px; }
.app-grid .download-card h2 { margin-bottom: 12px; }

.coming-soon {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  color: var(--accent-purple);
  padding: 168px 24px 80px;
}

@media (max-width: 768px) {
  .app-grid { grid-template-columns: 1fr; }
}

.mixed-case { font-family: Georgia, 'Times New Roman', serif; }
.faq-item p a { color: var(--accent-purple); font-weight: 600; }

/* 12. Collapsible nav on narrow viewports: JS adds .nav-toggle and .js-nav; without JS the pill stays scrollable */
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .js-nav .nav-wrapper { width: min(94vw, 560px); }
  .js-nav .nav-pill {
    height: auto;
    min-height: 56px;
    overflow: visible;
    border-radius: 28px;
    grid-template-columns: 1fr auto;
    grid-template-areas: "logo toggle" "left left" "right right";
    padding: 8px 12px 8px 18px;
    column-gap: 0.75rem;
  }
  .js-nav .nav-logo { grid-area: logo; justify-self: start; }
  .js-nav .nav-toggle {
    grid-area: toggle;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--accent-purple);
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js-nav .nav-group { display: none; }
  .js-nav .nav-pill.is-open { max-height: calc(100dvh - 48px); overflow-y: auto; }
  .js-nav .nav-pill.is-open .nav-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 4px;
  }
  .js-nav .nav-pill.is-open .nav-left { grid-area: left; border-top: 1px solid var(--border-subtle); }
  .js-nav .nav-pill.is-open .nav-right { grid-area: right; padding-bottom: 6px; }
  .js-nav .nav-pill.is-open .nav-link {
    padding: 12px 8px;
    font-size: 1rem;
    border-radius: 12px;
    text-align: left;
  }
  .nav-toggle:focus-visible { outline: 2px solid var(--accent-purple); outline-offset: 2px; }
}

/* 13. Fluid hardening: grid/flex children may shrink, media never overflows, touch targets, safe areas */
.grid-two-col > *,
.inverted-grid > *,
.app-grid > *,
.footer-grid > *,
.feature-body { min-width: 0; }
img, video, svg { max-width: 100%; height: auto; }
h1, h2, h3, p, a, .feature-body { overflow-wrap: anywhere; }
.nav-link, .btn-download { overflow-wrap: normal; }
.footer-links a { display: inline-block; padding: 6px 0; }
@media (pointer: coarse) {
  input, select, textarea, button, .btn-download { min-height: 44px; }
  .footer-links a { padding: 10px 0; }
}
@media (max-width: 400px) {
  .page-hero, .page-section { padding-left: 16px; padding-right: 16px; }
  .download-card { padding: 28px 16px; }
  .btn-download { width: 100%; padding: 14px 16px; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .nav-wrapper { top: 8px; }
}
@supports (padding: max(0px)) {
  body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

/* Enquiry form: honeypot, status, fallback */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: 0.95rem; overflow-wrap: anywhere; }
.form-status.is-error { color: #B91C1C; }
.form-status.is-ok { color: #166534; }
.form-fallback { margin: 8px 0 0; font-size: 0.875rem; overflow-wrap: anywhere; }

/* Unicstal-1.jpg has a white ground: multiply blends it into light surfaces; footer gets a white chip */
.unicstal-brand-logo, .unicstal-badge-img, .app-logo { mix-blend-mode: multiply; }
.unicstal-brand-logo { height: 36px; }
.unicstal-badge-img { height: 28px; }
.footer-logo-img { height: 44px; background: #FFFFFF; padding: 6px 12px; border-radius: 8px; box-sizing: content-box; }
@media (max-width: 1024px) { .unicstal-brand-logo { height: 30px; } }
/* Opaque pill so the logo's multiply blend resolves to the pill colour, not a lighter box */
.nav-pill { background: #EEEBE2; }

/* 13. Events page (live list from Supply admin; replaces the old placeholder) */
.events-page { max-width: 1000px; margin: 0 auto; padding: 160px 24px 80px; }
.events-eyebrow { color: var(--accent-gold); font: 600 .8rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
.events-title { font-family: var(--font-serif); color: var(--accent-purple); font-size: clamp(2rem, 5vw, 2.8rem); margin: 6px 0 20px; }
.events-intro { color: var(--text-muted); max-width: 60ch; margin-bottom: 24px; }
.events-tabs { display: inline-flex; gap: 4px; background: rgba(59, 35, 70, .06); padding: 4px; border-radius: 999px; margin-bottom: 20px; }
.events-tab { border: 0; background: none; padding: 8px 18px; border-radius: 999px; font: 600 .9rem var(--font-sans); color: var(--text-muted); cursor: pointer; }
.events-tab[aria-pressed="true"] { background: #fff; color: var(--accent-purple); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.events-tab:focus-visible, .event-btn:focus-visible, .event-link:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 2px; }
.events-list { display: grid; gap: 16px; }
.event-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; background: #fffdf8; border: 1px solid var(--border-subtle); border-radius: 16px; padding: 18px; box-shadow: 0 6px 18px rgba(34, 27, 25, .05); }
.event-card .event-img { grid-column: 1 / -1; width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; }
.event-date { min-width: 74px; text-align: center; background: var(--accent-purple); color: #fff; border-radius: 12px; padding: 10px 8px; align-self: start; }
.event-day { display: block; font: 700 1.8rem/1 var(--font-serif); }
.event-month { display: block; font: 600 .75rem var(--font-sans); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }
.event-body { min-width: 0; }
.event-status { display: inline-block; font: 700 .7rem var(--font-sans); letter-spacing: .08em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(59, 35, 70, .08); color: var(--accent-purple); }
.event-status.is-now { background: #e3f3ea; color: #1e6b45; } .event-status.is-cancelled { background: #fbe7e7; color: #8a1c1c; } .event-status.is-past { background: #eee; color: #555; }
.is-cancelled-card .event-name { text-decoration: line-through; }
.event-name { font-family: Georgia, 'Times New Roman', serif; color: var(--text-heading); font-size: 1.3rem; margin: 8px 0 4px; overflow-wrap: anywhere; }
.event-when, .event-where { color: var(--text-muted); font-size: .95rem; margin: 2px 0; }
.event-desc { margin-top: 8px; white-space: pre-line; overflow-wrap: anywhere; }
.event-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.event-btn { display: inline-block; background: var(--accent-purple); color: #fff; border: 0; border-radius: 999px; padding: 9px 18px; font: 600 .9rem var(--font-sans); text-decoration: none; cursor: pointer; }
.event-btn:hover { background: var(--accent-purple-hover); }
.event-link { color: var(--accent-purple); font-weight: 600; }
.events-empty, .events-note { background: #fffdf8; border: 1px dashed var(--border-subtle); border-radius: 16px; padding: 24px; color: var(--text-muted); text-align: center; }
.events-subtitle { font-family: var(--font-serif); color: var(--accent-purple); font-size: 1.4rem; margin: 40px 0 14px; }
.events-more { margin-top: 32px; color: var(--text-muted); }
.events-more a { color: var(--accent-purple); font-weight: 600; }
@media (max-width: 560px) { .events-page { padding: 130px 16px 60px; } .event-card { grid-template-columns: 1fr; } .event-date { justify-self: start; } }
