/* ============================================================
   The FallScape System — fallscape.org
   Front-door site · Brookside R&D
   Built by Arkhold Technologies, September 2026
   Design notes:
   - Warm, clean, uncluttered (Bowl & Basket direction from WebThoughts)
   - Four program colors from the FallScape puzzle ball
   - Large readable type for a mixed audience incl. older adults
   - No external fonts or CDNs: loads fast on slow devices
   - Respects prefers-reduced-motion throughout
   ============================================================ */

:root {
  /* Palette */
  --cream:        #FAF7F1;
  --cream-deep:   #F3EDE2;
  --paper:        #FFFFFF;
  --ink:          #26313B;
  --ink-soft:     #4A5866;
  --teal:         #0E6B64;
  --teal-dark:    #0A524C;
  --teal-tint:    #E3F0EE;

  /* The four programs (from the puzzle ball, warmed) */
  --c-talk:       #C0392B;   /* FallsTalk — red */
  --c-talk-soft:  #F9E9E6;
  --c-scape:      #2C6BAA;   /* FallScape — blue */
  --c-scape-soft: #E8F0F8;
  --c-care:       #C08A1E;   /* FallsTalk for Care Partners — gold */
  --c-care-soft:  #FAF1DD;
  --c-mci:        #4E8A3C;   /* FallScape for Persons with MCI or Dementia — green */
  --c-mci-soft:   #EAF3E6;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 2px 8px rgba(38, 49, 59, 0.07), 0 12px 32px rgba(38, 49, 59, 0.07);
  --shadow-soft: 0 1px 4px rgba(38, 49, 59, 0.08);

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1120px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p  { max-width: 68ch; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Accessibility ------------------------------------------------ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 20px;
  z-index: 200; border-radius: 0 0 8px 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Header ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(38, 49, 59, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700; line-height: 1.1;
}
.brand-name small {
  display: block; font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-soft);
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.site-nav a {
  display: inline-block; padding: 10px 14px;
  text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: 0.98rem; border-radius: 10px;
}
.site-nav a:hover { background: var(--teal-tint); color: var(--teal-dark); }
.site-nav a[aria-current="page"] { color: var(--teal-dark); background: var(--teal-tint); }

/* Solutions dropdown */
.nav-drop { position: relative; }
.nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 0.98rem; color: var(--ink);
  border-radius: 10px;
}
.nav-drop > button:hover { background: var(--teal-tint); color: var(--teal-dark); }
.nav-drop > button::after {
  content: ""; width: 8px; height: 8px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); transition: transform 0.15s;
}
.nav-drop[data-open="true"] > button::after { transform: rotate(-135deg); margin-top: 4px; }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 320px; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px; list-style: none;
  display: none; border: 1px solid rgba(38,49,59,0.06);
}
.nav-drop[data-open="true"] .drop-menu { display: block; }
.drop-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px; font-weight: 600;
}
.drop-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.drop-dot.talk  { background: var(--c-talk); }
.drop-dot.scape { background: var(--c-scape); }
.drop-dot.care  { background: var(--c-care); }
.drop-dot.mci   { background: var(--c-mci); }

