@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@400;700;900&display=swap');

:root {
  --motion-bg: #FDFDFD;
  --motion-surface: #FFFFFF;
  --motion-tone: #2E7D32;
  --motion-tone-hover: #1B5E20;
  --motion-ink: #1F2937;
  --motion-ink-muted: #4B5563;
  --motion-border: #E5E7EB;
  --motion-surface-alt: #F3F4F6;
  --motion-gradient: linear-gradient(135deg, #4CAF50, #2E7D32);
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  --pad-scale: 10dvh;
  --radius-soft: 16px;
  --shadow-raised: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--motion-ink);
  background-color: var(--motion-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Utilities */
.bound-width {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.action-trigger {
  display: inline-block;
  background: var(--motion-tone);
  color: #FFF;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-soft);
  font-weight: 700;
  transition: background 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
}

.action-trigger:hover {
  background: var(--motion-tone-hover);
  transform: translateY(-2px);
}

.heading-display {
  font-family: var(--font-display);
  color: var(--motion-ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.heading-xl { font-size: 3.5rem; }
.heading-lg { font-size: 2.5rem; }
.heading-md { font-size: 1.75rem; }

/* Header & Nav */
.top-routing-bar {
  background: var(--motion-surface);
  border-bottom: 1px solid var(--motion-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-soft);
}

.header-inner-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-ident {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--motion-tone);
}

.brand-ident svg {
  width: 32px;
  height: 32px;
  fill: var(--motion-tone);
}

.site-routing {
  display: flex;
  gap: 2rem;
}

.site-routing a {
  font-weight: 700;
  color: var(--motion-ink-muted);
  transition: color 0.3s ease;
}

.site-routing a:hover {
  color: var(--motion-tone);
}

/* Mobile Nav Trick */
.menu-toggle-input {
  display: none;
}
.hamburger-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger-icon span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--motion-ink);
  border-radius: 2px;
}

/* Preset B: Announcement Bar */
.notice-ribbon-wrap {
  background: var(--motion-tone);
  color: #FFF;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}
.notice-ribbon-wrap a {
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* Preset B: Split Entry Showcase */
.entry-dual-pane {
  display: flex;
  min-height: 85vh;
  align-items: stretch;
}
.entry-text-side {
  flex: 0 0 55%;
  background: var(--motion-surface);
  padding: var(--pad-scale) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.entry-img-side {
  flex: 0 0 45%;
  background-size: cover;
  background-position: center;
}

/* Content: Image Band & Columns */
.visual-break-band {
  height: 45vh;
  background-size: cover;
  background-position: center;
}

.info-triple-strands {
  padding: var(--pad-scale) 0;
  background: var(--motion-bg);
}
.strands-flex {
  display: flex;
  gap: 2rem;
}
.strand-item {
  flex: 1;
  border-top: 3px solid var(--motion-tone);
  padding-top: 1.5rem;
}

/* Preset B: Masonry Grid */
.habit-masonry-view {
  padding: var(--pad-scale) 0;
  background: var(--motion-surface-alt);
}
.masonry-wrapper {
  column-count: 3;
  column-gap: 2rem;
}
.masonry-brick {
  break-inside: avoid;
  margin-bottom: 2rem;
  background: var(--motion-surface);
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-raised);
  overflow: hidden;
  padding: 2rem;
}
.masonry-brick img {
  border-radius: calc(var(--radius-soft) - 8px);
  margin-bottom: 1rem;
}
.masonry-brick svg {
  width: 40px;
  height: 40px;
  fill: var(--motion-tone);
  margin-bottom: 1rem;
}

/* Preset B: Horizontal Track */
.pathway-segment {
  padding: var(--pad-scale) 0;
  background: var(--motion-surface);
}
.pathway-horizontal-track {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 3rem;
}
.pathway-horizontal-track::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  border-top: 2px dashed var(--motion-border);
  z-index: 1;
}
.pathway-node {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}
.node-circle {
  width: 50px;
  height: 50px;
  background: var(--motion-surface);
  border: 4px solid var(--motion-tone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-weight: 700;
  color: var(--motion-tone);
}

/* Preset B: CTA Strip */
.action-invite-block {
  background: var(--motion-gradient);
  padding: var(--pad-scale) 0;
  text-align: center;
  color: #FFF;
}
.action-invite-block .heading-display {
  color: #FFF;
}
.action-invite-block .action-trigger {
  background: var(--motion-surface);
  color: var(--motion-tone);
  margin-top: 2rem;
}

/* Expert: Split Bio */
.specialist-split-bio {
  display: flex;
  min-height: 70vh;
}
.bio-img-side {
  flex: 0 0 50%;
  background-size: cover;
  background-position: center;
}
.bio-text-side {
  flex: 0 0 50%;
  padding: var(--pad-scale) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Expert: Stats */
.data-metrics-row {
  display: flex;
  background: var(--motion-surface-alt);
  padding: 3rem 0;
}
.metric-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--motion-border);
}
.metric-item:last-child {
  border-right: none;
}
.metric-value {
  font-size: 3rem;
  font-family: var(--font-display);
  color: var(--motion-tone);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* CSS Accordion */
.knowledge-fold-list {
  padding: var(--pad-scale) 0;
  max-width: 800px;
  margin: 0 auto;
}
.fold-item {
  margin-bottom: 1rem;
  border: 1px solid var(--motion-border);
  border-radius: var(--radius-soft);
  background: var(--motion-surface);
  box-shadow: var(--shadow-soft);
}
.fold-toggle {
  display: none;
}
.fold-label {
  display: block;
  padding: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  font-size: 1.1rem;
}
.fold-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* Reserve: 2 col flex */
.enroll-layout-grid {
  display: flex;
  gap: 4rem;
  padding: var(--pad-scale) 0;
}
.enroll-info-pane {
  flex: 1;
}
.enroll-form-pane {
  flex: 1;
  background: var(--motion-surface);
  padding: 3rem;
  border-radius: var(--radius-soft);
  box-shadow: var(--shadow-raised);
}

.guideline-panel {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}
.guideline-panel svg {
  width: 32px;
  height: 32px;
  fill: var(--motion-tone);
  flex-shrink: 0;
}

/* Form Styles */
.input-bundle {
  margin-bottom: 1.5rem;
}
.input-bundle label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.input-bundle input, .input-bundle textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--motion-border);
  border-radius: var(--radius-soft);
  font-family: var(--font-body);
}
.check-bundle {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.check-bundle input {
  margin-top: 5px;
}

/* Cookie Banner */
.cookie-notice-pane {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--motion-ink);
  color: #FFF;
  padding: 1rem 2rem;
  z-index: 9999;
  display: none;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}
.cookie-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.cookie-actions {
  display: flex;
  gap: 1rem;
}
.cookie-actions button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}
#accept-cookie {
  background: var(--motion-tone);
  color: #FFF;
}
#decline-cookie {
  background: var(--motion-ink-muted);
  color: #FFF;
}

