/* ==========================================================================
   It's All About Bricks — Design System & Stylesheet
   Stepney, Adelaide, South Australia
   Brand Tokens: #ffa000 | #b1d803 | #742bd1 | #ffc300 | #f6eaff | #23003f
   Typography: Nunito (H1-H3) & Poppins (H4-H6, Body)
   ========================================================================== */

:root {
  /* Brand Palette */
  --orange: #ffa000;
  --orange-hover: #ffae24;
  --orange-deep: #cc7a00;
  --lime: #b1d803;
  --lime-hover: #c3eb0a;
  --lime-deep: #85a400;
  --purple: #742bd1;
  --purple-hover: #863de4;
  --purple-deep: #541aa0;
  --yellow: #ffc300;
  --yellow-deep: #d49f00;
  --offwhite: #f6eaff;
  --offwhite-alt: #efe0ff;
  --surface: #ffffff;
  --deep-purple: #23003f;
  --deep-purple-2: #2f0852;
  --deep-purple-3: #3c1264;
  --deep-purple-border: rgba(246, 234, 255, 0.14);

  /* Ink & Copy */
  --ink-heading: #23003f;
  --ink-body: #706875;
  --ink-body-strong: #4e4554;
  --ink-on-dark: #ffffff;
  --ink-on-dark-muted: #e6d7f7;
  --ink-on-dark-subtle: #c8b2e3;

  /* Typography */
  --font-display: 'Nunito', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-card: 0 12px 32px rgba(35, 0, 63, 0.08), 0 2px 6px rgba(35, 0, 63, 0.04);
  --shadow-card-hover: 0 20px 44px rgba(35, 0, 63, 0.14), 0 4px 12px rgba(116, 43, 209, 0.1);
  --shadow-dark-card: 0 18px 42px rgba(10, 0, 22, 0.36);

  /* Layout */
  --container-max: 1220px;
  --header-height: 82px;
  --section-pad-y: clamp(4rem, 7vw, 6.25rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-body);
  background-color: var(--offwhite);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

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

a {
  color: var(--purple);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s var(--ease-out);
}

a:hover {
  color: var(--orange-deep);
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Typography Hierarchy */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--ink-heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.04;
}

h2 {
  font-size: clamp(1.95rem, 3.6vw, 3.05rem);
  line-height: 1.09;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}

h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink-heading);
  line-height: 1.35;
  margin: 0 0 0.5em;
}

h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.68;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 2000;
  background: var(--orange);
  color: var(--deep-purple);
  font-family: var(--font-display);
  font-weight: 900;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.skip-link:focus {
  top: 16px;
}

/* Layout Utilities */
.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2.5rem, 900px);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-pad-y);
}

.section-light {
  background-color: var(--offwhite);
  color: var(--ink-body);
}

.section-white {
  background-color: var(--surface);
  color: var(--ink-body);
}

