:root {
  --ink: #102820;
  --ink-soft: #2d4a40;
  --paper: #eef3ef;
  --paper-deep: #dde8e1;
  --board: #14352f;
  --accent: #1b6b4a;
  --accent-hover: #15553b;
  --highlight: #b7e4c7;
  --amber: #c9851a;
  --line: rgba(16, 40, 32, 0.12);
  --radius: 14px;
  --shadow: 0 18px 40px rgba(16, 40, 32, 0.08);
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, #cfe8d8 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, #d9ebe2 0%, transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, #f7faf8 45%, var(--paper-deep) 100%);
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(238, 243, 239, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1000px;
  margin-inline: auto;
  width: 100%;
  padding: 0.9rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 1000px;
  margin-inline: auto;
  width: 100%;
  padding: 1.25rem 1.5rem 0.75rem;
}

.hero-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.brand-mark {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  animation: rise 0.7s ease both;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: nowrap;
  animation: rise 0.7s ease 0.08s both;
}

.lede {
  margin: 0 0 1rem;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  animation: rise 0.7s ease 0.16s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.7s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--accent);
  color: #f4fbf7;
}

.btn.primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(16, 40, 32, 0.22);
}

.btn.ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.hero-visual {
  animation: fade-in 1s ease 0.2s both;
  flex: 0 0 220px;
  width: 220px;
}

.board {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.board-art {
  width: 100%;
  height: auto;
  display: block;
}

.board-art .eq {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.board-art .eq.small {
  font-size: 16px;
  opacity: 0.9;
}

.tutors,
.contact {
  max-width: 1000px;
  margin-inline: auto;
  width: 100%;
  padding: 1.25rem 1.5rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 0.85rem;
}

.section-head h2,
.contact h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
}

.tutor {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.15rem 1.35rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.subject-tag {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.subject-tag.muted {
  color: var(--ink-soft);
}

.tutor h3,
.coming-soon h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.experience {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topics li {
  padding: 0.4rem 0.75rem;
  background: var(--highlight);
  color: var(--board);
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.detail-block {
  margin-bottom: 0.75rem;
}

.detail-block h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.detail-block p {
  margin: 0;
  color: var(--ink-soft);
}

.coming-soon {
  margin-top: 0.85rem;
  padding: 0.9rem 1.15rem;
  border: 1.5px dashed rgba(16, 40, 32, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.35);
}

.coming-soon p:last-child {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.contact {
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

.contact p {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
  white-space: nowrap;
}

.site-footer {
  max-width: 1000px;
  margin-inline: auto;
  width: 100%;
  padding: 0.75rem 1.5rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .site-header-inner {
    padding: 0.7rem 1rem;
    gap: 0.75rem;
  }

  .brand {
    font-size: 0.98rem;
    gap: 0.45rem;
    min-width: 0;
  }

  .brand img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav {
    gap: 0.85rem;
    flex-shrink: 0;
  }

  .nav a {
    font-size: 0.92rem;
  }

  .hero {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1rem 0.75rem;
  }

  .hero-copy {
    flex: 1 1 auto;
    min-width: 0;
  }

  .brand-mark {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .hero h1 {
    white-space: normal;
    font-size: 1.4rem;
    margin-bottom: 0.45rem;
  }

  .lede {
    font-size: 0.98rem;
    margin-bottom: 0.75rem;
  }

  .btn {
    padding: 0.55rem 0.9rem;
    font-size: 0.92rem;
  }

  .hero-visual {
    flex: 0 0 112px;
    width: 112px;
  }

  .tutor {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tutors,
  .contact {
    padding: 1rem;
  }

  .contact p {
    white-space: normal;
  }
}

@media (max-width: 400px) {
  .brand-mark {
    display: none;
  }

  .hero-visual {
    flex: 0 0 96px;
    width: 96px;
  }

  .nav {
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .brand-mark,
  .hero h1,
  .lede,
  .cta-row,
  .hero-visual {
    animation: none;
  }

  .btn:hover {
    transform: none;
  }
}
