:root {
  /* names kept for stability; values inverted for the dark/crow theme */
  --ink: #f3ede0;        /* primary text + "primary" surfaces */
  --paper: #0a0a0a;      /* page background */
  --paper-2: #141414;    /* slight lift (hero, footer, why section) */
  --surface: #1a1a1a;    /* cards, tiers, blockquotes */
  --surface-2: #1f1f1f;  /* card hover */
  --accent: #ea580c;     /* signal orange */
  --accent-2: #fb923c;   /* highlight orange */
  --muted: #8a8378;      /* secondary text */
  --line: #2a2a2a;       /* borders & dividers */
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.caw-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.caw-layer .caw {
  position: absolute;
  font-family: "Impact", "Arial Black", sans-serif;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 2px 2px 0 #000, 0 0 18px rgba(234, 88, 12, 0.4);
  transform-origin: center;
  animation: floatCaw 2.4s ease-out forwards;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@keyframes floatCaw {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4) rotate(-6deg); }
  15%  { opacity: 1; transform: translate(-50%, -60%) scale(1.15) rotate(-4deg); }
  60%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -200%) scale(0.9) rotate(6deg); }
}

/* nav */
.topnav {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 50;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
.topnav .brand {
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.topnav .brand .dot { color: var(--accent); }
.topnav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.topnav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.topnav a:hover { color: var(--accent); }

/* hero */
.hero {
  padding: 80px 32px 72px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(234, 88, 12, 0.10) 0%, transparent 60%),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(255, 255, 255, 0.018) 24px 25px),
    var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 880px;
  margin: 0 auto;
}
.crow-head {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--ink);
  background: #000;
  box-shadow:
    0 12px 0 -2px var(--accent),
    0 30px 60px rgba(0, 0, 0, 0.7),
    0 0 80px rgba(234, 88, 12, 0.2);
  margin-bottom: 24px;
  animation: bob 1.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(2deg); }
}
.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tagline {
  font-size: 19px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 28px;
}
.tagline strong { color: var(--ink); }

.hero-caw {
  margin: 4px 0 28px;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.08em;
}
.hero-caw em {
  color: var(--accent);
  font-style: normal;
  font-weight: 900;
  text-shadow: 0 0 24px rgba(234, 88, 12, 0.35);
}

.cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn.primary {
  background: var(--ink);
  color: var(--paper);
}
.btn.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn.big {
  font-size: 18px;
  padding: 18px 34px;
}
.fineprint {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

/* main layout */
main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
section:last-of-type { border-bottom: none; }

h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--ink);
}
.section-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
  margin: 0 0 36px;
}

/* pitch lede */
.pitch { padding: 56px 0; }
.lede {
  font-size: 22px;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
  color: var(--ink);
}

/* cards (services) */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 2px 0 #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
  border-color: rgba(234, 88, 12, 0.5);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(234, 88, 12, 0.2);
}
.card h3 {
  margin: 0 0 4px;
  font-size: 22px;
  color: var(--ink);
}
.card-sub {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 14px;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.card p { margin: 0 0 10px; }
.card-meta {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* why / reasons */
.why {
  background: var(--paper-2);
  padding-left: 32px;
  padding-right: 32px;
  margin: 0 -32px;
  border-bottom: 1px solid var(--line);
}
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 10px;
}
.reason h3 {
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--accent-2);
}
.reason p { margin: 0; }
.reason em { color: var(--ink); font-style: italic; }

/* curriculum levels */
.levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.level {
  border-left: 4px solid var(--accent);
  padding: 10px 0 10px 20px;
}
.level h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ink);
}
.level p { margin: 0; color: var(--muted); font-size: 15px; }

/* testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
blockquote {
  margin: 0;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 0 #000;
}
blockquote p {
  margin: 0 0 12px;
  font-size: 17px;
  font-style: italic;
  color: var(--ink);
}
blockquote cite {
  font-size: 14px;
  color: var(--muted);
  font-style: normal;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* pricing */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tiers { grid-template-columns: 1fr; }
}
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tier:hover {
  border-color: rgba(234, 88, 12, 0.4);
}
.tier.featured {
  border: 2px solid var(--accent);
  position: relative;
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(234, 88, 12, 0.3);
}
.tier.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
.tier h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--ink);
}
.tier .price {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 14px;
}
.tier .price strong {
  font-size: 28px;
  color: var(--ink);
  display: inline-block;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}
.tier p:last-child {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.note {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  margin-top: 24px;
  font-size: 15px;
}

/* contact */
.contact {
  text-align: center;
}
.contact .email {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin: 20px 0 10px;
  font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  text-shadow: 0 0 30px rgba(234, 88, 12, 0.3);
}
.contact .btn { margin-top: 16px; }

/* footer */
footer {
  padding: 40px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}
footer .tiny { font-size: 12px; margin-top: 6px; }

/* selection */
::selection {
  background: var(--accent);
  color: #000;
}

/* responsive */
@media (max-width: 760px) {
  .topnav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
  }
  .topnav .brand { font-size: 18px; }
  .topnav ul {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .topnav a {
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .hero { padding: 56px 20px; }
  .crow-head { width: 160px; height: 160px; }
  main { padding: 0 20px; }
  section { padding: 56px 0; }
  .why { margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .tier.featured { transform: none; }
  .topnav .brand { font-size: 16px; }
  .topnav ul { gap: 14px; }
  .topnav a { font-size: 13px; }
}
