:root {
  --pulse: #604187;
  --pulse-hover: #7852a9;
  --pulse-deep: #483065;
  --pulse-soft: #dbb2d3;
  --pulse-mist: #c1a0cb;
  --pulse-blush: #efbad6;
  --ink: #1c1528;
  --muted: #5c5268;
  --paper: #f7f3f9;
  --white: #ffffff;
  --footer: #1a1324;
  --radius: 4px;
  --max: 1120px;
  --font-display: "Open Sans", Arial, sans-serif;
  --font-body: "Open Sans", Arial, sans-serif;
  --font-accent: "Shadows Into Light", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(219, 178, 211, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(96, 65, 135, 0.08), transparent 50%),
    var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--pulse);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--pulse-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 249, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(96, 65, 135, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
}

.brand img {
  height: 56px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pulse);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
}

.nav a:hover,
.nav a.active {
  color: var(--pulse);
  background: rgba(96, 65, 135, 0.08);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--pulse);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

.social-row {
  display: flex;
  gap: 0.5rem;
}

.social-row a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(96, 65, 135, 0.1);
  color: var(--pulse);
  font-size: 0.85rem;
}

.social-row a:hover {
  background: var(--pulse);
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--pulse);
  border-color: var(--pulse) var(--pulse) var(--pulse-deep);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--pulse-hover);
  border-color: var(--pulse-hover) var(--pulse-hover) var(--pulse);
  color: var(--white);
}

.btn-lg {
  padding: 1.05rem 1.9rem;
  font-size: 1.05rem;
}

.btn-light {
  background: var(--white);
  color: var(--pulse);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--pulse-soft);
  color: var(--pulse-deep);
}

/* Hero carousel — match native slide ratio (1920×560) so images stay sharp */
.hero {
  position: relative;
  width: 100%;
  height: clamp(260px, 29.2vw, 560px);
  overflow: hidden;
  background: #171717;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(28, 21, 40, 0.55) 0%, rgba(28, 21, 40, 0.2) 50%, transparent 75%),
    linear-gradient(180deg, transparent 45%, rgba(28, 21, 40, 0.5) 100%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 0 3rem;
  color: var(--white);
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.35em;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s ease both;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  font-weight: 400;
  max-width: 28ch;
  margin: 0 0 1.4rem;
  color: rgba(255, 255, 255, 0.92);
  animation: rise 0.9s ease 0.12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rise 0.9s ease 0.22s both;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dots button.is-active {
  background: var(--pulse-soft);
  transform: scale(1.25);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Intro band */
.intro-band {
  background: linear-gradient(135deg, var(--pulse) 0%, var(--pulse-deep) 100%);
  color: var(--white);
  padding: 1.75rem 0;
}

.intro-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.intro-band p {
  margin: 0;
  font-size: 1.05rem;
}

.intro-band em {
  font-family: var(--font-accent);
  font-style: normal;
  font-size: 1.35em;
  color: var(--pulse-blush);
}

.intro-band span {
  display: block;
  opacity: 0.9;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pulse);
  margin-bottom: 0.75rem;
}

/* Franchise form */
.franchise {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}

.franchise-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.franchise-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.form-panel {
  background: var(--white);
  border: 1px solid rgba(96, 65, 135, 0.12);
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(72, 48, 101, 0.08);
}

.form-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.form-panel > p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.field input,
.field textarea {
  border: 1px solid rgba(96, 65, 135, 0.22);
  border-radius: var(--radius);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pulse);
  box-shadow: 0 0 0 3px rgba(96, 65, 135, 0.15);
}

.form-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.alert {
  display: none;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.alert.show {
  display: block;
}

.alert-success {
  background: #e8f7ef;
  color: #1f6b3f;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
  padding: 1rem 0 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--pulse);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat span {
  color: var(--muted);
  font-weight: 500;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(135deg, rgba(96, 65, 135, 0.12), rgba(219, 178, 211, 0.2)),
    var(--paper);
  border-bottom: 1px solid rgba(96, 65, 135, 0.1);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--pulse);
  margin: 0;
}

.crumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.crumbs a {
  color: var(--muted);
}

.crumbs .current {
  color: var(--pulse);
  font-weight: 600;
}

/* Content layout */
.prose {
  max-width: 48rem;
}

.prose .lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

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

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--pulse);
  box-shadow: 0 0 0 3px rgba(96, 65, 135, 0.18);
}

.kiosk-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.kiosk-media figure {
  margin: 0;
  background: #f0eaf5;
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.kiosk-media img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--pulse), var(--pulse-soft));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.28rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--pulse);
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--pulse);
}

.timeline-item time {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pulse);
  margin-bottom: 0.5rem;
}

.timeline-item figure {
  margin: 0;
  background: var(--white);
  border: 1px solid rgba(96, 65, 135, 0.1);
  overflow: hidden;
}

.timeline-item img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: #f3eef7;
}

.timeline-item figcaption {
  padding: 0.9rem 1rem;
}

.timeline-item figcaption strong {
  display: block;
  color: var(--ink);
}

.timeline-item figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-block {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.quote-block blockquote {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}

.quote-block cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.95rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.gallery-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: #efe8f4;
  aspect-ratio: 4 / 3;
  padding: 0.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.03);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.info-list li {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.info-list strong {
  color: var(--ink);
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.82);
  padding: 3.5rem 0 0;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--pulse-soft);
}

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

.footer-ribbon {
  display: inline-block;
  background: var(--pulse);
  color: var(--white);
  padding: 0.35rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}

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

.footer-bottom img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 14, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(96, 65, 135, 0.12);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .header-social {
    display: none;
  }

  .franchise,
  .feature-row,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .kiosk-media {
    grid-template-columns: 1fr 1fr;
  }

  .kiosk-media figure {
    min-height: 280px;
  }

  .kiosk-media img {
    max-height: 280px;
  }

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

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

  .hero-content {
    padding: 3rem 0 4rem;
  }
}

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

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