/* family-os-menu.css */
/* 2026-03-26 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream:        #FAF6F0;
  --cream-dark:   #F2EAE0;
  --brown:        #7B5B3A;
  --brown-light:  #C4A882;
  --text:         #2C2016;
  --text-muted:   #7A6652;
  --accent:       #5C7A9A;
}
html, body {
  min-height: 100%;
  background: var(--cream);
  color: var(--text);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
}
/* OPENING */
.opening {
  background: var(--brown);
  text-align: center;
  padding: 52px 24px;
}
.opening p {
  font-family: 'Lora', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.9;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.95;
}
/* HERO */
.hero {
  text-align: center;
  padding: 64px 24px 48px;
  max-width: 720px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Caveat', cursive;
  font-size: 64px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero-what {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.hero-lede {
  font-family: 'Lora', serif;
  font-size: 19px;
  line-height: 1.85;
  color: var(--text);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto;
}
.divider {
  width: 60px;
  height: 2px;
  background: var(--brown-light);
  border-radius: 2px;
  margin: 40px auto;
}
/* BODY COPY */
.body-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 24px 52px;
  text-align: center;
}
.body-section p {
  font-family: 'Lora', serif;
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.body-section p strong {
  color: var(--text);
  font-weight: 500;
  font-style: normal;
}
.pull-quote {
  font-family: 'Lora', serif;
  font-size: 19px;
  font-style: italic;
  color: var(--brown);
  line-height: 1.75;
  border-left: 3px solid var(--brown-light);
  padding: 6px 0 6px 24px;
  text-align: left;
  margin: 36px 0;
}
/* MISSION STATEMENT */
.mission-statement {
  text-align: center;
  padding: 56px 24px;
  background: var(--cream-dark);
}
.mission-statement p {
  font-family: 'Caveat', cursive;
  font-size: 34px;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.4;
  max-width: 600px;
  margin: 0 auto;
}
/* QUALITIES */
.qualities-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 52px 24px;
  text-align: center;
}
.section-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section-title {
  font-family: 'Caveat', cursive;
  font-size: 36px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 8px;
}
.section-sub {
  font-family: 'Lora', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.qualities-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 auto 32px;
  max-width: 420px;
  border: 1.5px solid var(--brown-light);
  border-radius: 12px;
  overflow: hidden;
}
.quality-row {
  display: grid;
  grid-template-columns: 1fr 32px 1fr;
  align-items: center;
  padding: 13px 22px;
  border-bottom: 1px solid var(--cream-dark);
  background: white;
}
.quality-row:last-child { border-bottom: none; }
.quality-row:nth-child(even) { background: var(--cream); }
.quality-gift {
  font-family: 'Lora', serif;
  font-size: 17px;
  color: var(--brown);
  text-align: left;
  font-style: italic;
}
.quality-arrow {
  font-size: 15px;
  color: var(--brown);
  text-align: center;
}
.quality-cost {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 15px;
  color: var(--text);
  text-align: right;
  letter-spacing: 0.02em;
}
.qualities-note {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto;
}
/* BUBBLE GRID */
.qbub-header {
  display: flex;
  justify-content: space-between;
  max-width: 420px;
  margin: 0 auto 6px;
  padding: 0 4px;
}
.qbub-col-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: 'Source Sans 3', sans-serif;
}
.qbub-col-left { color: #5C5490; }
.qbub-col-right { color: var(--brown); }
.qbub-grid {
  max-width: 420px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.qbub-row {
  display: flex;
  align-items: center;
  gap: 0;
}
.qbub-pill {
  flex: 0 0 44%;
  background: #E8E6F5;
  border: 2px solid #8080C0;
  border-radius: 50px;
  padding: 9px 14px;
  font-family: 'Lora', serif;
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: #3a3480;
  text-align: center;
  position: relative;
}
.qbub-pill::after {
  content: '';
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 13px solid #8080C0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  z-index: 1;
}
.qbub-spiky {
  flex: 0 0 56%;
  height: 60px;
  position: relative;
}
/* FIVE A'S */
.fiveas-section {
  background: var(--brown);
  padding: 60px 24px;
  text-align: center;
}
.fiveas-inner {
  max-width: 640px;
  margin: 0 auto;
}
.fiveas-section .section-label {
  color: var(--brown-light);
  margin-bottom: 14px;
}
.fiveas-section .section-title {
  color: var(--cream);
  margin-bottom: 10px;
}
.fiveas-section .section-sub {
  color: var(--cream);
  opacity: 0.7;
  margin-bottom: 40px;
}
.fiveas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.fivea-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 22px 16px;
}
.fivea-word {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.fivea-desc {
  font-family: 'Lora', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--cream);
  opacity: 0.75;
  line-height: 1.6;
}
.fiveas-closer {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-style: italic;
  color: var(--cream);
  line-height: 1.9;
  opacity: 0.9;
  max-width: 540px;
  margin: 0 auto;
}
/* COMPANIONS */
.companions-section {
  background: var(--cream-dark);
  padding: 52px 24px;
  text-align: center;
}
.companions-inner {
  max-width: 720px;
  margin: 0 auto;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.card {
  background: white;
  border: 1.5px solid var(--cream-dark);
  border-radius: 16px;
  padding: 28px 22px 22px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(44,32,22,0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-color, var(--brown-light));
  border-radius: 16px 16px 0 0;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(44,32,22,0.1);
}
.card-emoji { font-size: 30px; line-height: 1; margin-bottom: 4px; }
.card-name {
  font-family: 'Caveat', cursive;
  font-size: 22px;
  font-weight: 600;
  color: var(--brown);
}
.card-desc {
  font-family: 'Lora', serif;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
  flex: 1;
}
.card-status {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-color, var(--brown-light));
  margin-top: 6px;
}
/* TRANSPARENT */
.reason-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 52px 24px;
  text-align: center;
}
.reason-box {
  background: white;
  border: 1.5px solid var(--cream-dark);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: left;
  box-shadow: 0 2px 8px rgba(44,32,22,0.05);
}
.reason-box .reason-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.reason-box p {
  font-family: 'Lora', serif;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  font-style: italic;
}
.reason-disclaimer {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.6;
  opacity: 0.75;
  text-align: left;
}
/* CLOSING */
.closing-section {
  background: var(--brown);
  padding: 72px 24px;
  text-align: center;
}
.closing-inner {
  max-width: 580px;
  margin: 0 auto;
}
.closing-section p {
  font-family: 'Lora', serif;
  font-size: 19px;
  line-height: 1.95;
  color: var(--cream);
  font-style: italic;
  margin-bottom: 24px;
  opacity: 0.92;
}
.closing-section p:last-child { margin-bottom: 0; }
.closing-section p.closing-final {
  font-size: 22px;
  opacity: 1;
  font-style: normal;
  color: var(--cream);
}
/* FOOTER */
.footer {
  text-align: center;
  padding: 28px 24px 20px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 2;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
.footer a:hover { text-decoration: underline; }
.version-tag {
  position: fixed;
  top: 10px;
  right: 14px;
  font-size: 11px;
  color: var(--brown);
  letter-spacing: 0.1em;
  opacity: 0.75;
  pointer-events: none;
}
/* ACCORDION */
.accordion {
  border-top: 1px solid var(--cream-dark);
}
.acc-item {
  border-bottom: 1px solid var(--cream-dark);
}
.acc-trigger {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  gap: 12px;
}
.acc-title {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  font-weight: 600;
  color: var(--brown);
}
.acc-arrow {
  font-size: 18px;
  color: var(--brown-light);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.acc-body {
  display: none;
}
.acc-open .acc-body {
  display: block;
}
/* Remove top padding from sections inside accordion */
.acc-body .body-section,
.acc-body .qualities-section,
.acc-body .fiveas-section,
.acc-body .companions-section,
.acc-body .reason-section,
.acc-body .closing-section {
  margin-top: 0;
}
@media (max-width: 600px) {
  .hero h1 { font-size: 48px; }
  .opening p { font-size: 16px; }
  .mission-statement p { font-size: 26px; }
  .fiveas-grid { grid-template-columns: repeat(2, 1fr); }
}
/* WHEEL CARD */
.wheel-card {
  background: white;
  border: 1.5px solid var(--cream-dark);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: 0 2px 8px rgba(44,32,22,0.05);
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto 32px;
}
.wheel-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: #9A6B8A;
  border-radius: 16px 16px 0 0;
}
.ww-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.ww-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.ww-agelbl {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  min-height: 18px;
  text-align: center;
  width: 260px;
}
.ww-barrow {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 260px;
}
.ww-barnum {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  color: var(--text-muted);
  min-width: 12px;
}
.ww-track {
  flex: 1;
  height: 3px;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
}
.ww-fill {
  height: 100%;
  width: 0%;
  background: var(--brown-light);
  border-radius: 2px;
  transition: none;
}
.ww-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 10px;
  justify-content: center;
  max-width: 260px;
}
.ww-li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  color: var(--text-muted);
}
.ww-ldot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ww-abtns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  max-width: 260px;
}
.ww-abtn {
  padding: 4px 10px;
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  background: none;
  color: var(--text-muted);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}
