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

:root {
  --cream: #faf3ea;
  --cream-dark: #f0e4d4;
  --warm-white: #fffdf9;
  --ink: #2a2118;
  --ink-soft: #5c4f42;
  --ink-muted: #8a7b6a;
  --coral: #e85d4c;
  --coral-dark: #c94a3a;
  --teal: #3d9a8b;
  --teal-dark: #2d7a6e;
  --mustard: #e8b44c;
  --mustard-dark: #c9952e;
  --lavender: #c4b5fd;
  --sketch: #2a2118;
  --radius: 4px;
  --font-display: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-hand: 'Caveat', cursive;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.hand {
  font-family: var(--font-hand);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Background blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--coral);
  top: -120px;
  right: -80px;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--teal);
  bottom: 20%;
  left: -100px;
}

/* Hand-drawn box */
.sketch-box {
  background: var(--warm-white);
  border: 2.5px solid var(--sketch);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: 4px 4px 0 var(--sketch);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 243, 234, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--coral);
  margin-bottom: 0.75rem;
  transform: rotate(-1.5deg);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo-frame {
  padding: 2.5rem 2rem;
  transform: rotate(2deg);
  width: 100%;
  max-width: 380px;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
}

.hero-sticker {
  position: absolute;
  bottom: -10px;
  right: 10%;
  font-size: 1.35rem;
  color: var(--teal-dark);
  background: var(--mustard);
  padding: 0.25rem 0.75rem;
  border: 2px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: 3px 3px 0 var(--ink);
}

.rotate-slight {
  transform: rotate(3deg);
}

.rotate-reverse {
  transform: rotate(-4deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  text-decoration: none;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 3px 3px 0 var(--ink);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-primary {
  background: var(--coral);
  color: var(--warm-white);
}

.btn-secondary {
  background: var(--warm-white);
  color: var(--ink);
}

.btn-full {
  width: 100%;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 5rem 0;
}

.section-warm {
  background: var(--cream-dark);
}

.section-intro {
  margin-bottom: 3rem;
  max-width: 560px;
}

.section-intro.offset-right {
  margin-left: auto;
  text-align: right;
}

.section-intro.offset-left {
  margin-right: auto;
}

.section-eyebrow {
  display: block;
  font-size: 1.35rem;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.section-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.section-intro p {
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

/* Specs */
.specs-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.spec-card {
  padding: 1.75rem;
}

.spec-card.tilt-left {
  transform: rotate(-1deg);
}

.spec-card.tilt-right {
  transform: rotate(1.5deg);
}

.spec-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.tag {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.3rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}

.tag-coral { background: rgba(232, 93, 76, 0.2); }
.tag-teal { background: rgba(61, 154, 139, 0.2); }
.tag-mustard { background: rgba(232, 180, 76, 0.35); }

.spec-big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.spec-small {
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.nozzle-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nozzle-pill {
  font-size: 0.9375rem;
  padding: 0.6rem 0.85rem;
  background: var(--cream);
  border: 1.5px dashed var(--ink-muted);
  border-radius: 8px;
}

.notice {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: rgba(232, 180, 76, 0.25);
  align-items: flex-start;
}

.notice-scribble {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--coral-dark);
  transform: rotate(-6deg);
}

.notice strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}

.notice p {
  color: var(--ink-soft);
  font-size: 0.975rem;
}

/* Gallery masonry */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 40px;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  transition: transform 0.2s;
}

.gallery-item:hover {
  transform: rotate(0deg) scale(1.02);
}

.gallery-item:nth-child(1) {
  grid-column: span 5;
  grid-row: span 9;
  transform: rotate(-1.5deg);
}

.gallery-item:nth-child(2) {
  grid-column: span 7;
  grid-row: span 5;
  transform: rotate(1deg);
}

.gallery-item:nth-child(3) {
  grid-column: span 4;
  grid-row: span 6;
  transform: rotate(0.5deg);
}

.gallery-item:nth-child(4) {
  grid-column: span 4;
  grid-row: span 8;
  transform: rotate(-0.75deg);
}

.gallery-item:nth-child(5) {
  grid-column: span 4;
  grid-row: span 6;
  transform: rotate(1.25deg);
}

.gallery-item:nth-child(6) {
  grid-column: span 8;
  grid-row: span 5;
  transform: rotate(-0.5deg);
}

.placeholder {
  background: linear-gradient(135deg, #d4ccc0 0%, #b8afa3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 120px;
  border-bottom: 2px dashed var(--ink-muted);
}

.gallery-tall .placeholder { min-height: 280px; }
.gallery-wide .placeholder { min-height: 160px; }

.placeholder span {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--ink-muted);
}

.gallery-item figcaption {
  padding: 0.65rem 1rem 0.85rem;
  font-size: 1.25rem;
  color: var(--ink-soft);
}

/* Steps */
.steps-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem 0;
  list-style: none;
}

.step-card {
  flex: 1 1 200px;
  max-width: 240px;
  padding: 1.5rem;
  position: relative;
}

.step-card:nth-child(4n + 1) {
  transform: rotate(-0.5deg);
}

.step-card:nth-child(4n + 3) {
  transform: rotate(0.5deg);
}

.step-num {
  display: inline-block;
  font-size: 2rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  color: var(--teal);
  padding: 0 0.25rem;
  align-self: center;
}

/* Students */
.section-students {
  background: var(--cream-dark);
}

.students-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--warm-white) 0%, rgba(196, 181, 253, 0.2) 100%);
  transform: rotate(-0.5deg);
}

