:root {
  --ink: #15384b;
  --muted: #4e6876;
  --blue: #075f91;
  --water: #e4f4f7;
  --paper: #f8fbfc;
  --line: #c8dbe2;
  --orange: #e69346;
  --error: #9d2626;
  --radius: 12px;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--blue);
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 650;
  margin-bottom: 1.3rem;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 600;
}
h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}
p {
  max-width: 70ch;
}
small,
.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}
.shell {
  max-width: 1180px;
  margin-inline: auto;
  padding: 0 32px;
}
.narrow {
  max-width: 680px;
  padding-top: 48px;
  padding-bottom: 64px;
}
.reading {
  max-width: 820px;
  padding-top: 64px;
  padding-bottom: 80px;
}
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 48ch;
}
.site-header {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-size: 1.8rem;
  font-weight: 750;
  letter-spacing: -0.075em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand-dot {
  font-size: 0.65rem;
  color: var(--orange);
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-header nav > a:not(.button) {
  color: var(--ink);
  text-decoration: none;
}
.button,
button {
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 8px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  min-height: 48px;
  line-height: 1.4;
}
.button:hover,
button:hover {
  background: #064d76;
}
.secondary {
  background: transparent;
  color: var(--blue);
}
.secondary:hover {
  background: var(--water);
}
.small {
  padding: 9px 16px;
  min-height: 42px;
}
.danger {
  background: white;
  border-color: var(--error);
  color: var(--error);
}
.danger:hover {
  background: #fff0ee;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 92px;
}
.hero h1 {
  font-size: clamp(2.8rem, 4.6vw, 4.2rem);
}
.eyebrow {
  font-size: 1rem;
  color: var(--blue);
  font-weight: 650;
  margin-bottom: 20px;
}
.hero .button {
  margin: 14px 0 18px;
}
.hero-planning {
  background: var(--water);
  border-radius: 24px 24px 80px 24px;
  padding: 28px 28px 0;
  position: relative;
  overflow: hidden;
}
.planning-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  font-weight: 600;
}
.pill {
  font-size: 0.8rem;
  display: inline-block;
  padding: 4px 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  white-space: nowrap;
}
.sample-lesson {
  display: flex;
  align-items: center;
  gap: 18px;
  background: white;
  margin-bottom: 12px;
  padding: 20px 16px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
.sample-time {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}
.sample-lesson h2 {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.sample-lesson p:not(.sample-time) {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.sample-status {
  margin-left: auto;
  font-size: 0.8rem;
  white-space: nowrap;
  color: var(--blue);
}
.sample-footer {
  font-size: 0.85rem;
  margin: 24px 0 0;
  position: relative;
  z-index: 1;
}
.track-art {
  height: 140px;
  position: relative;
  transform: rotate(-12deg);
  margin-top: 16px;
}
.track-art i {
  position: absolute;
  border: 8px solid white;
  border-radius: 100px;
  width: 380px;
  height: 140px;
  left: 20px;
  top: 0;
}
.track-art i:nth-child(2) {
  width: 300px;
  height: 100px;
  left: 60px;
  top: 20px;
  border-color: #aed7e1;
}
.track-art i:nth-child(3) {
  width: 220px;
  height: 60px;
  left: 100px;
  top: 40px;
  border-color: var(--orange);
}
.explanation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-top: 48px;
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
}
.explanation h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.explanation h3 {
  margin-bottom: 10px;
}
.explanation p {
  margin-bottom: 36px;
  color: var(--muted);
}
.closing {
  padding: 45px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--water);
  border-radius: 16px;
}
.closing h2 {
  font-size: 1.7rem;
  margin: 0;
}
.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 18px;
  padding-top: 64px;
  padding-bottom: 40px;
  font-size: 0.9rem;
}
.site-footer p {
  align-self: center;
  margin: 0;
}
.site-footer nav {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--muted);
}
.club-heading {
  padding-top: 36px;
  padding-bottom: 24px;
}
.club-heading h1 {
  margin-bottom: 14px;
}
.club-heading .lead {
  margin-bottom: 10px;
}
.planning {
  padding-top: 20px;
  padding-bottom: 60px;
  max-width: 960px;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 1.8rem;
}
.section-heading p {
  color: var(--muted);
  font-size: 0.9rem;
}
.lesson {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 340px);
  gap: 36px;
}
.lesson h3 {
  font-size: 1.5rem;
  margin: 10px 0;
}
.lesson time {
  color: var(--blue);
  font-weight: 650;
  display: block;
}
.lesson .status {
  font-weight: 650;
  margin-bottom: 0;
}
.booking-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
  font-weight: 600;
  font-size: 0.95rem;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #93adb9;
  border-radius: 6px;
  background: white;
  padding: 10px 12px;
  color: var(--ink);
  font-weight: 400;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
