:root {
  --cream: #fff4e6;
  --cream-deep: #ffe8c7;
  --ink: #1a1030;
  --ink-soft: #3b3154;
  --muted: #5e5474;
  --magenta: #ff2d6a;
  --magenta-deep: #d01652;
  --violet: #6d4aff;
  --teal: #00c9a7;
  --amber: #ffc43d;
  --white: #ffffff;
  --line: #ead7c2;
  --shadow-magenta: 10px 10px 0 #ff2d6a;
  --shadow-violet: 10px 10px 0 #6d4aff;
  --shadow-teal: 8px 8px 0 #00c9a7;
  --shadow-amber: 8px 8px 0 #ffc43d;
  --radius-lg: 28px;
  --radius-md: 16px;
  --header-h: 76px;
  --font-display: "Syne", "Trebuchet MS", sans-serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 520px at -10% -10%, rgba(255, 45, 106, 0.18), transparent 55%),
    radial-gradient(720px 480px at 110% 8%, rgba(109, 74, 255, 0.16), transparent 50%),
    radial-gradient(640px 420px at 80% 90%, rgba(0, 201, 167, 0.14), transparent 55%),
    var(--cream);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(26, 16, 48, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 16, 48, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}

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

a {
  color: var(--violet);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--magenta-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 80;
}

.skip-link:focus {
  top: 1rem;
}

.js-error {
  position: relative;
  z-index: 50;
  margin: 0;
  padding: 0.75rem 1.25rem;
  background: var(--magenta);
  color: var(--white);
  font-weight: 600;
}

[data-header],
[data-footer] {
  min-height: 1px;
}

.site-header,
.site-footer,
main {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 244, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--ink);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(var(--teal) 0 0) center / 70% 3px no-repeat,
    linear-gradient(var(--teal) 0 0) center / 3px 70% no-repeat,
    var(--amber);
  box-shadow: 4px 4px 0 var(--magenta);
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--violet);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--ink);
  margin: 0 auto;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

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

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--magenta-deep);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--amber);
}

.nav-cta {
  background: var(--magenta);
  color: var(--white) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--violet);
  color: var(--white) !important;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4.5rem;
}

.page-wide {
  max-width: none;
  padding: 0 0 4.5rem;
}

.page-wide .band,
.page-wide .hero-home {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
}

.btn-magenta {
  background: var(--magenta);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-magenta:hover { color: var(--white); }

.btn-ink {
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--teal);
}

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

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--amber);
}

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

.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--amber);
  border: 2px solid var(--ink);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 500;
}

.chip-teal { background: var(--teal); }
.chip-magenta { background: var(--magenta); color: var(--white); }
.chip-violet { background: var(--violet); color: var(--white); }

/* Home hero: stacked type + tilted polaroid, single link */
.hero-home {
  padding: 2.4rem 0 1rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
}

.hero-home h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800;
  margin: 0;
}

.hero-home h1 span {
  display: block;
}

.hero-home h1 .line-2 {
  color: var(--magenta);
  transform: rotate(-1.4deg);
  transform-origin: left;
}

.hero-note {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: 1.12rem;
}

.hero-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration-thickness: 4px;
  text-decoration-color: var(--teal);
}

.sticker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.sticker {
  border: 3px solid var(--ink);
  padding: 0.45rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--white);
  transform: rotate(-2deg);
  box-shadow: 4px 4px 0 var(--violet);
}

.sticker:nth-child(2) {
  background: var(--teal);
  transform: rotate(2.5deg);
  box-shadow: 4px 4px 0 var(--magenta);
}

.sticker:nth-child(3) {
  background: var(--amber);
  transform: rotate(-1deg);
}

.hero-polaroid {
  position: relative;
  background: var(--white);
  border: 4px solid var(--ink);
  padding: 0.8rem 0.8rem 2.2rem;
  transform: rotate(4deg);
  box-shadow: var(--shadow-magenta);
}

.hero-polaroid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.hero-polaroid figcaption {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin-top: 0.7rem;
}

.blob {
  position: absolute;
  border-radius: 50%;
  z-index: -1;
  animation: drift 12s ease-in-out infinite;
}

.blob-a {
  width: 160px;
  height: 160px;
  background: var(--violet);
  opacity: 0.28;
  top: -40px;
  right: -30px;
}

.blob-b {
  width: 110px;
  height: 110px;
  background: var(--teal);
  opacity: 0.4;
  bottom: 20px;
  left: -40px;
  animation-delay: -4s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -16px) scale(1.06); }
}

.voices {
  margin: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.quote-card {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow-violet);
}

.quote-card:nth-child(2) {
  box-shadow: var(--shadow-teal);
  transform: translateY(18px);
}

.quote-card p {
  font-size: 1.05rem;
}

.quote-meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}

.spotlight {
  margin: 3.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--cream);
  border: 4px solid var(--ink);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 14px 14px 0 var(--amber);
}

.spotlight img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.spotlight-copy {
  padding: 2rem 2.1rem;
}

.spotlight-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
}

.spotlight-copy p {
  color: #f3e7d8;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  margin: 2.5rem 0 3rem;
}

.tile {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 1.4rem;
}

.tile h3 {
  font-size: 1.45rem;
}

