/* AVA light theme. Dark is the default painted by each page's :root tokens.
   html[data-theme="light"] overrides every token the site uses, plus the
   shared nav and the few hard-coded white-on-black rules. Toggle: theme.js */

html[data-theme="light"]{
  color-scheme:light;
  background:#F5F4F1;color:#1B1B1B;

  /* ground + surfaces (index, booking, journeys) */
  --void:#F5F4F1;
  --surface:#FFFFFF;
  --raise:#F0EFEC;
  --substrate:#EDECE8;
  --panel:#F0EFEC;
  --panel-lift:#E8E7E3;

  /* rules */
  --hair:#E3E2DE;
  --hair-2:#D2D1CC;
  --line:#E3E2DE;
  --line-lift:#D2D1CC;
  --edge:#C9C9C9;
  --rule:rgba(0,0,0,.10);
  --rule-firm:rgba(0,0,0,.18);

  /* text */
  --signal:#000000;
  --core:#1B1B1B;
  --near:#1B1B1B;
  --bright:#1B1B1B;
  --read:#333333;
  --muted:#5F5E5A;
  --soft:#6A6A6A;
  --mono-ink:#6E6D69;
  --dim:#8A8985;
  --mute:#8A8985;

  /* rings (orb art, spec dials) */
  --ring1:#6A6A6A;
  --ring2:#A8A8A8;
  --ring3:#C9C9C9;
  --ring4:#DCDCDC;

  /* booking warm set */
  --ivory:#1B1B1B;
  --rim:#7A6A4E;
  --warn:#C2451E;

  /* journal (blog/journal.css) */
  --bone:#F5F4F1;
  --bone-deep:#EDECE8;
  --oat:#E8E7E3;
  --ink:#1B1B1B;
  --espresso:#1B1B1B;
  --white:#000000;
  --moss:#000000;
  --moss-deep:#000000;
  --mint:#000000;
  --mint-lift:#000000;
  --rule-bone:#D2D1CC;
  --rule-ink:#E3E2DE;
  --rule-soft:#ECEBE7;

  /* legacy style.css (events, experiences) */
  --bg:#F5F4F1;
  --bg-light:#EDECE8;
  --bg-card:#FFFFFF;
  --border:rgba(0,0,0,.08);
  --text:#1B1B1B;
  --text-muted:#5F5E5A;
  --accent:#333333;
  --accent-dim:rgba(0,0,0,.06);
}
html[data-theme="light"] body{background:#F5F4F1;color:#1B1B1B}

/* shared nav inverts */
html[data-theme="light"] .avanav{background:#F5F4F1;color:#1B1B1B;border-bottom-color:#E3E2DE}
html[data-theme="light"] .avanav__brand{color:#1B1B1B}
html[data-theme="light"] .avanav nav a{color:#333333}
html[data-theme="light"] .avanav nav a:hover,
html[data-theme="light"] .avanav nav a:focus-visible,
html[data-theme="light"] .avanav nav a[aria-current="page"]{color:#000000;text-decoration-color:#000000}
html[data-theme="light"] .avanav__book{background:#000000;color:#FFFFFF !important}
html[data-theme="light"] .avanav__book:hover{box-shadow:0 0 20px 2px rgba(0,0,0,.18)}

/* white-on-black assets that cannot retheme */
html[data-theme="light"] .avanav__brand img,
html[data-theme="light"] img[src*="-white.svg"]{filter:invert(1)}

/* hard-coded white glows and separators (journeys, journal, style.css) */
html[data-theme="light"] .btn:hover,
html[data-theme="light"] .card:hover .btn{box-shadow:0 0 24px 2px rgba(0,0,0,.18)}
html[data-theme="light"] .hero__meta .sep,
html[data-theme="light"] .hero .spec .sep{background:rgba(0,0,0,.4)}
html[data-theme="light"] .hero-title em,
html[data-theme="light"] .award-title,
html[data-theme="light"] .philosophy-headline{color:#1B1B1B}
html[data-theme="light"] .btn:hover{color:#1B1B1B}
html[data-theme="light"] .philosophy-body{color:rgba(0,0,0,.72)}
html[data-theme="light"] .philosophy-body-secondary,
html[data-theme="light"] .award-subtitle{color:rgba(0,0,0,.5)}
html[data-theme="light"] .os-chrome-title,
html[data-theme="light"] .os-step-desc{color:rgba(0,0,0,.45)}
html[data-theme="light"] .section-os{background:#EDECE8}
html[data-theme="light"] .journey-banner:hover,
html[data-theme="light"] .room-card:hover,
html[data-theme="light"] .journey-card:hover,
html[data-theme="light"] .journey-feature:hover,
html[data-theme="light"] .member-card:hover,
html[data-theme="light"] .soundroom-card:hover,
html[data-theme="light"] .manifesto-tile:hover,
html[data-theme="light"] .event-card:hover{border-color:rgba(0,0,0,.16)}
html[data-theme="light"] .member-card-featured{border-color:rgba(0,0,0,.22)}
html[data-theme="light"] .play-btn:hover,
html[data-theme="light"] .tone-btn:hover,
html[data-theme="light"] .signal-input:focus{border-color:rgba(0,0,0,.3)}

/* toggle: 36px round ghost button, glyph is a half-filled circle */
.theme-toggle{
  width:36px;height:36px;min-width:36px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;margin:0;
  border:1px solid currentColor;border-radius:50%;
  background:transparent;color:inherit;
  font:16px/1 ui-sans-serif,system-ui,sans-serif;
  cursor:pointer;opacity:.75;
  transition:opacity .2s ease,transform .2s ease;
}
.theme-toggle:hover,.theme-toggle:focus-visible{opacity:1;outline:none}
.theme-toggle:active{transform:scale(.94)}
html[data-theme="light"] .theme-toggle{transform:rotate(180deg)}
html[data-theme="light"] .theme-toggle:active{transform:rotate(180deg) scale(.94)}

/* footer theme switch */
.theme-foot{display:flex;justify-content:center;padding:24px 16px 32px}
.theme-foot .theme-toggle{width:auto;height:40px;padding:0 16px;border-radius:999px;display:inline-flex;align-items:center;gap:10px;font-family:"IBM Plex Mono",ui-monospace,Menlo,monospace;font-size:11px;letter-spacing:.16em;text-transform:uppercase}
