:root {
  --bg: #0a0a0a;
  --bg-alt: #141414;
  --fg: #ffffff;
  --fg-muted: #a3a3a3;
  --accent: #ff5a1f;
  --border: #262626;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 42px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: var(--fg-muted);
  transition: color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--fg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--fg);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.social-link:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ff6f3d;
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--fg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero .tagline {
  font-size: 1.1rem;
  color: #e5e5e5;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* Section */
.section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 60px;
}

.section h2 {
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 1rem;
}

.section-intro {
  color: var(--fg-muted);
  max-width: 650px;
  margin: 0 0 2.5rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 700px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 700px) {
  .about-photo {
    max-width: 320px;
    margin: 0 auto;
  }
}

.about-copy a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.about-copy a:hover {
  color: #ff8a5c;
}

.about-copy p {
  color: var(--fg-muted);
  line-height: 1.7;
}

/* Teach cards */
.teach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.teach-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.teach-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.teach-card p {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Sizzle reel */
.video-placeholder {
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--fg-muted);
}

.play-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--fg-muted);
  margin-left: 3px;
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(rgba(10, 10, 10, 0.55), rgba(10, 10, 10, 0.75));
}

.hero-content {
  position: relative;
}

/* CTA banner */
.cta-banner {
  text-align: center;
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.cta-banner h2 {
  text-transform: uppercase;
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.cta-banner p {
  color: var(--fg-muted);
  margin: 0 0 2rem;
}

/* Buttons as form controls shouldn't inherit browser defaults */
button.btn {
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* Availability */
.booking-message {
  color: var(--fg-muted);
  margin: 0;
}

.cal-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cal-nav {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.cal-nav:hover:not(:disabled) {
  border-color: var(--accent);
}

.cal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.slots-empty {
  color: var(--fg-muted);
  margin: 0;
}

.slot {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--fg);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.slot:hover,
.slot:focus-visible {
  background: var(--accent);
  color: #0a0a0a;
}

.modal-block {
  margin: 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: rgba(255, 90, 31, 0.1);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Schedule modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}

.modal-overlay:not([hidden]) {
  display: flex;
}

.modal {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem 2rem;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.modal-intro {
  color: var(--fg-muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--fg-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--fg);
}

.schedule-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.schedule-form label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fg);
}

.schedule-form .optional {
  color: var(--fg-muted);
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.schedule-form input,
.schedule-form select,
.schedule-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--fg);
  background: #0f0f0f;
  color-scheme: dark;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
  min-height: 3rem;
}

.schedule-form textarea {
  resize: vertical;
  line-height: 1.5;
}

.schedule-form input::placeholder,
.schedule-form textarea::placeholder {
  color: #6b6b6b;
}

.schedule-form input:focus,
.schedule-form select:focus,
.schedule-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.schedule-form [aria-invalid="true"] {
  border-color: #ff5252;
}

.field-error {
  color: #ff7b7b;
  font-size: 0.8rem;
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.schedule-form .btn {
  margin-top: 0.5rem;
}

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin: 0;
}

/* Week-view booking calendar */
.week-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 420px;
  margin-bottom: 0.75rem;
}

.week-scroll {
  overflow-x: auto;
  color-scheme: dark;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
}

.week {
  display: grid;
  grid-template-columns: 52px repeat(7, minmax(0, 1fr));
}

.wk-head {
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.wk-head strong {
  display: block;
  font-size: 1.15rem;
  letter-spacing: normal;
  color: var(--fg);
}

.wk-head.today strong {
  color: var(--accent);
}

.wk-gutter {
  position: relative;
}

.wk-hour {
  position: absolute;
  right: 0.4rem;
  padding-top: 2px;
  font-size: 0.68rem;
  color: var(--fg-muted);
}

.wk-col {
  position: relative;
  border-left: 1px solid var(--border);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--row) - 1px), var(--border) calc(var(--row) - 1px), var(--border) var(--row));
  user-select: none;
  -webkit-user-select: none;
}

.wk-window {
  position: absolute;
  left: 2px;
  right: 2px;
  box-sizing: border-box;
  padding: 0.2rem 0.35rem;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid rgba(255, 90, 31, 0.45);
  background: rgba(255, 90, 31, 0.14);
  color: #ffb69a;
  font-size: 0.68rem;
  cursor: crosshair;
  touch-action: pan-y;
}

.wk-window:hover {
  background: rgba(255, 90, 31, 0.25);
}

.wk-ghost {
  position: absolute;
  left: 6px;
  right: 6px;
  z-index: 1;
  box-sizing: border-box;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  border: 2px dashed var(--accent);
  background: rgba(255, 90, 31, 0.3);
  color: #ffd2c0;
  font-size: 0.75rem;
  font-weight: 700;
  pointer-events: none;
}

.wk-event {
  position: absolute;
  left: 6px;
  right: 6px;
  z-index: 2;
  box-sizing: border-box;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: grab;
  touch-action: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
}

.wk-event:active {
  cursor: grabbing;
}

.week-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  min-height: 3.25rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .week {
    grid-template-columns: 34px repeat(7, minmax(0, 1fr));
  }

  .wk-head {
    font-size: 0.58rem;
    letter-spacing: 0;
  }

  .wk-head strong {
    font-size: 0.95rem;
  }

  .wk-hour {
    right: 0.25rem;
    font-size: 0.58rem;
  }

  .wk-window {
    font-size: 0; /* label is too long for a phone column; the shading says it */
    left: 1px;
    right: 1px;
  }

  .wk-event,
  .wk-ghost {
    left: 2px;
    right: 2px;
    padding: 0.25rem;
    font-size: 0; /* time is shown live in the summary line below the grid */
    overflow: hidden;
  }
}

/* Contact page */
.contact-section {
  border-top: none;
  padding-top: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
}

.contact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  text-decoration: none;
  display: block;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.contact-card:hover,
.contact-card[aria-expanded="true"] {
  border-color: var(--accent);
}

.contact-card:hover {
  transform: translateY(-2px);
}

.contact-form-panel {
  max-width: 560px;
  margin-top: 1.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.contact-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-card p {
  color: var(--fg-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.footer-inner .logo {
  height: 24px;
  opacity: 0.8;
}