.section-dark {
  background-color: var(--deep-purple);
  color: var(--ink-on-dark-muted);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark strong {
  color: var(--ink-on-dark);
}

.section-purple {
  background: linear-gradient(135deg, #5d1db3 0%, var(--purple) 52%, #863ae6 100%);
  color: var(--ink-on-dark);
}

.section-purple h1,
.section-purple h2,
.section-purple h3,
.section-purple h4 {
  color: var(--ink-on-dark);
}

/* Subtle Brick Stud Pattern Background */
.stud-pattern-dark {
  background-image: radial-gradient(rgba(246, 234, 255, 0.085) 2.5px, transparent 2.5px);
  background-size: 28px 28px;
}

.stud-pattern-light {
  background-image: radial-gradient(rgba(116, 43, 209, 0.075) 2px, transparent 2px);
  background-size: 26px 26px;
}

/* Eyebrow / Kicker Pills */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.eyebrow-purple {
  background: rgba(116, 43, 209, 0.12);
  color: var(--purple);
}

.eyebrow-orange {
  background: rgba(255, 160, 0, 0.18);
  color: #a85e00;
}

.eyebrow-lime {
  background: rgba(177, 216, 3, 0.22);
  color: #4b5e00;
}

.eyebrow-dark-lime {
  background: rgba(177, 216, 3, 0.16);
  color: var(--lime);
  border: 1px solid rgba(177, 216, 3, 0.32);
}

.eyebrow-dark-yellow {
  background: rgba(255, 195, 0, 0.16);
  color: var(--yellow);
  border: 1px solid rgba(255, 195, 0, 0.34);
}

.eyebrow-dark-orange {
  background: rgba(255, 160, 0, 0.18);
  color: #ffbe4d;
  border: 1px solid rgba(255, 160, 0, 0.36);
}

/* Brand Swoosh & Spark Rays (from Brand Guidelines PDF) */
.swoosh-word {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.swoosh-word svg.swoosh-underline {
  position: absolute;
  left: -3%;
  bottom: -0.18em;
  width: 106%;
  height: 0.28em;
  pointer-events: none;
}

.rays-accent {
  display: inline-block;
  width: 28px;
  height: 28px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Section Headers */
.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.section-header-center {
  text-align: center;
  margin-inline: auto;
}

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section-header-row > div:first-child {
  max-width: 650px;
}

/* Buttons (Tactile Brick-Inspired CTAs) */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.9rem 1.7rem;
  border-radius: 16px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(2px);
}

.btn-primary {
  background-color: var(--orange);
  color: var(--deep-purple);
  box-shadow: 0 5px 0 var(--orange-deep), 0 10px 22px rgba(255, 160, 0, 0.28);
}

.btn-primary:hover {
  background-color: var(--orange-hover);
  color: var(--deep-purple);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--orange-deep), 0 14px 26px rgba(255, 160, 0, 0.36);
}

.btn-lime {
  background-color: var(--lime);
  color: var(--deep-purple);
  box-shadow: 0 5px 0 var(--lime-deep), 0 10px 22px rgba(177, 216, 3, 0.24);
}

.btn-lime:hover {
  background-color: var(--lime-hover);
  color: var(--deep-purple);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--lime-deep), 0 14px 26px rgba(177, 216, 3, 0.32);
}

.btn-purple {
  background-color: var(--purple);
  color: #ffffff;
  box-shadow: 0 5px 0 var(--purple-deep), 0 10px 22px rgba(116, 43, 209, 0.28);
}

.btn-purple:hover {
  background-color: var(--purple-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--purple-deep), 0 14px 26px rgba(116, 43, 209, 0.36);
}

.btn-dark {
  background-color: var(--deep-purple);
  color: #ffffff;
  box-shadow: 0 5px 0 #120021, 0 10px 22px rgba(35, 0, 63, 0.25);
}

.btn-dark:hover {
  background-color: var(--deep-purple-2);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-light {
  background: rgba(246, 234, 255, 0.08);
  color: #ffffff;
  border-color: rgba(246, 234, 255, 0.42);
}

.btn-outline-light:hover {
  background: rgba(246, 234, 255, 0.16);
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--deep-purple);
  border-color: var(--deep-purple);
}

.btn-outline-dark:hover {
  background: var(--deep-purple);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 13px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(35, 0, 63, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--purple);
  box-shadow: 0 6px 24px rgba(18, 0, 34, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-link img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
  transition: transform 0.25s var(--ease-out);
}

.brand-link:hover img {
  transform: scale(1.04) rotate(-1.5deg);
}

.brand-wordmark {
  display: none;
  flex-direction: column;
  line-height: 1.05;
}

.brand-wordmark span:first-child {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: #ffffff;
}

.brand-wordmark span:last-child {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (min-width: 1120px) {
  .brand-wordmark {
    display: flex;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-desktop a {
  position: relative;
  padding: 10px 15px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-on-dark-muted);
  text-decoration: none;
}

.nav-desktop a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-desktop a.active,
.nav-desktop a[aria-current="page"] {
  color: var(--yellow);
  background: rgba(116, 43, 209, 0.36);
}

.nav-desktop a.active::after,
.nav-desktop a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 2px solid rgba(246, 234, 255, 0.24);
  background: var(--deep-purple-2);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  background: var(--purple);
  border-color: var(--lime);
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  background: var(--deep-purple-2);
  border-top: 1px solid var(--deep-purple-border);
  padding: 1.25rem 0 1.75rem;
}

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

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active,
.mobile-nav-links a[aria-current="page"] {
  background: var(--purple);
  color: var(--yellow);
}

.mobile-nav-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--deep-purple-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink-on-dark-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   HOMEPAGE HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(116, 43, 209, 0.42) 0%, transparent 45%),
    radial-gradient(circle at 86% 78%, rgba(255, 160, 0, 0.18) 0%, transparent 42%),
    var(--deep-purple);
  padding-block: clamp(2.25rem, 4.2vw, 3.75rem) clamp(3rem, 5.5vw, 4.75rem);
  color: var(--ink-on-dark-muted);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246, 234, 255, 0.075) 2.5px, transparent 2.5px);
  background-size: 30px 30px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }
}