.ww-abtn:hover { border-color: var(--brown-light); color: var(--brown); }
.ww-abtn.ww-act { color: white; border-color: transparent; }
.ww-right { display: flex; flex-direction: column; }
.ww-rpanel { min-height: 200px; transition: opacity 0.2s; }
.ww-ey {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ww-an {
  font-family: 'Caveat', cursive;
  font-size: 26px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1.15;
}
.ww-dv { width: 36px; height: 2px; border-radius: 2px; margin-bottom: 14px; transition: background 0.3s; }
.ww-body {
  font-family: 'Lora', serif;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 16px;
}
.ww-qlist { display: flex; flex-direction: column; gap: 8px; }
.ww-qi { display: flex; align-items: flex-start; gap: 8px; }
.ww-qdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.ww-qt { font-family: 'Lora', serif; font-size: 13px; line-height: 1.6; color: var(--text-muted); }
.ww-qn { font-weight: 500; color: var(--text); font-style: normal; }
.ww-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.ww-ab2 {
  padding: 4px 12px;
  border: 1px solid var(--cream-dark);
  border-radius: 20px;
  background: none;
  color: var(--text-muted);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
}
.ww-ab2:hover { border-color: var(--brown-light); color: var(--brown); }
@media (max-width: 560px) {
  .ww-layout { grid-template-columns: 1fr; }
  .ww-right { margin-top: 8px; }
}