.students-lead {
  font-family: var(--font-hand);
  font-size: 1.75rem;
  color: var(--coral);
  margin-bottom: 1rem;
  transform: rotate(-2deg);
}

.students-content p {
  color: var(--ink-soft);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.students-perks {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
}

.students-perks li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
  font-weight: 500;
}

.students-perks li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--teal);
}

.students-doodle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.students-doodle span {
  font-size: 1.75rem;
  padding: 0.35rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  background: var(--mustard);
  box-shadow: 3px 3px 0 var(--ink);
}

.students-doodle span:nth-child(2) {
  background: var(--lavender);
}

.students-doodle span:nth-child(3) {
  background: var(--cream);
  font-size: 1.5rem;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-block {
  padding: 1.25rem 1.5rem;
}

.contact-label {
  display: block;
  font-size: 1.25rem;
  color: var(--teal-dark);
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--coral-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-block address {
  font-style: normal;
  line-height: 1.5;
  color: var(--ink);
}

.map-wrap {
  overflow: hidden;
  padding: 0;
  line-height: 0;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  filter: saturate(0.85) contrast(1.05);
}

.contact-form {
  padding: 2rem;
}

.form-title {
  font-size: 1.75rem;
  color: var(--coral);
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink-soft);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.875rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 3px 3px 0 var(--teal);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 1.1rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0;
  border-top: 2px solid var(--ink);
  background: var(--warm-white);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.footer-inner .hand {
  font-size: 1.35rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Mobile */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-frame {
    max-width: 300px;
    margin: 0 auto;
  }

  .specs-layout {
    grid-template-columns: 1fr;
  }

  .spec-card.tilt-left,
  .spec-card.tilt-right {
    transform: none;
  }

  .students-card {
    grid-template-columns: 1fr;
    transform: none;
  }

  .students-doodle {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section-intro.offset-right,
  .section-intro.offset-left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
    padding: 0.5rem 0;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li a {
    display: block;
    padding: 0.875rem 1.25rem;
  }

  .gallery-masonry {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    transform: none !important;
  }

  .gallery-item:nth-child(odd) {
    transform: rotate(-0.5deg) !important;
  }

  .gallery-item:nth-child(even) {
    transform: rotate(0.5deg) !important;
  }

  .steps-flow {
    flex-direction: column;
    align-items: center;
  }

  .step-card {
    max-width: 100%;
    width: 100%;
    transform: none !important;
  }

  .step-arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .contact-form {
    padding: 1.5rem;
  }
}
