/* ---- Theme toggle ---- */
.theme-toggle{flex:none;width:36px;height:36px;border-radius:9px;border:1px solid var(--line-2);background:var(--raised);color:var(--tx-2);display:inline-grid;place-items:center;cursor:pointer;transition:color .15s,border-color .15s,background .15s}
.theme-toggle:hover{color:var(--gold);border-color:var(--gold)}
.theme-toggle svg{grid-area:1/1;transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .25s}
.theme-toggle .i-sun{opacity:0;transform:rotate(-60deg) scale(.6)}
[data-theme=light] .theme-toggle .i-sun{opacity:1;transform:none}[data-theme=light] .theme-toggle .i-moon{opacity:0;transform:rotate(60deg) scale(.6)}
.brand .theme-toggle{width:30px;height:30px;border-radius:8px;margin-left:6px}
.theme-toggle.floating{position:fixed;top:18px;right:18px;z-index:30}
html{color-scheme:dark}
html.theme-anim *,html.theme-anim *::before,html.theme-anim *::after{transition:background-color .35s ease,border-color .35s ease,color .35s ease !important}
@media (prefers-reduced-motion:reduce){html.theme-anim *{transition:none !important}.theme-toggle svg{transition:none}}

/* ---- Light: warm ivory gallery, deep-gold accent ---- */
[data-theme=light]{color-scheme:light;
  --bg:#F7F4EE;--panel:#FFFFFF;--raised:#F1EDE5;--line:#E5DFD4;--line-2:#D7D0C3;
  --tx:#15171B;--tx-2:#4E525A;--tx-3:#7C7F87;
  --gold:#8A6A36;--gold-dim:rgba(138,106,54,.09);
  --ok:#2F7D56;--warn:#8A6A36;--bad:#B0493A;--info:#46699A}
[data-theme=light] nav.top{background:rgba(247,244,238,.84)}
[data-theme=light] .btn.pri{background:linear-gradient(135deg,#E6C993,#CFA868);border-color:#C49D5E;color:#17130C}
[data-theme=light] .btn.pri:hover{opacity:1;filter:brightness(1.04)}
[data-theme=light] .sw:checked{background:#C49D5E}
[data-theme=light] .tier,[data-theme=light] .steps,[data-theme=light] .card,[data-theme=light] .pl,[data-theme=light] .vo{box-shadow:0 1px 2px rgba(21,23,27,.04)}
[data-theme=light] .scrim{background:rgba(21,23,27,.28)}
[data-theme=light] dialog::backdrop{background:rgba(21,23,27,.35)}
[data-theme=light] .note,[data-theme=light] .banner,[data-theme=light] .plan{border-color:rgba(138,106,54,.3)}
[data-theme=light] .tier.hi{border-color:rgba(138,106,54,.45);background:linear-gradient(180deg,rgba(207,168,104,.12),var(--panel) 40%)}

/* The landing hero is studio photography: it stays a dark "set" in both themes. */
[data-theme=light] .hero{
  --bg:#0B0C0E;--panel:#111316;--raised:#16191D;--line:#23272D;--line-2:#2E333A;
  --tx:#F2EFE9;--tx-2:#A7A9AE;--tx-3:#6C7078;--gold:#D9B77E;--gold-dim:rgba(217,183,126,.12);
  background:#0B0C0E;color:var(--tx);color-scheme:dark}
[data-theme=light] .hero .btn.pri{background:#D9B77E;border-color:#D9B77E}
.brand .theme-toggle svg,.logo .theme-toggle svg{width:15px;height:15px}
/* Captions sitting on photography keep light text in both themes */
[data-theme=light] .band span,[data-theme=light] .shot span{color:#C9C6BF}
@media(max-width:420px){nav.top .cta .btn.ghost{padding:0 10px}nav.top .wrap{gap:14px}}
