:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1020;
  color: #f8fafc;
}

* { box-sizing: border-box; }

html { min-width: 20rem; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 68, 68, 0.2), transparent 31rem),
    radial-gradient(circle at 88% 88%, rgba(245, 158, 11, 0.14), transparent 28rem),
    #0b1020;
}

a { color: inherit; }

.site-header {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 850;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-brick {
  width: 1.75rem;
  height: 1.15rem;
  position: relative;
  border-radius: 0.2rem;
  background: #ef4444;
  box-shadow: inset 0 -0.2rem 0 rgba(127, 29, 29, 0.35);
}

.brand-brick::before,
.brand-brick::after {
  content: "";
  width: 0.35rem;
  height: 0.22rem;
  position: absolute;
  top: -0.18rem;
  border-radius: 0.12rem 0.12rem 0 0;
  background: #f87171;
}

.brand-brick::before { left: 0.35rem; }
.brand-brick::after { right: 0.35rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.page-shell {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  flex: 1;
}

.hero-shell { display: grid; place-items: center; padding: 3rem 0 5rem; }
.content-shell { padding: clamp(4rem, 9vw, 8rem) 0 6rem; }

.welcome-card {
  width: min(100%, 50rem);
  padding: clamp(2.5rem, 7vw, 5rem);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.brick-mark {
  width: 5.5rem;
  height: 3.6rem;
  margin: 0 auto 2.25rem;
  display: flex;
  justify-content: space-around;
  padding: 0 0.45rem;
  border-radius: 0.5rem;
  background: #ef4444;
  box-shadow: inset 0 -0.45rem 0 rgba(127, 29, 29, 0.35);
}

.brick-mark span {
  width: 0.82rem;
  height: 0.5rem;
  margin-top: -0.45rem;
  border-radius: 0.25rem 0.25rem 0 0;
  background: #f87171;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 { margin: 0; letter-spacing: -0.025em; }

.message,
.lead {
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.message { max-width: 36rem; margin: 1.5rem auto 2rem; }
.lead { max-width: 44rem; margin: 1.4rem 0 0; }

.button-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { color: #190706; background: #f87171; }
.button-primary:hover { background: #fca5a5; }
.button-secondary { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); }
.button-secondary:hover { background: rgba(255,255,255,0.11); }

.page-intro { max-width: 52rem; }
.about-intro { max-width: 58rem; }

.founder-story {
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  border: 1px solid rgba(248, 113, 113, 0.22);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(127, 29, 29, 0.18), transparent 65%),
    rgba(15, 23, 42, 0.72);
}

.founder-copy h2 {
  max-width: 34rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

blockquote {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  font-weight: 550;
  line-height: 1.75;
}

.story-bricks {
  height: 15rem;
  position: relative;
}

.story-bricks span {
  width: 6.5rem;
  height: 3rem;
  position: absolute;
  border-radius: 0.45rem;
  background: #ef4444;
  box-shadow: inset 0 -0.42rem 0 rgba(127, 29, 29, 0.4), 0 1rem 2rem rgba(0,0,0,0.2);
}

.story-bricks span:nth-child(1) { left: 0; bottom: 0; }
.story-bricks span:nth-child(2) { right: 0; bottom: 0; background: #f59e0b; box-shadow: inset 0 -0.42rem 0 #b45309; }
.story-bricks span:nth-child(3) { left: 2.7rem; bottom: 3.35rem; background: #3b82f6; box-shadow: inset 0 -0.42rem 0 #1d4ed8; }
.story-bricks span:nth-child(4) { right: 0.8rem; bottom: 6.7rem; background: #22c55e; box-shadow: inset 0 -0.42rem 0 #15803d; }
.story-bricks span:nth-child(5) { left: 0.5rem; bottom: 10.05rem; }

.name-story {
  margin-top: 1rem;
  padding: clamp(2rem, 5vw, 3.25rem);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 1.4rem;
  background: rgba(245, 158, 11, 0.07);
}

.name-story h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.name-story p:last-child {
  max-width: 50rem;
  margin: 1rem 0 0;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.name-story strong { color: #fbbf24; }

.info-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-card,
.empty-state {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1.4rem;
  background: rgba(15, 23, 42, 0.68);
}

.info-card { padding: 2rem; }
.info-card h2 { margin-top: 1.4rem; font-size: 1.3rem; }
.info-card p { margin: 0.8rem 0 0; color: #94a3b8; line-height: 1.65; }
.card-number { color: #f87171; font-size: 0.78rem; font-weight: 850; letter-spacing: 0.15em; }

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  margin-top: 2rem;
  color: #fbbf24;
  font-weight: 800;
  text-decoration: none;
}

.schedule-intro {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.schedule-count { text-align: right; }
.schedule-count strong { display: block; color: #f87171; font-size: 3.5rem; line-height: 0.9; }
.schedule-count span { color: #94a3b8; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }

.empty-state { margin-top: 3rem; padding: clamp(3rem, 8vw, 6rem); text-align: center; }
.empty-state h2 { margin-top: 1.8rem; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.empty-state p { max-width: 31rem; margin: 0.9rem auto 1.6rem; color: #94a3b8; line-height: 1.7; }

.empty-bricks { height: 3rem; display: flex; justify-content: center; align-items: end; gap: 0.35rem; }
.empty-bricks span { width: 2.6rem; height: 1.6rem; border-radius: 0.3rem; background: #334155; box-shadow: inset 0 -0.25rem 0 #1e293b; }
.empty-bricks span:nth-child(2) { margin-bottom: 1rem; background: #ef4444; box-shadow: inset 0 -0.25rem 0 #991b1b; }

.site-footer {
  width: min(100% - 2rem, 74rem);
  margin: 0 auto;
  padding: 1.5rem 0;
  color: #64748b;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 45rem) {
  .site-header,
  .page-shell,
  .site-footer { width: min(100% - 1.25rem, 74rem); }

  .site-header {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0 0.5rem;
  }

  .brand { justify-content: center; font-size: 0.96rem; }

  .site-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.25rem;
    padding: 0.25rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.85rem;
    background: rgba(15, 23, 42, 0.72);
  }

  .site-nav a {
    min-width: 0;
    padding: 0.65rem 0.3rem;
    border-radius: 0.62rem;
    font-size: 0.73rem;
    line-height: 1.15;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .hero-shell { padding: 1.5rem 0 3rem; }
  .content-shell { padding: 2.75rem 0 3.5rem; }
  .welcome-card { padding: 2.5rem 1.15rem; border-radius: 1.25rem; }
  .brick-mark { margin-bottom: 1.8rem; transform: scale(0.86); }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .message,
  .lead { font-size: 1rem; line-height: 1.6; }
  .message { margin: 1.2rem auto 1.6rem; }
  .button-row { align-items: stretch; flex-direction: column; }
  .button-row .button { width: 100%; }

  .info-grid { grid-template-columns: 1fr; }
  .info-grid { margin-top: 1rem; }
  .info-card { padding: 1.5rem; }

  .founder-story {
    margin-top: 2.25rem;
    padding: 1.5rem;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    border-radius: 1.25rem;
  }

  .founder-copy h2 { font-size: 1.75rem; }
  blockquote { margin-top: 1.1rem; font-size: 1rem; line-height: 1.65; }

  .story-bricks {
    width: 11rem;
    height: 11.5rem;
    margin: -0.5rem auto 0;
    transform: scale(0.82);
    transform-origin: center;
  }

  .name-story { margin-top: 0.75rem; padding: 1.5rem; border-radius: 1.15rem; }
  .name-story h2 { font-size: 1.65rem; }
  .name-story p:last-child { font-size: 1rem; line-height: 1.65; }

  .schedule-intro { align-items: flex-start; flex-direction: column; }
  .schedule-count { text-align: left; }
  .schedule-count strong { font-size: 3rem; }
  .empty-state { margin-top: 2rem; padding: 3rem 1.25rem; border-radius: 1.2rem; }
  .site-footer { padding: 1.25rem 0; }
}

@media (max-width: 23rem) {
  .site-nav a { font-size: 0.68rem; }
  .welcome-card { padding-inline: 0.9rem; }
  .founder-story,
  .name-story,
  .info-card { padding-inline: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