.tile-wide {
  grid-row: span 2;
  background: linear-gradient(160deg, #ffe082 0%, #fff 48%);
  box-shadow: var(--shadow-magenta);
}

.tile-teal { background: #d9fff6; }
.tile-violet { background: #ece6ff; }

.band-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 3rem;
}

.stat {
  flex: 1 1 160px;
  background: var(--white);
  border: 3px dashed var(--ink);
  padding: 1rem 1.1rem;
  border-radius: 18px;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
}

.note-grid,
.card-grid,
.price-grid,
.review-grid {
  display: grid;
  gap: 1.2rem;
}

.note-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.review-grid {
  grid-template-columns: 1fr 1fr;
}

.media-card,
.price-card,
.review-card,
.case-card,
.legal-doc,
.form-card,
.contact-aside {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 22px;
}

.media-card {
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.media-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid var(--ink);
}

.media-card .card-body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.media-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.media-card p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.letter-cta {
  margin: 3.5rem 0 1rem;
  background: var(--violet);
  color: var(--white);
  border: 4px solid var(--ink);
  border-radius: 30px;
  padding: 2.2rem 2rem;
  transform: rotate(-0.6deg);
  box-shadow: 12px 12px 0 var(--magenta);
}

.letter-cta h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.letter-cta p { color: #efe8ff; max-width: 58ch; }

.letter-cta .btn { margin-top: 0.4rem; }

.site-footer {
  background: var(--ink);
  color: #f6eadb;
  padding: 3rem 1.25rem 2rem;
  border-top: 8px solid var(--magenta);
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1.3fr 0.9fr 0.8fr;
  gap: 1.6rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-size: 1rem;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.footer-address {
  font-style: normal;
  margin-bottom: 0.7rem;
}

.footer-phone {
  font-family: var(--font-mono);
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--amber);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li { margin-bottom: 0.35rem; }

.footer-copy {
  max-width: 1180px;
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #cbbfaf;
}

.page-hero {
  margin: 0.5rem 0 2rem;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 24px;
  box-shadow: var(--shadow-teal);
}

.prose {
  max-width: 70ch;
}

.prose h2 {
  margin-top: 1.6rem;
  font-size: 1.7rem;
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 2rem;
  counter-reset: mod;
}

.module-list li {
  counter-increment: mod;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 1rem 1.1rem 1rem 4.2rem;
  margin-bottom: 0.7rem;
  position: relative;
}

.module-list li::before {
  content: counter(mod);
  position: absolute;
  left: 0.8rem;
  top: 0.85rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--magenta);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
}

.instructor {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.2rem;
  align-items: center;
  background: #fff1f6;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 1.2rem;
  margin: 1.5rem 0;
}

.instructor img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--ink);
}

.faq details {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.price-card {
  padding: 1.4rem 1.3rem 1.6rem;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  background: #1a1030;
  color: var(--cream);
  transform: translateY(-12px);
  box-shadow: 12px 12px 0 var(--magenta);
}

.price-card.featured h2,
.price-card.featured p { color: inherit; }

.price {
  font-family: var(--font-display);
  font-size: 2.3rem;
  margin: 0.4rem 0 0.8rem;
}

.price-card ul {
  padding-left: 1.1rem;
  flex: 1;
}

.price-card.featured .btn {
  background: var(--amber);
  color: var(--ink);
}

.review-card {
  padding: 1.3rem;
}

.review-card.tall { grid-row: span 2; }

.stars {
  color: var(--magenta);
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.case-card {
  padding: 0;
  overflow: hidden;
  margin-bottom: 1.4rem;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.case-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-right: 3px solid var(--ink);
}

.case-body { padding: 1.3rem 1.4rem; }

.form-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
}

.form-card,
.contact-aside {
  padding: 1.4rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: var(--cream);
}

.field textarea { min-height: 140px; resize: vertical; }

.field-error {
  color: var(--magenta-deep);
  font-size: 0.88rem;
  min-height: 1.1em;
  margin-top: 0.25rem;
}

.form-status {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 2px solid var(--ink);
  font-weight: 600;
}

.form-status.is-success {
  background: #d9fff6;
}

.form-status.is-error {
  background: #ffe0ea;
}

.legal-doc {
  padding: 1.8rem 1.6rem 2.2rem;
  max-width: 820px;
}

.legal-doc h1 { font-size: 2.4rem; }

.legal-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.92rem;
}

.legal-doc th,
.legal-doc td {
  border: 2px solid var(--ink);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.legal-doc th { background: var(--amber); }

.not-found {
  text-align: left;
  padding: 3rem 0;
}

.not-found h1 {
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--magenta);
}

.article {
  max-width: 740px;
}

.article header img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border: 4px solid var(--ink);
  border-radius: 24px;
  margin: 1rem 0 1.4rem;
  box-shadow: var(--shadow-violet);
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 4px solid var(--ink);
  border-radius: 22px;
  padding: 1.1rem 1.2rem;
  box-shadow: 10px 10px 0 var(--magenta);
}

.cookie-banner p { margin-bottom: 0.8rem; }

.cookie-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.offset-block {
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 24px;
  padding: 1.4rem;
  box-shadow: var(--shadow-amber);
  margin: 1.2rem 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 980px) {
  .hero-home,
  .spotlight,
  .mosaic,
  .voices,
  .split,
  .form-layout,
  .price-grid,
  .note-grid,
  .review-grid,
  .case-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quote-card:nth-child(2),
  .price-card.featured {
    transform: none;
  }

  .instructor {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-grid; place-items: center; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 4px solid var(--ink);
    padding: 0.8rem 1.2rem 1.2rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open { display: flex; }

  .hero-polaroid img { height: 240px; }

  .article header img { height: 200px; }
}