.hero-brand-lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-bottom: 1.05rem;
}

.hero-logo-img {
  width: clamp(180px, 23vw, 248px);
  height: auto;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.45));
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(177, 216, 3, 0.16);
  color: var(--lime);
  border: 1px solid rgba(177, 216, 3, 0.38);
  width: fit-content;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(177, 216, 3, 0.25);
}

.status-pill.is-closed {
  background: rgba(255, 195, 0, 0.14);
  color: var(--yellow);
  border-color: rgba(255, 195, 0, 0.34);
}

.status-pill.is-closed .status-dot {
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.22);
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-on-dark-muted);
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero h1 .accent-orange {
  color: var(--orange);
}

.hero h1 .accent-lime {
  color: var(--lime);
}

.hero-copy {
  font-size: clamp(1.04rem, 1.4vw, 1.18rem);
  line-height: 1.72;
  color: var(--ink-on-dark-muted);
  max-width: 58ch;
  margin-bottom: 1.9rem;
}

.hero-quick-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--yellow);
  text-decoration: none;
}

.hero-quick-link:hover {
  color: var(--lime);
  transform: translateX(3px);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-art-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid rgba(255, 160, 0, 0.45);
  background: var(--deep-purple-2);
  box-shadow: 0 26px 60px rgba(8, 0, 18, 0.55);
}

.hero-art-frame img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.hero-stat-pill {
  background: var(--deep-purple-2);
  border: 1px solid rgba(246, 234, 255, 0.16);
  border-radius: 18px;
  padding: 14px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-stat-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.hero-stat-pill.stat-orange::before { background: var(--orange); }
.hero-stat-pill.stat-lime::before { background: var(--lime); }
.hero-stat-pill.stat-yellow::before { background: var(--yellow); }

.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.1;
  color: #ffffff;
}

.hero-stat-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-on-dark-subtle);
  margin-top: 3px;
}

/* ==========================================================================
   BRAND RIBBON / TICKER STRIP
   ========================================================================== */
.brand-ribbon {
  background: var(--purple);
  border-top: 3px solid rgba(255, 255, 255, 0.12);
  border-bottom: 5px solid var(--purple-deep);
  padding-block: 16px;
  overflow: hidden;
}

.brand-ribbon-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.brand-ribbon-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ribbon-star {
  color: var(--yellow);
  font-size: 0.9rem;
}

/* ==========================================================================
   TACTILE BRICK CARDS & PRODUCT SHOWCASE
   ========================================================================== */
.sealed-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 2px solid rgba(116, 43, 209, 0.22);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: var(--shadow-card);
  font-size: 0.92rem;
  color: var(--ink-heading);
}

.sealed-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--lime);
  color: var(--deep-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 28px;
}

