:root {
  --bg-canvas: #f3f0fa;
  --bg-surface: rgba(255, 255, 255, 0.85);
  --bg-surface-elevated: rgba(255, 255, 255, 0.95);
  --bg-surface-hover: #ede8f7;
  --bg-band: #eae3f7;
  --text-primary: #334155;
  --text-heading: #1e1b2e;
  --text-muted: #5e6678;
  --accent-primary: #3b2354;
  --accent-secondary: #7e3a6a;
  --accent-glow: #a855f7;
  --border-subtle: rgba(147, 126, 178, 0.25);
  --border-strong: rgba(74, 52, 102, 0.4);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 30px -6px rgba(46, 26, 71, 0.12);
  --shadow-hover: 0 18px 36px -6px rgba(46, 26, 71, 0.2);
  --glass-backdrop: blur(14px);
  --radius-card: 20px;
  --radius-btn: 12px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-canvas);
  background-image: radial-gradient(rgba(126, 58, 106, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, .serif-font {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-kinetic);
}
a:hover {
  color: var(--accent-secondary);
}

.site-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.text-prose {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

/* Header & Brand (Far Left Brand, Static) */
.site-header {
  position: static;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.2rem 0;
  width: 100%;
}

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

.brand-wrapper {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-emblem {
  width: 38px;
  height: 38px;
  background: var(--accent-primary);
  color: #fff;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(59, 35, 84, 0.25);
}

.brand-name {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
  position: relative;
  transition: all 0.25s var(--ease-kinetic);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-secondary);
  transition: all 0.25s var(--ease-kinetic);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link.active {
  color: var(--accent-primary);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.8rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent-primary);
  border-radius: 8px;
  cursor: pointer;
}

/* Hero Section */
.hero-band {
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.tagline-badge {
  display: inline-block;
  background: #eedef5;
  color: var(--accent-primary);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(126, 58, 106, 0.2);
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(59, 35, 84, 0.25);
  transition: all 0.3s var(--ease-kinetic);
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-secondary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent-primary);
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  transition: all 0.25s var(--ease-kinetic);
}

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

.hero-media-card {
  background: var(--bg-surface);
  padding: 0.85rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-elevation);
  border: 1px solid var(--border-subtle);
  transform: rotate(1deg);
  transition: transform 0.4s var(--ease-kinetic);
}

.hero-media-card:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: calc(var(--radius-card) - 6px);
  display: block;
}

.hero-media-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.6rem 0.4rem 0.2rem;
  font-style: italic;
  text-align: center;
}

/* Alternating Content Bands */
.section-band {
  padding: 4.5rem 0;
}

.band-alt {
  background-color: var(--bg-band);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0.5rem auto 0;
}

/* Cards & Layout Modules */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

.glass-card {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-elevation);
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-kinetic);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  background: var(--bg-surface-elevated);
  border-color: rgba(126, 58, 106, 0.3);
}

.card-img-wrap {
  margin: -2rem -2rem 1.5rem -2rem;
  height: 220px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-kinetic);
}

.glass-card:hover .card-img {
  transform: scale(1.04);
}

.card-meta-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  background: #f7eaf4;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Interactive Activity Generator Tool */
.tool-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevation);
  margin: 2rem 0;
}

.tool-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.control-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
}

.control-group select,
.control-group input,
.control-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text-primary);
  font-family: inherit;
}

.control-group select:focus,
.control-group input:focus,
.control-group textarea:focus {
  outline: 2px solid var(--accent-primary);
}

.tool-output {
  background: #f8f6fc;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-copy {
  background: #ede3f5;
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* Accordion FAQ */
.accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(46, 26, 71, 0.05);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: transparent;
  border: none;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent-secondary);
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-header::after {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  display: none;
}

.accordion-item.open .accordion-body {
  display: block;
}

/* Timeline & Planner */
.timeline-list {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
  border-left: 3px solid rgba(126, 58, 106, 0.3);
}

.timeline-node {
  position: relative;
  margin-bottom: 2.2rem;
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 0.35rem;
  width: 15px;
  height: 15px;
  background: var(--accent-secondary);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(126, 58, 106, 0.2);
}

.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: 2rem 0;
  background: var(--bg-surface);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevation);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

th, td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: #ede8f7;
  font-family: Georgia, serif;
  color: var(--text-heading);
  font-size: 0.95rem;
  font-weight: 700;
}

tr:last-child td {
  border-bottom: none;
}

/* Contact Module */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

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

/* Footer (Broad navy/violet-bordered footer) */
.site-footer {
  margin-top: auto;
  background: #231633;
  color: #dfd7eb;
  padding: 4rem 0 2.5rem;
  border-top: 4px solid var(--accent-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  text-align: left;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.footer-brand p {
  color: #bbb0cc;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-col h5 {
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

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

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  color: #9f94b3;
  gap: 1rem;
}

.footer-bottom a {
  color: #d1c8e0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-kinetic), transform 0.65s var(--ease-kinetic);
}

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

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid var(--accent-secondary);
    z-index: 1000;
  }
  .main-nav.active {
    display: flex;
  }
  .header-inner {
    position: relative;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