/* Footer */
.bottom-closing-area {
  background: var(--motion-ink);
  color: #FFF;
  padding: 4rem 0 2rem 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}
.footer-links a {
  display: block;
  color: var(--motion-border);
  margin-bottom: 0.5rem;
}
.footer-disclaimer {
  color: var(--motion-ink-muted);
  font-size: 0.85rem;
  text-align: center;
  border-top: 1px solid var(--motion-ink-muted);
  padding-top: 1rem;
}

/* Generic Pages */
.text-only-segment {
  padding: var(--pad-scale) 0;
}
.text-only-segment p {
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .entry-dual-pane, .specialist-split-bio, .enroll-layout-grid {
    flex-direction: column;
  }
  .entry-text-side, .bio-text-side {
    padding: 4rem 2rem;
  }
  .entry-img-side, .bio-img-side {
    min-height: 40vh;
  }
  .strands-flex {
    flex-direction: column;
  }
  .masonry-wrapper {
    column-count: 1;
  }
  .pathway-horizontal-track {
    flex-direction: column;
    gap: 2rem;
  }
  .pathway-horizontal-track::before {
    display: none;
  }
  .data-metrics-row {
    flex-direction: column;
  }
  .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--motion-border);
    padding: 2rem 0;
  }
  .site-routing {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--motion-surface);
    flex-direction: column;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-soft);
  }
  .menu-toggle-input:checked ~ .site-routing {
    display: flex;
  }
  .hamburger-icon {
    display: flex;
  }
  .cookie-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}