.brick-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.brick-studs {
  display: flex;
  gap: 14px;
  padding-left: 26px;
  height: 11px;
  align-items: flex-end;
}

.brick-studs span {
  width: 34px;
  height: 11px;
  border-radius: 7px 7px 0 0;
  background: var(--card-accent, var(--purple));
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.32);
}

.brick-card {
  flex: 1;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border-top: 6px solid var(--card-accent, var(--purple));
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.brick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.brick-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--card-accent, var(--purple));
  color: var(--card-icon-ink, #ffffff);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.16);
}

.brick-card-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--purple);
}

.brick-card h3 {
  margin-bottom: 0;
  font-size: 1.42rem;
}

.brick-card p {
  font-size: 0.96rem;
  line-height: 1.65;
}

.brick-card-tag {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-heading);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.accent-purple { --card-accent: var(--purple); --card-icon-ink: #ffffff; }
.accent-lime   { --card-accent: var(--lime);   --card-icon-ink: var(--deep-purple); }
.accent-orange { --card-accent: var(--orange); --card-icon-ink: var(--deep-purple); }
.accent-yellow { --card-accent: var(--yellow); --card-icon-ink: var(--deep-purple); }

/* ==========================================================================
   MINIFIG EXPERIENCE SPOTLIGHT (Homepage & About)
   ========================================================================== */
.minifig-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(116, 43, 209, 0.45) 0%, transparent 45%),
    radial-gradient(circle at 12% 85%, rgba(177, 216, 3, 0.14) 0%, transparent 40%),
    var(--deep-purple);
  color: var(--ink-on-dark-muted);
  overflow: hidden;
}

.minifig-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .minifig-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.minifig-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid rgba(177, 216, 3, 0.45);
  box-shadow: var(--shadow-dark-card);
  background: var(--deep-purple-2);
}

.minifig-visual-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.minifig-visual-caption {
  padding: 16px 22px;
  background: rgba(35, 0, 63, 0.92);
  border-top: 1px solid var(--deep-purple-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-on-dark-muted);
}

.minifig-feature-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.minifig-card {
  background: var(--deep-purple-2);
  border: 2px solid rgba(246, 234, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-out);
}

.minifig-card:hover {
  transform: translateY(-4px);
}

.minifig-card-wall {
  border-left: 7px solid var(--orange);
}

.minifig-card-byo {
  border-left: 7px solid var(--lime);
}

.minifig-metric {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.metric-orange {
  background: var(--orange);
  color: var(--deep-purple);
}

.metric-lime {
  background: var(--lime);
  color: var(--deep-purple);
}

.minifig-card h3 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  margin-bottom: 0.55rem;
}

.minifig-card p {
  color: var(--ink-on-dark-muted);
  margin-bottom: 0.8rem;
}

.minifig-bullets {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.minifig-bullets li {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 10px;
  background: rgba(246, 234, 255, 0.09);
  color: #ffffff;
}

/* ==========================================================================
   FOUNDER PREVIEW & ABOUT STORY
   ========================================================================== */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .founder-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }
}

.founder-photo-frame {
  position: relative;
  max-width: 440px;
  margin-inline: auto;
}

.founder-photo-frame::before {
  content: '';
  position: absolute;
  inset: 14px -14px -14px 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 100%);
  z-index: 0;
}

.founder-photo-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-card-hover);
}

.founder-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: var(--deep-purple);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 16px;
  border: 2px solid var(--lime);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.founder-photo-badge strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--yellow);
}

.founder-photo-badge span {
  font-size: 0.78rem;
  color: var(--ink-on-dark-muted);
}

.quote-callout {
  background: var(--deep-purple);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  border-left: 7px solid var(--lime);
  margin: 1.6rem 0;
  box-shadow: var(--shadow-card);
}

.quote-callout blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.25;
  color: #ffffff;
}

.quote-callout blockquote span {
  color: var(--yellow);
}