.field input[type="checkbox"] {
  width: auto;
  align-self: flex-start;
}
.form-note {
  line-height: 1.5;
  margin: 14px 0 0;
}
.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.notice {
  padding: 16px 20px;
  border-left: 4px solid var(--blue);
  background: var(--water);
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}
.error {
  color: var(--error);
  background: #fff0ee;
  border-color: var(--error);
}
.embed .shell {
  padding-inline: 16px;
}
.embed .club-heading {
  padding-top: 20px;
}
.embed h1 {
  font-size: 2rem;
}
.embed .lesson {
  gap: 20px;
}
.secret-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  margin: 24px 0;
}
.secret-panel h2 {
  font-size: 1.6rem;
}
.secret-link {
  overflow-wrap: anywhere;
  word-break: break-word;
  display: block;
  margin: 8px 0 24px;
}
.admin-header {
  background: var(--water);
  border-bottom: 1px solid var(--line);
}
.admin-header .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 20px;
}
.admin-header nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.admin-header form {
  margin: 0;
}
.admin-content {
  padding-top: 36px;
  padding-bottom: 64px;
}
.admin-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.admin-title h1 {
  font-size: 2.6rem;
  margin: 0;
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.admin-block {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 12px;
}
.admin-block h2 {
  font-size: 1.6rem;
}
.club-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.club-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.club-card h2 {
  font-size: 1.6rem;
}
.admin-lessons {
  margin-top: 40px;
}
.admin-lesson {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.admin-lesson h3 {
  font-size: 1.4rem;
}
.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin: 18px 0;
}
.inline-form .field {
  margin: 0;
  max-width: 150px;
}
.confirm-form {
  margin: 16px 0;
  padding: 16px;
  background: var(--paper);
  border-radius: 8px;
}
.confirm-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.confirm-form input {
  width: 20px;
  height: 20px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
td .confirm-form {
  padding: 10px;
  margin: 0;
  min-width: 180px;
}
summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 44px;
  padding-block: 12px;
}
details {
  margin: 18px 0;
}
.article-summary {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.article-summary h2 {
  font-size: 1.8rem;
  margin: 10px 0;
}
.article-summary time,
.reading > time {
  color: var(--muted);
  font-size: 0.9rem;
}
.prose {
  margin-top: 32px;
}
.prose h2 {
  font-size: 1.8rem;
  margin-top: 36px;
}
.empty {
  padding: 28px;
  background: var(--water);
  border-radius: 12px;
}
@media (max-width: 760px) {
  .shell {
    padding-inline: 20px;
  }
  .site-header {
    min-height: 88px;
  }
  .site-header nav {
    gap: 16px;
  }
  .site-header nav > a:not(.button) {
    font-size: 0.9rem;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 48px;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero-planning {
    max-width: 540px;
  }
  .explanation {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 24px;
  }
  .closing {
    margin-inline: 20px;
    display: block;
    padding: 28px;
  }
  .closing .button {
    margin-top: 20px;
  }
  .site-footer {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }
  .lesson {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .admin-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .admin-header .shell {
    align-items: flex-start;
  }
  .admin-header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .admin-header nav a {
    font-size: 0.9rem;
  }
  .narrow,
  .reading {
    padding-top: 32px;
  }
  .admin-title h1 {
    font-size: 2rem;
  }
  .sample-lesson {
    padding: 16px 12px;
    gap: 12px;
  }
  .sample-time {
    font-size: 1.2rem;
  }
  .sample-status {
    font-size: 0.75rem;
  }
  .hero-planning {
    padding: 22px 16px 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
