:root {
  --ink: #18231f;
  --muted: #63706b;
  --paper: #f7f6f0;
  --white: #fffefa;
  --sage: #dfe8d6;
  --green: #255845;
  --lime: #d9ee72;
  --line: #dde1d9;
  --danger: #a73535;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.site-header {
  height: 76px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,254,250,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); font-weight: 800; }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { font-size: 17px; letter-spacing: -.03em; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .19em; margin-top: 4px; text-transform: uppercase; }
nav { display: flex; gap: 30px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
nav a.active { color: var(--ink); }
.account-button { border: 0; background: transparent; display: flex; gap: 9px; align-items: center; font-weight: 650; }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--green); font-size: 12px; font-weight: 800; }

.login-shell { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1.1fr .9fr; }
.login-art { margin: 30px 0 30px 30px; min-height: 620px; border-radius: 24px; position: relative; overflow: hidden; background:
  radial-gradient(circle at 65% 25%, rgba(217,238,114,.9) 0 8%, transparent 8.5%),
  linear-gradient(145deg, rgba(28,66,54,.15), transparent 45%),
  repeating-linear-gradient(110deg, transparent 0 80px, rgba(255,255,255,.045) 80px 82px),
  #285747;
}
.login-art::before, .login-art::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.login-art::before { width: 540px; height: 540px; right: -160px; bottom: -250px; }
.login-art::after { width: 350px; height: 350px; right: -65px; bottom: -160px; }
.art-copy { position: absolute; left: 7%; bottom: 9%; color: white; font-size: clamp(35px,5vw,72px); letter-spacing: -.05em; line-height: .98; }
.art-copy span, .art-copy strong { display: block; }
.art-copy strong { color: var(--lime); font-weight: 700; }
.login-card { align-self: center; justify-self: center; width: min(420px, 78%); }
.eyebrow { margin: 0 0 13px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: var(--green); }
.login-card h1 { margin: 0; font-size: 43px; letter-spacing: -.045em; }
.muted { color: var(--muted); line-height: 1.55; }
.login-card label { display: block; margin-top: 22px; font-size: 13px; font-weight: 700; }
.login-card input { margin-top: 8px; width: 100%; padding: 14px 15px; border: 1px solid #cfd5cc; border-radius: 9px; background: var(--white); outline: none; }
.login-card input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(37,88,69,.12); }
.primary { border: 0; border-radius: 9px; padding: 13px 20px; background: var(--green); color: white; font-weight: 750; }
.primary:hover { background: #193f31; }
.full { width: 100%; margin-top: 14px; }
.help-link { display: block; margin-top: 18px; text-align: center; color: var(--green); font-size: 13px; }
.form-error { min-height: 19px; color: var(--danger); font-size: 13px; }

.schedule { padding-bottom: 90px; }
.hero { min-height: 250px; padding: 55px 8vw; display: flex; justify-content: space-between; align-items: flex-end; background: var(--sage); }
.hero h1 { margin: 0; max-width: 650px; font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; font-size: clamp(42px, 6vw, 70px); }
.hero p:last-child { color: #4b5e55; }
.hero-badge { width: 145px; height: 145px; padding: 31px 20px; border-radius: 50%; background: var(--lime); text-align: center; transform: rotate(5deg); }
.hero-badge span, .hero-badge strong { display: block; }
.hero-badge span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.schedule-toolbar { max-width: 1120px; margin: 48px auto 24px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.date-label { font-family: Georgia, serif; font-size: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter { border: 1px solid #cdd3ca; background: transparent; border-radius: 100px; padding: 8px 14px; font-size: 12px; }
.filter.active { background: var(--ink); color: white; border-color: var(--ink); }
.class-list { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: grid; gap: 12px; }
.class-card { display: grid; grid-template-columns: 115px 1fr 160px 38px; gap: 22px; align-items: center; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--white); transition: .16s ease; }
.class-card:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(24,35,31,.06); border-color: #c6cec3; }
.class-time strong, .class-time span { display: block; }
.class-time strong { font-size: 18px; }
.class-time span { color: var(--muted); font-size: 12px; margin-top: 4px; }
.class-title h2 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.02em; }
.class-title p { margin: 0; color: var(--muted); font-size: 13px; }
.availability { text-align: right; font-size: 12px; color: var(--muted); }
.availability strong { display: block; color: var(--green); font-size: 13px; }
.availability.full strong { color: #8f3e35; }
.chevron { border: 0; background: var(--sage); width: 34px; height: 34px; border-radius: 50%; color: var(--green); font-size: 18px; }

.backdrop { position: fixed; inset: 0; z-index: 30; background: rgba(15,25,21,.38); }
.drawer { position: fixed; z-index: 31; top: 0; right: 0; height: 100vh; width: min(490px, 100vw); overflow: auto; padding: 70px 42px 42px; background: var(--white); transform: translateX(102%); transition: transform .22s ease; box-shadow: -20px 0 60px rgba(20,30,25,.17); }
.drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; right: 24px; top: 20px; border: 0; background: transparent; font-size: 31px; color: var(--muted); }
.drawer .category { display: inline-block; padding: 6px 10px; border-radius: 100px; background: var(--sage); color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.drawer h2 { margin: 18px 0 10px; font-family: Georgia, serif; font-size: 42px; font-weight: 400; line-height: 1.05; }
.drawer-meta { padding: 18px 0; margin: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: 13px; }
.drawer-meta span { display: block; color: var(--muted); margin-bottom: 3px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.roster { margin-top: 26px; }
.roster h3 { font-size: 14px; }
.roster-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.member { display: flex; align-items: center; gap: 7px; padding: 6px 9px 6px 6px; border-radius: 100px; background: #f0f2ed; font-size: 11px; }
.member .avatar { width: 25px; height: 25px; font-size: 9px; }
.drawer-action { width: 100%; margin-top: 28px; }
.drawer-action.secondary { background: transparent; color: var(--green); border: 1px solid var(--green); }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 40; transform: translate(-50%, 120px); opacity: 0; padding: 13px 20px; border-radius: 9px; background: var(--ink); color: white; font-size: 13px; transition: .2s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 760px) {
  nav { display: none; }
  .login-shell { grid-template-columns: 1fr; }
  .login-art { display: none; }
  .login-card { min-height: calc(100vh - 76px); padding-top: 70px; align-self: start; }
  .hero { padding: 42px 24px; }
  .hero-badge { display: none; }
  .schedule-toolbar { align-items: flex-start; flex-direction: column; }
  .class-card { grid-template-columns: 85px 1fr 34px; gap: 12px; }
  .availability { display: none; }
  .drawer { padding: 65px 25px 35px; }
}