/* Motto Full-Width Banner */
.motto-band {
  background: linear-gradient(125deg, var(--deep-purple) 0%, #3a0d69 55%, var(--purple) 100%);
  padding-block: clamp(3.5rem, 6vw, 5.2rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.motto-band h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  margin-bottom: 0.5rem;
}

.motto-band h2 span {
  color: var(--yellow);
}

.motto-tagline {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   GALLERY GRID, FILTERS & PHOTOGRAPHY PLACEHOLDERS
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

.filter-pill {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(116, 43, 209, 0.22);
  background: var(--surface);
  color: var(--ink-heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.filter-pill:hover {
  border-color: var(--purple);
  background: var(--offwhite-alt);
}

.filter-pill.is-active {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(116, 43, 209, 0.28);
}

/* Homepage Gallery Bento Preview */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 760px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .gp-span-7 { grid-column: span 7; }
  .gp-span-5 { grid-column: span 5; }
  .gp-span-4 { grid-column: span 4; }
}

/* Full Gallery Masonry-Style Grid */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  grid-auto-flow: dense;
  gap: 22px;
}

@media (min-width: 960px) {
  .gallery-item.is-wide {
    grid-column: span 2;
  }
}

.gallery-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(116, 43, 209, 0.12);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  width: 100%;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s ease;
}

.gallery-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--purple);
}

.gallery-tile-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--deep-purple);
}

.gallery-tile.is-wide .gallery-tile-media {
  aspect-ratio: 16 / 9;
}

.gallery-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.gallery-tile:hover .gallery-tile-media img {
  transform: scale(1.04);
}

.gallery-tile-media.is-logo img {
  object-fit: contain;
  padding: 26px;
  background: radial-gradient(circle, #390e68 0%, var(--deep-purple) 100%);
}

.gallery-tile-media.is-portrait img {
  object-position: center top;
}

/* Clearly Identifiable Store Photo Placeholder */
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  background:
    radial-gradient(rgba(116, 43, 209, 0.09) 2px, transparent 2px),
    linear-gradient(145deg, #f9f2ff 0%, #ede0ff 100%);
  background-size: 20px 20px, 100% 100%;
  border: 2.5px dashed rgba(116, 43, 209, 0.36);
  border-radius: calc(var(--radius-lg) - 4px);
}

.photo-placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--deep-purple);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.photo-placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--surface);
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(35, 0, 63, 0.09);
}

.photo-placeholder-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--deep-purple);
  margin: 0;
}

.photo-placeholder-hint {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-body);
  max-width: 30ch;
  margin: 0;
}

.photo-placeholder-slot {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  color: var(--purple);
  background: rgba(116, 43, 209, 0.08);
  padding: 3px 10px;
  border-radius: 8px;
}

.gallery-tile-caption {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
}

.gallery-tile-caption h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--deep-purple);
}

.gallery-cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--offwhite);
  color: var(--purple);
  white-space: nowrap;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(16, 0, 30, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  position: relative;
  width: min(100%, 920px);
  background: #240042;
  border: 2px solid rgba(246, 234, 255, 0.24);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.78);
}

.lightbox-stage {
  background: #140025;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  max-height: 68vh;
  padding: 20px;
}

.lightbox-stage img {
  max-height: 64vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox-stage .photo-placeholder {
  min-height: 340px;
  max-width: 640px;
  background: #f6eaff;
}

.lightbox-info {
  padding: 20px 26px;
  background: #240042;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-on-dark-muted);
}

.lightbox-info h3 {
  color: #ffffff;
  margin: 0 0 4px;
  font-size: 1.35rem;
}

.lightbox-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(246, 234, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--deep-purple);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
}

/* ==========================================================================
   EVENTS CARDS & SAMPLE SCHEDULE
   ========================================================================== */
.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 2px solid rgba(255, 160, 0, 0.45);
  box-shadow: var(--shadow-card);
  margin-bottom: 2rem;
  font-size: 0.94rem;
}

