:root {
  --ink: #28352f;
  --ink-soft: #53615a;
  --cream: #f8f4eb;
  --paper: #fffdf8;
  --sage: #5f7567;
  --sage-dark: #42574b;
  --sage-pale: #dfe7dc;
  --peach: #dda58c;
  --peach-pale: #f0d1bf;
  --gold: #c7934d;
  --line: rgba(40, 53, 47, 0.14);
  --shadow: 0 24px 70px rgba(52, 67, 59, 0.13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(199, 147, 77, 0.42);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  min-height: 88px;
  margin: 0 auto;
  padding: 16px clamp(24px, 5vw, 76px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 39px;
  height: 39px;
}

.brand-mark span {
  position: absolute;
  bottom: 3px;
  left: 14px;
  width: 13px;
  height: 29px;
  border: 1.7px solid var(--sage-dark);
  border-radius: 100% 0 100% 0;
  transform: rotate(-45deg);
}

.brand-mark span:first-child {
  left: 3px;
  bottom: 0;
  transform: rotate(-70deg);
}

.brand-mark span:last-child {
  left: 23px;
  bottom: 0;
  transform: rotate(-20deg);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.local-pill,
.week-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 8px;
  padding: 7px 11px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.local-pill span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6d956d;
  box-shadow: 0 0 0 3px rgba(109, 149, 109, 0.14);
}

.signed-in-as {
  max-width: 200px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.025em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.button-dark {
  color: #fff;
  background: var(--ink);
}

.button-quiet {
  border-color: transparent;
}

.button-outline {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.button-primary {
  color: #fff;
  background: var(--sage-dark);
  box-shadow: 0 12px 30px rgba(66, 87, 75, 0.18);
}

.button-primary:hover:not(:disabled) {
  background: #34483e;
}

.button-large {
  min-height: 53px;
  padding: 13px 24px;
}

.button-full {
  width: 100%;
  min-height: 50px;
}

.view {
  min-height: calc(100vh - 147px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  max-width: 1440px;
  min-height: 650px;
  margin: 0 auto;
  padding: 40px clamp(24px, 7.5vw, 112px) 75px;
}

.hero::before {
  position: absolute;
  top: 10%;
  left: 42%;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(95, 117, 103, 0.1);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 560px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--sage);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1,
.dashboard-heading h1,
.auth-form-wrap h1 {
  margin-bottom: 25px;
  font-family: var(--serif);
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 em,
h2 em {
  color: var(--peach);
  font-weight: 400;
}

.hero-intro {
  max-width: 510px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.text-button,
.form-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.text-button strong,
.form-switch button {
  border-bottom: 1px solid var(--ink);
}

.hero-notes {
  display: flex;
  gap: 26px;
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.hero-notes i {
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 5px;
  place-items: center;
  color: var(--sage);
  border: 1px solid rgba(95, 117, 103, 0.35);
  border-radius: 50%;
  font-size: 10px;
  font-style: normal;
}

.hero-art {
  position: relative;
  z-index: 2;
  min-height: 510px;
}

.sun-orbit {
  position: absolute;
  top: 2%;
  right: 0;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(221, 165, 140, 0.24);
  border-radius: 50%;
}

.sun-orbit::before,
.sun-orbit::after {
  position: absolute;
  border: 1px solid rgba(221, 165, 140, 0.16);
  border-radius: 50%;
  content: "";
}

.sun-orbit::before {
  inset: 34px;
}

.sun-orbit::after {
  inset: 76px;
}

.arch {
  position: absolute;
  overflow: hidden;
  border-radius: 220px 220px 14px 14px;
}

.arch-back {
  top: 14px;
  right: 42px;
  width: 362px;
  height: 460px;
  border: 1px solid rgba(66, 87, 75, 0.19);
}

.arch-front {
  top: 44px;
  right: 72px;
  width: 360px;
  height: 468px;
  background: #b7c3b1;
  box-shadow: var(--shadow);
}

.landscape-sun {
  position: absolute;
  top: 76px;
  left: 106px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: var(--peach-pale);
}

.landscape-hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
}

.hill-one {
  right: -100px;
  bottom: -65px;
  width: 430px;
  height: 295px;
  background: #879b8c;
  transform: rotate(-7deg);
}

.hill-two {
  bottom: -90px;
  left: -145px;
  width: 420px;
  height: 300px;
  background: #d9c1a6;
  transform: rotate(12deg);
}

.yoga-figure {
  position: absolute;
  z-index: 2;
  right: 114px;
  bottom: 69px;
  width: 130px;
  height: 230px;
}

.yoga-figure span {
  position: absolute;
  display: block;
  background: var(--ink);
}

.figure-head {
  top: 0;
  left: 51px;
  width: 28px;
  height: 30px;
  border-radius: 50%;
}

.figure-body {
  top: 28px;
  left: 53px;
  width: 24px;
  height: 95px;
  border-radius: 45% 45% 20% 20%;
}

.figure-arm,
.figure-leg {
  height: 18px;
  border-radius: 20px;
  transform-origin: 8px center;
}

.arm-left {
  top: 40px;
  left: 57px;
  width: 105px;
  transform: rotate(142deg);
}

.arm-right {
  top: 40px;
  left: 66px;
  width: 105px;
  transform: rotate(38deg);
}

.leg-left {
  top: 109px;
  left: 52px;
  width: 105px;
  transform: rotate(129deg);
}

.leg-right {
  top: 109px;
  left: 67px;
  width: 105px;
  transform: rotate(51deg);
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 45px rgba(49, 63, 55, 0.16);
  backdrop-filter: blur(8px);
}

.floating-card span {
  display: grid;
  gap: 2px;
}

.floating-card small,
.floating-card em {
  color: var(--ink-soft);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floating-card strong {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
}

.card-icon {
  display: grid !important;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
  background: var(--cream);
  font-size: 20px;
}

.next-class-card {
  top: 145px;
  left: 0;
}

.spots-card {
  right: 0;
  bottom: 47px;
}

.spots-card > strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: var(--peach);
  font-size: 21px;
}

.botanical {
  position: absolute;
  color: rgba(66, 87, 75, 0.4);
  font-size: 24px;
}

.botanical-one {
  top: 78px;
  left: 58px;
}

.botanical-two {
  right: 25px;
  bottom: 116px;
  font-size: 17px;
}

.landing-lower {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  padding: 70px clamp(24px, 7.5vw, 112px) 86px;
  background: var(--paper);
}

.week-intro h2,
.section-toolbar h2,
.add-class-panel h2 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}

.week-intro > p:last-child,
.section-toolbar p,
.add-class-panel > p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.preview-classes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.preview-card {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.preview-card time {
  display: block;
  margin-bottom: 22px;
  color: var(--sage);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.preview-card strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.preview-card span {
  color: var(--ink-soft);
  font-size: 11px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px clamp(24px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.75);
  background: var(--ink);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.auth-view {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(520px, 1.2fr);
  min-height: calc(100vh - 88px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.auth-visual {
  position: relative;
  display: grid;
  min-height: 680px;
  overflow: hidden;
  place-items: center;
  background: #aab8a7;
}

.auth-arch {
  position: relative;
  width: min(65%, 380px);
  height: 63%;
  overflow: hidden;
  border-radius: 190px 190px 8px 8px;
  background: #ced5c6;
  box-shadow: 0 30px 60px rgba(40, 53, 47, 0.18);
}

.auth-sun {
  position: absolute;
  top: 20%;
  left: 25%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--peach-pale);
}

.auth-hill {
  position: absolute;
  bottom: -16%;
  width: 95%;
  height: 55%;
  border-radius: 50% 50% 0 0;
}

.auth-hill-one {
  right: -22%;
  background: var(--sage);
  transform: rotate(-12deg);
}

.auth-hill-two {
  left: -22%;
  background: #d7bca0;
  transform: rotate(12deg);
}

.auth-visual blockquote {
  position: absolute;
  right: 12%;
  bottom: 8%;
  left: 12%;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.auth-visual cite {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.auth-panel {
  position: relative;
  display: grid;
  min-height: 680px;
  padding: 90px clamp(35px, 8vw, 130px) 60px;
  place-items: center;
}

.back-button {
  position: absolute;
  top: 28px;
  left: 36px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.back-button span {
  margin-right: 7px;
}

.auth-form-wrap {
  width: min(100%, 460px);
}

.auth-form-wrap h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 5vw, 62px);
}

.form-intro {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  line-height: 1.6;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 17px;
}

.field label,
.role-choice legend {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid rgba(40, 53, 47, 0.2);
  border-radius: 4px;
  background: #fff;
}

.field input::placeholder {
  color: #a2aaa6;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.role-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.role-choice legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.role-choice label {
  position: relative;
}

.role-choice input {
  position: absolute;
  opacity: 0;
}

.role-choice label > span {
  display: grid;
  grid-template-columns: 31px 1fr;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.role-choice input:checked + span {
  border-color: var(--sage);
  background: rgba(223, 231, 220, 0.5);
  box-shadow: inset 0 0 0 1px var(--sage);
}

.role-choice i {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-size: 21px;
  font-style: normal;
}

.role-choice strong {
  font-size: 12px;
}

.role-choice small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
}

.local-notice {
  padding: 10px 12px;
  color: var(--ink-soft);
  border-radius: 4px;
  background: var(--cream);
  font-size: 10px;
  line-height: 1.5;
}

.local-notice span {
  margin-right: 6px;
}

.form-error {
  margin: 0 0 13px;
  padding: 10px 12px;
  color: #8a3d32;
  border-left: 3px solid #b86558;
  background: #f8e9e5;
  font-size: 12px;
  line-height: 1.45;
}

.form-switch {
  margin: 19px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}

.form-switch button {
  margin-left: 4px;
  color: var(--ink);
  font-weight: 750;
}

.dashboard-view {
  max-width: 1280px;
  margin: 0 auto;
  padding: 65px clamp(24px, 6vw, 78px) 100px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 70px;
}

.dashboard-heading h1 {
  margin-bottom: 13px;
  font-size: clamp(43px, 5.2vw, 68px);
}

.dashboard-heading > div > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 17px;
}

.dashboard-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 190px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.stat-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold);
  border-radius: 50%;
  background: var(--cream);
  font-size: 22px;
}

.dashboard-stat > span:last-child,
.owner-summary span {
  display: grid;
}

.dashboard-stat strong,
.owner-summary strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.dashboard-stat small,
.owner-summary small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 23px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.section-toolbar h2 {
  margin-bottom: 5px;
  font-size: 29px;
}

.section-toolbar p {
  margin-bottom: 0;
  font-size: 12px;
}

.week-chip {
  margin: 0;
  white-space: nowrap;
}

.class-list {
  display: grid;
  gap: 13px;
}

.class-card {
  display: grid;
  grid-template-columns: 98px minmax(180px, 1.2fr) minmax(255px, 1fr) 165px;
  align-items: center;
  gap: 22px;
  min-height: 118px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.class-card:hover {
  border-color: rgba(66, 87, 75, 0.35);
  box-shadow: 0 12px 35px rgba(52, 67, 59, 0.07);
  transform: translateY(-1px);
}

.class-date {
  display: grid;
  align-self: stretch;
  align-content: center;
  border-right: 1px solid var(--line);
  text-align: center;
}

.class-date span {
  color: var(--sage);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.class-date strong {
  margin-top: 2px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.class-name strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
}

.class-name span,
.class-meta span {
  color: var(--ink-soft);
  font-size: 11px;
}

.class-meta {
  display: flex;
  gap: 22px;
}

.class-meta span {
  display: grid;
  gap: 4px;
}

.class-meta small {
  color: var(--sage);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.class-action {
  display: grid;
  gap: 8px;
}

.class-action .button {
  width: 100%;
}

.spots-label {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.spots-label.low {
  color: #a95f42;
}

.button-cancel {
  color: var(--sage-dark);
  border-color: var(--sage);
  background: var(--sage-pale);
}

.button-full-state {
  color: var(--ink-soft);
  border-color: var(--line);
  background: #eeece6;
}

.empty-state {
  padding: 55px 24px;
  border: 1px dashed rgba(40, 53, 47, 0.25);
  border-radius: 8px;
  text-align: center;
}

.empty-state span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 30px;
}

.empty-state h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.empty-state p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.owner-summary {
  display: flex;
  gap: 28px;
  padding: 14px 21px;
  border-left: 1px solid var(--line);
}

.owner-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(500px, 1.32fr);
  gap: 48px;
  align-items: start;
}

.add-class-panel {
  padding: 28px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 15px 50px rgba(52, 67, 59, 0.08);
}

.add-class-panel .eyebrow {
  margin-bottom: 15px;
}

.add-class-panel h2 {
  margin-bottom: 7px;
  font-size: 29px;
}

.add-class-panel > p {
  margin-bottom: 25px;
  font-size: 12px;
}

.owner-class-list {
  display: grid;
  gap: 12px;
}

.owner-class-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.owner-class-card summary {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center;
  gap: 17px;
  padding: 18px;
  cursor: pointer;
  list-style: none;
}

.owner-class-card summary::-webkit-details-marker {
  display: none;
}

.owner-class-card summary::after {
  color: var(--sage);
  content: "+";
  font-size: 22px;
}

.owner-class-card[open] summary::after {
  content: "−";
}

.owner-class-date {
  display: grid;
  padding: 8px;
  border-radius: 5px;
  background: var(--cream);
  text-align: center;
}

.owner-class-date small {
  color: var(--sage);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.owner-class-date strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
}

.owner-class-main strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}

.owner-class-main span {
  color: var(--ink-soft);
  font-size: 10px;
}

.attendee-count {
  margin-right: 10px;
  padding: 6px 9px;
  color: var(--sage-dark);
  border-radius: 999px;
  background: var(--sage-pale);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guest-list {
  padding: 3px 18px 18px 101px;
  border-top: 1px solid var(--line);
}

.guest-list > p {
  margin: 16px 0 10px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guest {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.guest + .guest {
  border-top: 1px solid rgba(40, 53, 47, 0.08);
}

.guest-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--peach);
  font-family: var(--serif);
  font-size: 13px;
}

.guest strong,
.guest span {
  display: block;
}

.guest strong {
  font-size: 11px;
}

.guest span {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
}

.no-guests {
  margin: 16px 0 0 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.6;
  text-transform: none !important;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  color: white;
  border-radius: 6px;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 12px;
  line-height: 1.5;
  animation: toast-in 180ms ease-out;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr 0.9fr;
    padding-left: 45px;
    padding-right: 45px;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-art {
    transform: scale(0.82);
    transform-origin: right center;
  }

  .class-card {
    grid-template-columns: 82px 1fr 1fr;
  }

  .class-action {
    grid-column: 2 / -1;
    grid-template-columns: 165px 1fr;
    align-items: center;
  }

  .spots-label {
    text-align: left;
  }

  .owner-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 25px;
  }
}

@media (max-width: 800px) {
  .site-header {
    min-height: 74px;
  }

  .local-pill,
  .signed-in-as {
    display: none;
  }

  .header-actions .button {
    padding: 9px 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 55px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-art {
    width: min(100%, 590px);
    margin: 20px auto -15px;
    transform: scale(0.9);
    transform-origin: center center;
  }

  .landing-lower {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .auth-view {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    display: none;
  }

  .auth-panel {
    min-height: calc(100vh - 74px);
  }

  .dashboard-heading {
    align-items: start;
  }

  .owner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 18px;
  }

  .brand-copy small,
  #header-sign-in {
    display: none;
  }

  .brand-mark {
    width: 32px;
    transform: scale(0.82);
  }

  .header-actions .button {
    min-height: 38px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding: 52px 22px 25px;
  }

  .hero::before {
    display: none;
  }

  .hero h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .text-button {
    text-align: left;
  }

  .hero-notes {
    flex-direction: column;
    gap: 9px;
  }

  .hero-art {
    left: 50%;
    width: 540px;
    margin-top: -5px;
    margin-bottom: -60px;
    transform: translateX(-50%) scale(0.66);
    transform-origin: center center;
  }

  .landing-lower {
    padding: 56px 22px;
  }

  .preview-classes {
    grid-template-columns: 1fr;
  }

  .preview-card time {
    margin-bottom: 10px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .auth-panel {
    padding: 90px 22px 50px;
  }

  .back-button {
    left: 14px;
  }

  .role-choice,
  .field-row {
    grid-template-columns: 1fr;
  }

  .dashboard-view {
    padding: 45px 20px 70px;
  }

  .dashboard-heading {
    flex-direction: column;
    gap: 25px;
    margin-bottom: 48px;
  }

  .dashboard-heading h1 {
    font-size: 43px;
  }

  .dashboard-stat,
  .owner-summary {
    width: 100%;
  }

  .section-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .class-card {
    grid-template-columns: 64px 1fr;
    gap: 15px;
  }

  .class-meta {
    grid-column: 2;
  }

  .class-action {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .spots-label {
    text-align: center;
  }

  .class-date strong {
    font-size: 28px;
  }

  .owner-class-card summary {
    grid-template-columns: 53px 1fr auto;
    gap: 10px;
    padding: 13px;
  }

  .attendee-count {
    display: none;
  }

  .guest-list {
    padding-left: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