.nav-cta {
  margin-left: 10px;
  background: var(--teal); color: #fff !important;
  border-radius: 999px; padding: 10px 20px !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* Mobile nav */
.nav-toggle {
  display: none; border: 0; background: none; cursor: pointer;
  padding: 10px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--ink);
  margin: 5px 0; border-radius: 2px; transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid rgba(38,49,59,0.1);
    box-shadow: var(--shadow); padding: 12px 20px 20px;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a, .nav-drop > button { width: 100%; text-align: left; font-size: 1.05rem; padding: 13px 14px; }
  .nav-drop > button { justify-content: space-between; }
  .drop-menu { position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 0 14px; }
  .nav-cta { margin: 10px 0 0; text-align: center; }
  body[data-nav-open="true"] .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body[data-nav-open="true"] .nav-toggle span:nth-child(2) { opacity: 0; }
  body[data-nav-open="true"] .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* Buttons ------------------------------------------------------ */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: var(--font-body);
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-outline:hover { background: var(--teal-tint); }
.btn-ghost { color: var(--teal-dark); background: transparent; padding: 14px 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Badges ------------------------------------------------------- */
.badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-soon { background: var(--c-care-soft); color: #7A5A17; }
.badge-teal { background: var(--teal-tint); color: var(--teal-dark); }

.eyebrow {
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}

/* Sections ----------------------------------------------------- */
.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 1.08rem; }

/* Hero --------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #F6F1E7 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(38,49,59,0.05);
}
.hero-inner {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 48px; align-items: center;
  padding: 72px 24px 80px; max-width: var(--maxw); margin: 0 auto;
}
.hero h1 { margin: 10px 0 6px; }
.hero-rotator {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--teal-dark);
  min-height: 1.6em; display: block; margin-bottom: 18px;
}
.hero-rotator .rot { display: inline-block; }
.hero-rotator .rot.fade-out { opacity: 0; transform: translateY(-6px); }
.hero-rotator .rot.fade-in  { opacity: 1; transform: translateY(0); }
.hero-rotator .rot { transition: opacity 0.5s ease, transform 0.5s ease; }
.hero p.lede { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 28px; }
.hero-art { display: flex; justify-content: center; }

.trust-strip {
  background: var(--paper);
  border-top: 1px solid rgba(38,49,59,0.06);
}
.trust-inner {
  display: flex; flex-wrap: wrap; gap: 10px 36px;
  justify-content: center; align-items: center;
  padding: 18px 24px; max-width: var(--maxw); margin: 0 auto;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
}
.trust-item svg { width: 20px; height: 20px; flex: none; color: var(--teal); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 24px 56px; gap: 36px; }
  .hero-art { order: -1; }
  .hero-art svg { max-width: 300px; }
}

/* Puzzle ball -------------------------------------------------- */
.puzzle-wrap { position: relative; width: min(420px, 88vw); }
.puzzle-piece { cursor: pointer; transition: transform 0.25s ease, filter 0.25s ease; transform-origin: 260px 260px; }
.puzzle-piece:hover, .puzzle-piece:focus-visible { filter: brightness(1.08); }
.puzzle-piece:hover .piece-shape, .puzzle-piece:focus-visible .piece-shape { stroke-width: 5; }

@keyframes piece-in-tl { from { opacity: 0; transform: translate(-60px, -60px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes piece-in-tr { from { opacity: 0; transform: translate(60px, -60px) rotate(8deg); }  to { opacity: 1; transform: none; } }
@keyframes piece-in-br { from { opacity: 0; transform: translate(60px, 60px) rotate(-8deg); }  to { opacity: 1; transform: none; } }
@keyframes piece-in-bl { from { opacity: 0; transform: translate(-60px, 60px) rotate(8deg); }  to { opacity: 1; transform: none; } }
@keyframes center-in   { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

.animate-ball .piece-tl { animation: piece-in-tl 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) 0.15s both; }
.animate-ball .piece-tr { animation: piece-in-tr 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) 0.35s both; }
.animate-ball .piece-br { animation: piece-in-br 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) 0.55s both; }
.animate-ball .piece-bl { animation: piece-in-bl 0.9s cubic-bezier(0.2, 0.8, 0.3, 1) 0.75s both; }
.animate-ball .ball-center { animation: center-in 0.7s cubic-bezier(0.2, 0.8, 0.3, 1) 1.15s both; transform-origin: 260px 260px; }

/* Cards -------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }

.card {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(38,49,59,0.05);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { display: flex; align-items: center; gap: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.card .card-link { font-weight: 700; color: var(--teal-dark); font-size: 0.95rem; }

.solution-card { border-top: 6px solid; }
.solution-card.talk  { border-top-color: var(--c-talk); }
.solution-card.scape { border-top-color: var(--c-scape); }
.solution-card.care  { border-top-color: var(--c-care); }
.solution-card.mci   { border-top-color: var(--c-mci); }
.solution-card .full-name {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
}
.solution-card .prog-tag {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.solution-card.talk  .prog-tag { color: var(--c-talk); }
.solution-card.scape .prog-tag { color: var(--c-scape); }
.solution-card.care  .prog-tag { color: var(--c-care); }
.solution-card.mci   .prog-tag { color: var(--c-mci); }

/* Visitor router ----------------------------------------------- */
.router-card { text-align: left; }
.router-card .who {
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 700;
}
.router-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-tint); color: var(--teal-dark); flex: none;
}
.router-icon svg { width: 24px; height: 24px; }

/* Solutions section on home ------------------------------------ */
.solutions-flex {
  display: grid; grid-template-columns: minmax(300px, 460px) 1fr;
  gap: 56px; align-items: center;
}
@media (max-width: 980px) { .solutions-flex { grid-template-columns: 1fr; } }
.solutions-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .solutions-cards { grid-template-columns: 1fr; } }

/* Steps -------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.step {
  background: var(--paper); border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(38,49,59,0.05);
  position: relative;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* Evidence teaser ---------------------------------------------- */