.notice-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 160, 0, 0.18);
  color: #a85e00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(116, 43, 209, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

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

.event-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--offwhite);
  overflow: hidden;
}

.event-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-sample-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--deep-purple);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--purple);
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0;
}

.event-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(116, 43, 209, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* ==========================================================================
   GOOGLE REVIEWS FUTURE-READY SECTION
   ========================================================================== */
.reviews-shell {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 2px dashed rgba(116, 43, 209, 0.28);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.reviews-stars-empty {
  display: inline-flex;
  gap: 6px;
  color: var(--yellow);
  margin-bottom: 12px;
}

.reviews-placeholder-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin: 2rem 0;
  text-align: left;
}

.review-slot-card {
  background: var(--offwhite);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1.5px dashed rgba(116, 43, 209, 0.25);
}

.review-slot-card h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--purple);
  margin-bottom: 6px;
}

.review-slot-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ==========================================================================
   VISIT US / OPENING HOURS / GOOGLE MAPS
   ========================================================================== */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 920px) {
  .visit-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.hours-card {
  background: var(--deep-purple);
  color: var(--ink-on-dark-muted);
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-dark-card);
  border: 2px solid rgba(116, 43, 209, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hours-card h3 {
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.hours-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.hours-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(246, 234, 255, 0.12);
  border-radius: 10px;
  font-size: 0.98rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li.is-today {
  background: rgba(116, 43, 209, 0.38);
  border-bottom-color: transparent;
}

.hours-day {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 600;
  color: #ffffff;
}

.late-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: var(--deep-purple);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.today-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--deep-purple);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hours-time {
  font-weight: 500;
  color: var(--ink-on-dark-muted);
  white-space: nowrap;
}

.map-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(116, 43, 209, 0.16);
  display: flex;
  flex-direction: column;
}

.map-embed-wrap {
  position: relative;
  width: 100%;
  min-height: 300px;
  flex: 1;
  background: var(--offwhite-alt);
}

.map-embed-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  display: block;
}

.map-card-footer {
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.address-block strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--deep-purple);
}

/* ==========================================================================
   NEWSLETTER SIGN-UP BAND
   ========================================================================== */
