/* mem.css v0.1.0 2026-11-13 2:10 AM Arizona · ARCHITECT : Dr. Vance Vasile
   CHANGELOG: 0.1.0 first version (first look approved 2026-11-12): Delta's dark gold look with green splashes and discreet red;
   Light view by html[data-look="light"]; no inline styles anywhere (strict CSP). */

:root, html[data-look="dark"] {
  --bg: #0D0C0A; --side: #120F0B; --card: #17140F; --card2: #1F1B14; --ink: #F4EEE4; --muted: #CFC6B8; --faint: #A89F90;
  --line: #4A412F; --line2: #2E281E; --gold: #E3C77B; --green: #2FA57A; --green-ink: #7FD3AE; --red: #C9574A;
  --foil: linear-gradient(115deg, #B58F45 0%, #E9CF8F 42%, #B58F45 70%, #D9B872 100%); --shadow: 0 6px 18px rgba(0,0,0,.28);
  --hero: radial-gradient(ellipse at 50% 0%, #2A2015 0%, #14100B 55%, #0D0C0A 100%);
}
html[data-look="light"] {
  --bg: #F7F6F2; --side: #FFFFFF; --card: #FFFFFF; --card2: #F3F1EC; --ink: #1A1A1A; --muted: #4F4C46; --faint: #625D55;
  --line: #CFCBC3; --line2: #ECEAE5; --gold: #6F5119; --green: #1E7F5A; --green-ink: #1A6E4E; --red: #B03A2E;
  --shadow: 0 4px 14px rgba(0,0,0,.07); --hero: radial-gradient(ellipse at 50% 0%, #FFFFFF 0%, #F3EEE2 60%, #EDE6D6 100%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 Figtree, system-ui, sans-serif; }
a { color: inherit; }
.serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
.muted { color: var(--muted); } .sm { font-size: 14px; } .ink { color: var(--ink); } .grow { flex: 1; min-width: 0; } .up { text-transform: uppercase; }
.k { margin: 0 0 12px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.h1 { margin: 0; font-size: 38px; } .h2 { margin: 0; font-size: 28px; } .big { font-size: 30px; }
.fine { margin: 12px 0 0; font-size: 14px; color: var(--faint); }
.link { color: var(--gold); font-size: 15px; }
[hidden] { display: none !important; }

/* buttons: discreet, shadowed; gold foil only for the one main action */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card2); color: var(--ink); font: 600 15px Figtree, sans-serif; text-decoration: none;
  cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,.18); transition: box-shadow .2s, transform .2s; }
.btn:hover { box-shadow: 0 8px 20px rgba(0,0,0,.32); }
.btn-quiet { min-height: 40px; font-size: 14px; background: var(--card); }
.btn-gold { min-height: 48px; padding: 0 24px; border: 0; background: var(--foil); color: #12100E; font-weight: 700; }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.45), 0 0 0 1px #E9CF8F; }
.btn.off { opacity: .55; cursor: default; transform: none; }
.row-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* header */
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 24px;
  background: var(--side); border-bottom: 1px solid var(--line2); box-shadow: 0 2px 10px rgba(0,0,0,.18); position: relative; z-index: 2; }
.top-wl { background: transparent; box-shadow: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: auto; }
.brand-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 25px; font-weight: 600; letter-spacing: .3px; }
.top-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.top-tools form { margin: 0; }
.clocks { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 14px; }
.clocks > span { padding: 8px 12px; } .clocks > span + span { border-left: 1px solid var(--line); }
.clocks b { font-variant-numeric: tabular-nums; }
.bell { position: relative; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: var(--card);
  display: inline-flex; align-items: center; justify-content: center; }
.bell-n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.me { display: flex; align-items: center; gap: 10px; line-height: 1.2; font-size: 15px; }
.me-i { width: 38px; height: 38px; border-radius: 50%; background: var(--card2); border: 1px solid var(--gold); color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.menu-btn { display: none; }
.staff-band { padding: 10px 24px; background: var(--card2); border-bottom: 2px solid var(--gold); font-size: 15px; }
.staff-band a { color: var(--gold); margin-left: 8px; }

/* welcome page */
body.wl { background: var(--hero); min-height: 100vh; display: flex; flex-direction: column; }
.hero { position: relative; overflow: hidden; padding: 48px 20px 40px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-chart { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-chart .grid line { stroke: var(--line2); stroke-width: 1; }
.hero-chart .candles { opacity: .3; } .hero-chart .up { fill: #2FA57A; stroke: #2FA57A; } .hero-chart .dn { fill: #B4544A; stroke: #B4544A; }
.hero-chart .area { opacity: .16; }
.hero-chart .line { fill: none; stroke: #E3C77B; stroke-width: 2.5; stroke-linecap: round; opacity: .85; stroke-dasharray: 2400;
  animation: draw 9s ease-out infinite alternate; }
@keyframes draw { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }
.tri-wrap { position: relative; width: 190px; height: 170px; perspective: 900px; display: flex; align-items: center; justify-content: center; }
.tri-glow { position: absolute; width: 240px; height: 240px; border-radius: 50%; animation: glow 5s ease-in-out infinite;
  background: radial-gradient(circle, rgba(47,165,122,.36) 0%, rgba(47,165,122,0) 65%); }
.tri { position: relative; width: 170px; height: auto; animation: turn 14s linear infinite; filter: drop-shadow(0 14px 22px rgba(0,0,0,.6)); }
@keyframes turn { to { transform: rotateY(360deg); } }
@keyframes glow { 0%, 100% { opacity: .4; } 50% { opacity: .8; } }
.eyebrow { position: relative; margin: 22px 0 6px; font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); }
.hero-title { position: relative; margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(40px, 6vw, 68px); font-weight: 600; line-height: 1.05; }
.hero-sub { position: relative; margin: 14px 0 0; max-width: 620px; font-size: 18px; color: var(--muted); }
.welcome-card { position: relative; margin-top: 34px; width: min(780px, 100%); text-align: left; background: var(--card); opacity: .97;
  border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.welcome-card h2 { margin: 0 0 4px; font-size: 30px; }
.steps3 { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps3 li { border: 1px solid var(--line); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.steps3 li span:last-child { font-size: 14px; color: var(--muted); }
.steps3 .k, .steps3 li > .k { margin: 0; font-size: 12px; }
.steps3 li.now { border-color: var(--green); background: rgba(47,165,122,.08); } .steps3 li.now .k { color: var(--green-ink); }
.markets { padding: 8px 20px 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: min(1100px, 100%); margin: 0 auto; }
.mk { border: 1px solid var(--line2); border-radius: 12px; padding: 12px 16px; background: var(--card); display: flex; justify-content: space-between; align-items: center; }
.mk-city { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.mk-time { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mk-what { font-size: 12px; color: var(--faint); }
.mk-state { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); }
.mk-state.open { border-color: var(--green); color: var(--green-ink); }
.tape { position: relative; overflow: hidden; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); background: var(--side); padding: 10px 0 10px 96px; }
.tape-note { position: absolute; left: 0; top: 0; bottom: 0; z-index: 1; display: flex; align-items: center; padding: 0 14px; background: var(--side);
  border-right: 1px solid var(--line2); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }
.tape-move { display: flex; width: max-content; gap: 40px; font: 600 15px Figtree, sans-serif; white-space: nowrap; animation: tape 60s linear infinite; }
.tape-move .s { color: var(--muted); } .tape-move .p { color: var(--ink); margin-left: 6px; font-variant-numeric: tabular-nums; }
.tape-move .c { margin-left: 6px; } .tape-move .c.up { color: #2FA57A; } .tape-move .c.down { color: #C9675B; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.foot { margin-top: auto; padding: 18px 28px 24px; font-size: 13px; color: var(--faint); border-top: 1px solid var(--line2); }

/* portal frame */
.frame { display: flex; flex-wrap: wrap; align-items: stretch; }
.side { flex: 0 0 260px; padding: 18px 14px 28px; background: var(--side); border-right: 1px solid var(--line2); }
.main { flex: 999 1 560px; min-width: 0; padding: 26px 28px 40px; display: flex; flex-direction: column; gap: 22px; max-width: 1200px; }
.main.solo { margin: 0 auto; width: min(1200px, 100%); } .main.narrow { width: min(640px, 100%); }
.today { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--card); margin-bottom: 8px; }
.today .k { margin: 0 0 6px; font-size: 12px; } .today-a { font-weight: 600; } .today-b { margin-top: 4px; font-size: 14px; color: var(--muted); }
.nav-k { margin: 16px 8px 6px; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--faint); }
.nav { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 10px; border-radius: 8px; text-decoration: none; color: var(--muted); }
.nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav:hover { background: var(--card2); color: var(--ink); }
.nav.on { background: var(--card2); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); }
.nav.dim { color: var(--faint); }
.pill { margin-left: auto; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--faint); }

.card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--card); }
.card.lift { box-shadow: var(--shadow); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 18px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.notice { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot-red { background: var(--red); } .dot-gold { background: var(--gold); } .dot-green { background: var(--green); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.stats.four { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat { font-size: 28px; font-weight: 700; }
.bar { display: block; height: 6px; border-radius: 3px; background: var(--line2); overflow: hidden; margin-top: 10px; }
.big-bar { height: 10px; border-radius: 5px; margin-top: 16px; }
.bar-in { display: block; height: 100%; }
.bar-in.green { background: linear-gradient(90deg, #1E7F5A, #2FA57A); } .bar-in.gold { background: linear-gradient(90deg, #B58F45, #E9CF8F); }
.w-0{width:0}.w-5{width:5%}.w-10{width:10%}.w-15{width:15%}.w-20{width:20%}.w-25{width:25%}.w-30{width:30%}.w-35{width:35%}.w-40{width:40%}
.w-45{width:45%}.w-50{width:50%}.w-55{width:55%}.w-60{width:60%}.w-65{width:65%}.w-70{width:70%}.w-75{width:75%}.w-80{width:80%}.w-85{width:85%}
.w-90{width:90%}.w-95{width:95%}.w-100{width:100%}

/* the path */
.path-box { overflow-x: auto; padding-top: 4px; }
.path { list-style: none; margin: 0; padding: 30px 0 4px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); }
.ps { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 6px; }
.ps::before, .ps::after { content: ""; position: absolute; top: 17px; height: 3px; background: var(--line2); }
.ps::before { left: 0; right: 50%; } .ps::after { left: 50%; right: 0; }
.ps.first::before, .ps.last::after { display: none; }
.ps-done::before, .ps-done::after, .ps-here::before { background: var(--green); }
.ps-dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; background: var(--card); border: 2px solid var(--line); color: var(--faint); }
.ps-done .ps-dot { background: var(--green); border-color: var(--green); color: #fff; }
.ps-here .ps-dot { border: 3px solid var(--gold); color: var(--gold); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(227,199,123,.55); } 50% { box-shadow: 0 0 0 9px rgba(227,199,123,0); } }
.here-tag { position: absolute; top: -28px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.ps-name { margin-top: 10px; font-weight: 600; font-size: 15px; line-height: 1.25; }
.ps-when { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* lists */
.ev { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line2); }
.ev-d { width: 52px; text-align: center; flex: none; } .ev-n { font-size: 22px; font-weight: 700; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  white-space: nowrap; text-decoration: none; }
.tag-gold { border-color: var(--gold); color: var(--gold); } .tag-green { border-color: var(--green); color: var(--green-ink); }
a.tag-gold:hover { background: var(--card2); }
.fold { margin-top: 14px; } .fold > summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 6px 0; }
.fold.card > summary { padding: 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 10px 0 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }

/* courses */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.tiles-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin-top: 14px; }
.tile { display: block; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); text-decoration: none; color: var(--ink);
  transition: box-shadow .2s, transform .2s; padding: 0; text-align: left; font: inherit; cursor: pointer; }
.tile:hover { box-shadow: 0 12px 28px rgba(0,0,0,.35); transform: translateY(-2px); }
.tile img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tile-b { display: block; padding: 14px 16px 16px; }
.tile-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.tile-pic { position: relative; display: block; } .locked img { filter: saturate(.85) brightness(.8); }
.lock { position: absolute; top: 10px; right: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(13,12,10,.86); color: #E3C77B; font-size: 12px; font-weight: 700; }
.lock-vip { background: rgba(30,127,90,.92); color: #FFFFFF; }
.vip-box { max-width: 520px; width: calc(100% - 32px); border: 1px solid var(--gold); border-radius: 16px; background: var(--card); color: var(--ink); padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.vip-box::backdrop { background: rgba(0,0,0,.6); }
.vip-box p { margin: 10px 0 0; }
.lock-note { margin-top: 12px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--gold); background: var(--card2); }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.tool { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.tool-i { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); color: var(--green); display: flex; align-items: center; justify-content: center; }
.tool-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* staff */
.lbl { display: block; font-weight: 600; margin-bottom: 6px; }
.find { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card2); color: var(--ink); font: 17px Figtree, sans-serif; }
.tbl-box { overflow-x: auto; margin-top: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tbl td.wrap { white-space: normal; }

@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .side { flex: 1 1 100%; display: none; border-right: 0; border-bottom: 1px solid var(--line2); }
  .side.open { display: block; }
  .clocks { order: 5; width: 100%; } .clocks > span { flex: 1; }
  .main { padding: 20px 16px 32px; }
  .steps3 { grid-template-columns: 1fr; }
  .h1 { font-size: 32px; }
}
@media (max-width: 520px) {
  .top { padding: 10px 16px; } .brand-name { font-size: 21px; } .me span:last-child { display: none; }
  .welcome-card { padding: 20px; } .two { grid-template-columns: 1fr; } .stats .stat { font-size: 22px; }
  .kv { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .hero-chart .line, .tri, .tri-glow, .tape-move, .ps-here .ps-dot { animation: none; } }