.evidence-band { background: var(--teal); color: #fff; }
.evidence-band .section-head h2, .evidence-band h2 { color: #fff; }
.evidence-band .section-head p { color: rgba(255,255,255,0.85); }
.finding {
  background: rgba(255,255,255,0.09); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid rgba(255,255,255,0.15);
}
.finding h3 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.finding p { color: rgba(255,255,255,0.88); font-size: 0.97rem; }
.evidence-band .btn-outline { border-color: #fff; color: #fff; }
.evidence-band .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* What's new --------------------------------------------------- */
.news-list { display: grid; gap: 14px; }
.news-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--paper); padding: 20px 24px; border-radius: var(--radius);
  border: 1px solid rgba(38,49,59,0.05); box-shadow: var(--shadow-soft);
}
.news-item .badge { flex: none; margin-top: 2px; }
.news-item p { color: var(--ink-soft); font-size: 0.98rem; }
.news-item strong { color: var(--ink); }

/* Contact band ------------------------------------------------- */
.contact-band { text-align: center; }
.contact-band .btn-row { justify-content: center; margin-top: 26px; }
.contact-band .email-line { margin-top: 18px; color: var(--ink-soft); }

/* Page hero (interior pages) ----------------------------------- */
.page-hero {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #F6F1E7 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(38,49,59,0.05);
}
.page-hero .container { max-width: 880px; }
.page-hero p.lede { font-size: 1.5rem; font-weight: 700; line-height: 1.35; color: var(--ink-soft); margin-top: 16px; }
.page-hero.talk  { border-top: 8px solid var(--c-talk); }
.page-hero.scape { border-top: 8px solid var(--c-scape); }
.page-hero.care  { border-top: 8px solid var(--c-care); }
.page-hero.mci   { border-top: 8px solid var(--c-mci); }

.crumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; margin-bottom: 18px;
}
.crumb:hover { color: var(--teal-dark); }
.crumb-dot { width: 11px; height: 11px; border-radius: 50%; }
.crumb-dot.talk  { background: var(--c-talk); }
.crumb-dot.scape { background: var(--c-scape); }
.crumb-dot.care  { background: var(--c-care); }
.crumb-dot.mci   { background: var(--c-mci); }

/* Prose pages -------------------------------------------------- */
.prose { max-width: 720px; }
.prose h2 { margin: 44px 0 14px; }
.prose h3 { margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 8px; }
.prose .note {
  background: var(--teal-tint); border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 24px 0; color: var(--teal-dark);
  font-size: 0.98rem;
}
.prose .note-soon {
  background: var(--c-care-soft); border-left-color: var(--c-care); color: #6B4E12;
}

/* Study list --------------------------------------------------- */
.study {
  background: var(--paper); border-radius: var(--radius);
  padding: 22px 26px; margin-bottom: 14px;
  border: 1px solid rgba(38,49,59,0.05); box-shadow: var(--shadow-soft);
}
.study .award {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  color: var(--c-care); text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 6px;
}
.study .cite { font-size: 0.98rem; color: var(--ink-soft); }
.study .cite strong { color: var(--ink); }

/* Training tiers ----------------------------------------------- */
.tier {
  background: var(--paper); border-radius: var(--radius-lg);
  padding: 32px; margin-bottom: 24px;
  border: 1px solid rgba(38,49,59,0.05); box-shadow: var(--shadow-soft);
}
.tier h3 { font-size: 1.35rem; margin-bottom: 6px; }
.tier .tier-sub { color: var(--ink-soft); margin-bottom: 18px; }
.tier ul { list-style: none; }
.tier li {
  padding: 12px 0 12px 34px; position: relative;
  border-top: 1px solid rgba(38,49,59,0.06);
}
.tier li:first-child { border-top: 0; }
.tier li::before {
  content: ""; position: absolute; left: 4px; top: 18px;
  width: 9px; height: 14px;
  border-right: 3px solid var(--teal); border-bottom: 3px solid var(--teal);
  transform: rotate(45deg);
}
.tier li strong { display: block; }
.tier li span { color: var(--ink-soft); font-size: 0.95rem; }