.newsletter-band {
  background: linear-gradient(125deg, var(--orange) 0%, #ffb11a 60%, var(--yellow) 100%);
  color: var(--deep-purple);
  padding-block: clamp(3rem, 5.5vw, 4.5rem);
  border-top: 4px solid rgba(255, 255, 255, 0.35);
  border-bottom: 6px solid var(--orange-deep);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .newsletter-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.newsletter-grid > * {
  min-width: 0;
}

.newsletter-band h2 {
  color: var(--deep-purple);
  margin-bottom: 0.45rem;
}

.newsletter-band p {
  color: #361452;
  font-weight: 500;
}

.newsletter-form-box {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  padding: clamp(16px, 3vw, 22px);
  border-radius: var(--radius-lg);
  border: 2px solid rgba(35, 0, 63, 0.14);
  box-shadow: 0 14px 32px rgba(35, 0, 63, 0.14);
}

.newsletter-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

@media (min-width: 560px) {
  .newsletter-row {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
  }
}

.newsletter-input {
  flex: 1 1 0%;
  min-width: 0;
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 2px solid rgba(35, 0, 63, 0.25);
  background: #ffffff;
  color: var(--deep-purple);
  font-size: 0.96rem;
}

.newsletter-row .btn {
  flex-shrink: 0;
}

.newsletter-input::placeholder {
  color: #7e708a;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(116, 43, 209, 0.2);
}

.integration-note {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #4b3161;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-feedback {
  margin-top: 12px;
  padding: 12px 15px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-info {
  background: #efe3ff;
  color: var(--deep-purple);
  border: 1.5px solid var(--purple);
}

.form-feedback.is-success {
  background: #ecf9c2;
  color: #253600;
  border: 1.5px solid var(--lime-deep);
}

.form-feedback.is-error {
  background: #ffe7e7;
  color: #7d1122;
  border: 1.5px solid #d1364c;
}

/* ==========================================================================
   PAGE HERO (Inner Pages: About, Gallery, Events, Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 24%, rgba(116, 43, 209, 0.45) 0%, transparent 45%),
    var(--deep-purple);
  padding-block: clamp(3rem, 6vw, 4.75rem);
  color: var(--ink-on-dark-muted);
  overflow: hidden;
  border-bottom: 5px solid var(--purple);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(246, 234, 255, 0.08) 2.5px, transparent 2.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #ffffff;
  max-width: 18ch;
  margin-bottom: 0.65rem;
}

.page-hero p.lead {
  color: var(--ink-on-dark-muted);
  max-width: 62ch;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-on-dark-subtle);
}

.breadcrumb a {
  color: var(--lime);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   CONTACT FORM & INFO CARDS
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}

.contact-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(116, 43, 209, 0.14);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 1.5rem 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--offwhite);
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--deep-purple);
  font-size: 1rem;
}

.placeholder-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 160, 0, 0.18);
  color: #9e5800;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--deep-purple);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 2px solid rgba(35, 0, 63, 0.18);
  background: var(--offwhite);
  color: var(--deep-purple);
  font-size: 0.95rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(116, 43, 209, 0.16);
}

.field textarea {
  min-height: 135px;
  resize: vertical;
}

/* Social Pills */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--deep-purple-2);
  color: #ffffff;
  border: 1px solid rgba(246, 234, 255, 0.18);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.social-pill:hover {
  background: var(--purple);
  color: var(--yellow);
  transform: translateY(-2px);
}

.social-pill-light {
  background: var(--offwhite);
  color: var(--deep-purple);
  border-color: rgba(116, 43, 209, 0.22);
}

.social-pill-light:hover {
  background: var(--purple);
  color: #ffffff;
}

/* ==========================================================================
   ABOUT STORY PROSE
   ========================================================================== */
.story-prose p {
  font-size: 1.04rem;
  line-height: 1.8;
  margin-bottom: 1.15rem;
}

.story-highlight {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.25;
  color: var(--purple);
  margin: 1.5rem 0;
  padding-left: 18px;
  border-left: 5px solid var(--orange);
}

.founder-signoff {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 2px solid rgba(116, 43, 209, 0.15);
}

.founder-signoff .sig-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--orange-deep);
  line-height: 1.1;
}

.founder-signoff .sig-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-body-strong);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--deep-purple);
  color: var(--ink-on-dark-muted);
  border-top: 5px solid var(--purple);
  padding-top: clamp(3.5rem, 6vw, 4.75rem);
  padding-bottom: 2.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid var(--deep-purple-border);
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .footer-grid {
    grid-template-columns: 1.25fr 0.75fr 1fr 1.15fr;
  }
}

.footer-logo {
  width: 175px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.65rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--ink-on-dark-muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-hours {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.footer-hours strong {
  color: #ffffff;
  font-weight: 600;
}

.footer-newsletter-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 0.75rem;
}

.footer-newsletter-row input {
  padding: 11px 14px;
  border-radius: 12px;
  border: 2px solid rgba(246, 234, 255, 0.22);
  background: var(--deep-purple-2);
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-newsletter-row input::placeholder {
  color: var(--ink-on-dark-subtle);
}

.footer-newsletter-row input:focus {
  outline: none;
  border-color: var(--orange);
}

.footer-integration-hint {
  font-size: 0.76rem;
  color: var(--ink-on-dark-subtle);
  margin-top: 8px;
  line-height: 1.45;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-copy-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  font-size: 0.86rem;
  color: var(--ink-on-dark-subtle);
}

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ink-on-dark-subtle);
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(246, 234, 255, 0.08);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION (Subtle & Accessible)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn, .brick-card, .gallery-tile, .event-card, .minifig-card {
    transition: none;
  }
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
