@font-face{font-family:"Kalam";src:url("fonts/kalam-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Kalam";src:url("fonts/kalam-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito";src:url("fonts/nunito-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito";src:url("fonts/nunito-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito";src:url("fonts/nunito-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}


:root {
  --paper: #fffdf7;
  --ink: #171713;
  --muted: #68675f;
  --blue: #5e9df2;
  --blue-soft: #dceaff;
  --yellow: #f8e56b;
  --yellow-soft: #fff6b9;
  --coral: #f77276;
  --coral-soft: #ffd9d4;
  --white: #fff;
  --shadow: 5px 6px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Nunito", sans-serif; font-size: 17px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }

.site-header { width: min(1180px, calc(100% - 40px)); min-height: 86px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); }
.wordmark { font-family: "Kalam", cursive; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.03em; }
.site-header nav { display: flex; gap: clamp(18px, 4vw, 42px); }
.site-header nav a, .back-link { font-size: .93rem; font-weight: 700; position: relative; }
.site-header nav a::after, .back-link::after, .text-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; background: var(--coral); transition: right .25s ease; }
.site-header nav a:hover::after, .back-link:hover::after, .text-link:hover::after { right: 0; }

.hero { width: min(1180px, calc(100% - 40px)); min-height: 700px; margin: 0 auto; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 5vw, 74px); align-items: center; padding: 78px 0 74px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 13px; font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Kalam", cursive; line-height: 1.04; }
h1 { font-size: clamp(3.5rem, 5.2vw, 5.2rem); letter-spacing: -.055em; margin: 0; }
.sketch-underline { position: relative; display: inline-block; z-index: 0; }
.sketch-underline::after { content: ""; position: absolute; left: -2%; bottom: .05em; width: 104%; height: .16em; background: var(--yellow); z-index: -1; transform: rotate(-1.4deg) scaleX(0); transform-origin: left; animation: draw-line .8s .35s ease-out forwards; }
.lede { max-width: 620px; margin: 28px 0; font-size: 1.14rem; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 11px 22px; border: 2px solid var(--ink); border-radius: 10px 12px 9px 13px; font-weight: 800; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translate(-2px, -2px) rotate(-.4deg); box-shadow: 4px 4px 0 var(--ink); }
.button-primary { background: var(--yellow); color: var(--ink); }
.button-ink { background: var(--ink); color: var(--white); }
.text-link { position: relative; font-weight: 800; }
.taped-note { width: min(330px, 80%); margin: 42px 0 0 25px; padding: 18px 23px 16px; background: var(--blue-soft); border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font-family: "Kalam", cursive; font-size: 1.12rem; line-height: 1.35; transform: rotate(-2deg); }
.hero-art { position: relative; min-height: 510px; display: flex; align-items: center; justify-content: center; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.hero-art::before { content: ""; position: absolute; width: 84%; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 47% 53% 52% 48%; background: var(--coral-soft); transform: rotate(3deg); z-index: -1; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 108px 0; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading.narrow { max-width: 640px; }
.section-heading h2, .featured h2, .about h2, .newsletter h2 { font-size: clamp(2.6rem, 5vw, 4.7rem); letter-spacing: -.04em; margin: 0 0 14px; }
.section-heading > p:last-child { color: var(--muted); margin: 0; }
.note-browser { border-top: 2px solid var(--ink); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter { border: 1.7px solid var(--ink); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 8px 15px; font-size: .88rem; font-weight: 800; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.filter:hover { transform: rotate(-1.4deg); background: var(--yellow-soft); }
.filter.active { background: var(--ink); color: var(--white); }
.notes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.note-card { min-height: 330px; display: flex; flex-direction: column; padding: 27px; border: 2px solid var(--ink); border-radius: 17px 13px 18px 12px; box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.note-card:hover { transform: translate(-3px, -4px) rotate(-.45deg); box-shadow: 8px 10px 0 var(--ink); }
.note-card.tone-1 { background: var(--blue-soft); }
.note-card.tone-2 { background: var(--yellow-soft); }
.note-card.tone-3 { background: var(--coral-soft); }
.note-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.note-card h3 { font-size: 2.15rem; letter-spacing: -.035em; margin: 36px 0 13px; }
.note-card p { margin: 0 0 20px; color: #3f3f39; }
.note-card > a { margin-top: auto; font-weight: 900; }

.featured { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(34px, 6vw, 84px); border-top: 2px solid var(--ink); }
.featured-art { background: var(--white); border: 2px solid var(--ink); border-radius: 16px 11px 18px 12px; box-shadow: 9px 10px 0 var(--blue); transform: rotate(-1deg); overflow: hidden; }
.featured-art img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.featured-copy p:not(.eyebrow) { color: var(--muted); margin: 0 0 30px; font-size: 1.08rem; }

.process { border-top: 2px solid var(--ink); }
.process-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 38px; }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; padding: 25px 0; border-top: 1.5px solid var(--ink); }
.process-list li:last-child { grid-column: 1 / -1; }
.process-list li > span { font-family: "Kalam", cursive; font-size: 1.6rem; color: var(--coral); }
.process-list h3 { font-size: 1.85rem; margin: 0 0 5px; }
.process-list p { margin: 0; color: var(--muted); }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 9vw, 130px); background: var(--blue-soft); border: 2px solid var(--ink); border-radius: 23px 15px 26px 18px; padding: 68px; box-shadow: 9px 10px 0 var(--ink); }
.about-copy { font-size: 1.08rem; }
.about-copy p:first-child { margin-top: 0; }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 110px); align-items: center; }
.newsletter h2 { max-width: 600px; }
.newsletter > div > p:last-child { color: var(--muted); }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { min-width: 0; flex: 1; min-height: 50px; border: 2px solid var(--ink); border-radius: 11px 8px 12px 9px; background: var(--white); color: var(--ink); padding: 10px 15px; outline: none; }
.newsletter input:focus { box-shadow: 0 0 0 4px var(--blue-soft); }
.success-note { padding: 25px; background: var(--yellow-soft); border: 2px solid var(--ink); box-shadow: 6px 7px 0 var(--ink); font-family: "Kalam", cursive; font-size: 1.25rem; transform: rotate(1deg); }

footer { width: min(1180px, calc(100% - 40px)); min-height: 130px; margin: 0 auto; border-top: 2px solid var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .86rem; }
footer .wordmark { color: var(--ink); }

.article-shell { min-height: 100vh; }
.article-header { width: min(920px, calc(100% - 40px)); }
.article { width: min(920px, calc(100% - 40px)); margin: 0 auto; }
.article-intro { padding: 96px 0 70px; max-width: 820px; }
.article-intro h1 { font-size: clamp(3.7rem, 8vw, 7.2rem); }
.article-date { margin: 22px 0 48px; font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.article-opening { max-width: 760px; margin: 0; font-family: "Kalam", cursive; font-size: clamp(1.55rem, 3vw, 2.2rem); line-height: 1.35; padding-left: 25px; border-left: 7px solid var(--yellow); }
.article-download { margin-top: 34px; }
.article-body { width: min(760px, 100%); margin-left: auto; }
.article-body section { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 52px 0; border-top: 1.5px solid var(--ink); }
.margin-number { font-family: "Kalam", cursive; color: var(--coral); font-size: 1.5rem; }
.article-body h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 0 0 18px; }
.article-body p { color: #34342f; }
.section-illustration { width: min(220px, 42%); height: auto; aspect-ratio: auto; object-fit: contain; float: right; margin: 0 0 16px 24px; border: 1.5px solid var(--ink); border-radius: 12px 9px 13px 10px; background: var(--white); box-shadow: 4px 5px 0 var(--blue-soft); }
.section-illustration.comparison-photo { width: min(520px, 100%); float: none; margin: 0 0 26px; box-shadow: 7px 8px 0 var(--yellow-soft); }
.takeaway { margin: 46px 0 100px 92px; padding: 28px 32px; background: var(--blue-soft); border: 2px solid var(--ink); box-shadow: 7px 8px 0 var(--ink); transform: rotate(-.8deg); }
.takeaway p:last-child { margin: 0; font-family: "Kalam", cursive; font-size: 1.5rem; line-height: 1.4; color: var(--ink); }
.article-footer { width: min(920px, calc(100% - 40px)); }
.article-footer a { font-weight: 900; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@keyframes draw-line { to { transform: rotate(-1.4deg) scaleX(1); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-art { min-height: 420px; order: -1; }
  .hero-art img { width: min(100%, 720px); max-height: 480px; height: auto; object-fit: contain; }
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
  .featured, .about, .newsletter { grid-template-columns: 1fr; }
  .about { width: calc(100% - 40px); padding: 45px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { min-height: 74px; }
  .site-header nav { gap: 14px; }
  .site-header nav a { font-size: .78rem; }
  .hero { padding: 44px 0 68px; }
  .hero-art { min-height: 310px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .section { padding: 78px 0; }
  .notes-grid { grid-template-columns: 1fr; }
  .note-card { min-height: 290px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li:last-child { grid-column: auto; }
  .about { padding: 32px 25px; }
  .newsletter form { flex-direction: column; }
  footer { padding: 28px 0; flex-direction: column; align-items: flex-start; }
  .article-header { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; }
  .article-intro { padding-top: 65px; }
  .article-body section { grid-template-columns: 42px 1fr; gap: 10px; }
  .section-illustration { width: min(180px, 52%); margin-left: 14px; }
  .section-illustration.comparison-photo { width: 100%; margin-left: 0; }
  .takeaway { margin-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