/* Survey (connect page) ---------------------------------------- */
.survey-shell {
  max-width: 760px; margin: 0 auto;
  background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid rgba(38,49,59,0.06);
  padding: 40px; min-height: 380px;
}
@media (max-width: 640px) { .survey-shell { padding: 26px 20px; } }
.survey-progress {
  height: 6px; background: var(--cream-deep); border-radius: 999px;
  margin-bottom: 30px; overflow: hidden;
}
.survey-progress .bar {
  height: 100%; background: var(--teal); border-radius: 999px;
  width: 0%; transition: width 0.3s ease;
}
.survey-q h2 { font-size: 1.5rem; margin-bottom: 6px; }
.survey-q .q-sub { color: var(--ink-soft); margin-bottom: 24px; }
.survey-opts { display: grid; gap: 12px; }
.survey-opt {
  display: flex; align-items: center; gap: 14px;
  width: 100%; text-align: left; cursor: pointer;
  background: var(--cream); border: 2px solid rgba(38,49,59,0.1);
  border-radius: var(--radius); padding: 16px 20px;
  font: inherit; font-weight: 600; color: var(--ink);
  transition: border-color 0.15s, background 0.15s;
}
.survey-opt:hover { border-color: var(--teal); background: var(--teal-tint); }
.survey-opt .opt-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--paper); display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark); border: 1px solid rgba(38,49,59,0.08);
}
.survey-opt .opt-icon svg { width: 22px; height: 22px; }
.survey-back {
  margin-top: 26px; background: none; border: 0; cursor: pointer;
  color: var(--ink-soft); font: inherit; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px;
}
.survey-back:hover { color: var(--teal-dark); }
.survey-back::before {
  content: ""; width: 8px; height: 8px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.survey-result h2 { font-size: 1.6rem; margin-bottom: 16px; }
.survey-result .result-body { color: var(--ink-soft); margin-bottom: 10px; }
.result-links { display: grid; gap: 10px; margin: 22px 0; }
.result-links a {
  display: block; background: var(--teal-tint); border-radius: var(--radius);
  padding: 14px 18px; font-weight: 700; text-decoration: none; color: var(--teal-dark);
}
.result-links a:hover { background: #D5E8E5; }
.survey-note { font-size: 0.9rem; color: var(--ink-soft); margin-top: 18px; }

textarea.survey-free {
  width: 100%; min-height: 110px; resize: vertical;
  font: inherit; padding: 14px 16px; border-radius: var(--radius);
  border: 2px solid rgba(38,49,59,0.15); background: var(--cream);
  margin-bottom: 16px;
}
textarea.survey-free:focus { outline: none; border-color: var(--teal); }

/* Footer ------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,0.75);
  padding: 56px 0 36px; margin-top: 0; font-size: 0.95rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand {
  display: flex; align-items: center; gap: 12px; color: #fff;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  margin-bottom: 14px;
}
.footer-brand svg { width: 34px; height: 34px; }
.footer-mission { max-width: 42ch; color: rgba(255,255,255,0.65); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px; font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.footer-legal p { max-width: none; margin-bottom: 6px; }

/* Reveal on scroll --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Photography (Victoria's photo docs, added 2026-09-28) ---------- */
.photo-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px;
  max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 8px;
}
.photo-band figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.photo-band img { width: 100%; height: 280px; object-fit: cover; object-position: center 30%; display: block; }
@media (max-width: 760px) {
  .photo-band { grid-template-columns: 1fr; }
  .photo-band figure:nth-child(3) { display: none; }
  .photo-band img { height: 200px; }
}

.step-photo { margin: -30px -26px 18px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.step-photo img { width: 100%; height: 195px; object-fit: cover; object-position: center 28%; display: block; }

.page-photo { margin: 28px 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.page-photo img { width: 100%; max-height: 440px; object-fit: cover; display: block; }
.page-photo figcaption { padding: 12px 18px; font-size: 0.88rem; color: var(--ink-soft); background: var(--paper); }

/* Hero slider (Victoria's HomePg.pdf markup, 2026-09-30) -------- */
.hero-slider { position: relative; width: min(440px, 88vw); aspect-ratio: 1 / 1; }
.hero-slider .slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 0.9s ease; pointer-events: none;
}
.hero-slider .slide.on { opacity: 1; pointer-events: auto; }
.hero-slider figure.slide { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-slider figure.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hero-slider .slide-ball { display: flex; align-items: center; justify-content: center; }

/* Solutions intro + animated ball side by side */
.solutions-ball { display: flex; justify-content: center; }
.solutions-ball svg { width: min(420px, 80vw); }
.solutions-flex .section-head { margin-bottom: 0; }
.solutions-cards-wrap { margin-top: 44px; }
.hero-rotator { transition: opacity 0.8s ease; }

.pos-top { object-position: center 18%; }
.pos-mid { object-position: center 50%; }

.study-link, .doc-link { font-weight: 700; }
.doc-link { display: inline-block; margin-top: 10px; background: var(--teal-tint); padding: 12px 18px; border-radius: var(--radius); text-decoration: none; color: var(--teal-dark); }
.doc-link:hover { background: #D5E8E5; }

/* Evidence reference list: two columns of plain text links (LastBits2) */
.ref-cols { columns: 2; column-gap: 48px; margin-top: 8px; }
.ref-cols li { break-inside: avoid; }
@media (max-width: 720px) { .ref-cols { columns: 1; } }

/* Training tier items: bold heading that is itself the PDF link (LastBits2) */
.tier-doc { color: inherit; text-decoration: none; }
.tier-doc:hover, .tier-doc:focus-visible { color: var(--teal-dark); }
.tier-doc-tag { font-size: 0.85em; color: var(--teal-dark); white-space: nowrap; }
