/* ─────────────────────────────────────────────────────────
   Kate Nowlan · Scrapbook Site · shared styles
   Hand-made, paper-feeling, no tape.
   To change copy, edit the .html files directly.
   ───────────────────────────────────────────────────────── */

:root {
  --ink: #1d1a16;
  --paper: #fbf6ee;
  --paper-2: #f4ecdc;
  --pink: #ffc6d3;
  --pink-soft: #ffe2e8;
  --rose: #c46c75;
  --rose-deep: #a25058;
  --note-yellow: #fff4c4;
  --note-green: #dff0e2;
  --note-pink: #ffd9e0;
  --rule: rgba(29,26,22,.15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Patrick Hand', 'Special Elite', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  /* subtle paper grain */
  background-image:
    radial-gradient(rgba(0,0,0,.04) 1px, transparent 1.5px),
    radial-gradient(rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 26px 26px, 13px 13px;
  background-position: 0 0, 6px 6px;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--rose-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.hand { font-family: 'Caveat', cursive; font-weight: 600; }
.typed { font-family: 'Special Elite', monospace; }
.serif { font-family: 'Gloock', serif; }

/* ── Layout container ───────────────────────────────────── */
.wrap { max-width: 560px; margin: 0 auto; padding: 0 22px; }
@media (min-width: 720px) { .wrap { max-width: 720px; padding: 0 32px; } }

/* ── Top bar ────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
  border-bottom: 1px solid transparent;
}
.topbar.scrolled {
  background: rgba(251,246,238,.92);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--rule);
}
.lockup { display: flex; align-items: center; gap: 10px; }
.lockup .logo { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; }
.lockup .logo img { width: 100%; height: 100%; object-fit: cover; }
.lockup .wordmark { font-family: 'Caveat', cursive; font-size: 22px; line-height: 1; }

/* hamburger: fade in on scroll (home), always visible elsewhere */
.hamburger {
  width: 42px; height: 36px; border: 1.5px solid var(--ink); border-radius: 10px;
  background: var(--paper); display: grid; gap: 4px; padding: 9px 10px; align-content: center;
  cursor: pointer; transition: opacity .25s ease, transform .15s ease;
}
.hamburger i { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; }
.hamburger:hover { transform: rotate(-2deg); }
body.home .hamburger { opacity: 0; pointer-events: none; }
body.home.scrolled .hamburger { opacity: 1; pointer-events: auto; }

/* book-now mini pill (header right on subpages) */
.book-mini {
  display: none;
  align-items: center; gap: 6px;
  height: 36px; padding: 0 14px;
  background: var(--rose); color: #fff; border-radius: 999px;
  border: 1.5px solid var(--ink);
  font-family: 'Patrick Hand'; font-size: 15px;
  box-shadow: 2px 2px 0 var(--ink);
}
body.home .book-mini { display: none; }
@media (min-width: 640px) {
  body:not(.home) .book-mini { display: inline-flex; }
}

/* ── Hero (home) ────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  padding: 6px 14px;
  background: var(--pink);
  font-family: 'Special Elite', monospace;
  font-size: 12px; letter-spacing: 1.2px;
}

.hero {
  padding: 18px 0 28px;
  position: relative;
}
.hero h1 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(64px, 18vw, 120px);
  line-height: .9;
  letter-spacing: -.5px;
  margin: 22px 0 0;
  color: var(--ink);
}
.hero h1 .accent { color: var(--rose); }
.hero h1 .heart { display: inline-block; transform: translateY(.05em); margin-left: .1em; }
.hero .lede {
  font-family: 'Special Elite', monospace;
  font-size: 15px;
  line-height: 1.55;
  margin: 22px 0 0;
  max-width: 32ch;
  color: rgba(29,26,22,.85);
}

/* decorative side polaroid (home hero) */
.hero-polaroid {
  display: block;
  width: 118px;
  float: right;
  margin: 10px -6px 12px 16px;
  transform: rotate(5deg);
}
@media (min-width: 820px) {
  .hero-polaroid {
    float: none;
    position: absolute;
    top: 40px;
    right: -180px;
    width: 170px;
    margin: 0;
  }
}

/* ── Polaroid component ─────────────────────────────────── */
.polaroid {
  background: #fff;
  border: 1.2px solid var(--ink);
  padding: 8px 8px 22px;
  box-shadow: 3px 4px 0 rgba(29,26,22,.08);
  position: relative;
}
.polaroid .photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--pink-soft);
  border: 1px dashed rgba(29,26,22,.35);
  display: grid; place-items: center;
  font-family: 'Caveat'; color: rgba(29,26,22,.45); font-size: 15px;
  overflow: hidden;
}
.polaroid .photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid .caption {
  font-family: 'Caveat', cursive;
  font-size: 18px;
  text-align: center;
  margin-top: 6px;
  color: var(--ink);
}

/* ── CTA buttons (no tape) ──────────────────────────────── */
.cta-stack {
  display: flex; flex-direction: column; gap: 14px;
  margin: 28px 0 0;
}
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px;
  border: 2px solid var(--ink);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-family: 'Patrick Hand', sans-serif;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  position: relative;
}
.cta:hover { transform: translate(-1px, -2px); box-shadow: 4px 6px 0 var(--ink); text-decoration: none; }
.cta:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.cta.primary { background: var(--rose); color: #fff; }
.cta.pink { background: var(--pink); }
.cta .arrow { font-family: 'Caveat'; font-size: 22px; opacity: .8; }

/* hand-drawn rotation for personality */
.cta:nth-child(1) { transform: rotate(-.6deg); }
.cta:nth-child(2) { transform: rotate(.4deg); }
.cta:nth-child(3) { transform: rotate(-.3deg); }
.cta:nth-child(1):hover { transform: rotate(-.6deg) translate(-1px,-2px); }
.cta:nth-child(2):hover { transform: rotate(.4deg) translate(-1px,-2px); }
.cta:nth-child(3):hover { transform: rotate(-.3deg) translate(-1px,-2px); }

/* ── Section heads (subpages) ───────────────────────────── */
.section-head {
  padding: 28px 0 8px;
}
.eyebrow {
  font-family: 'Special Elite', monospace;
  font-size: 11px; letter-spacing: 3px;
  color: rgba(29,26,22,.6);
  text-transform: uppercase;
}
.section-head h1 {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(54px, 13vw, 90px);
  line-height: .95;
  margin: 6px 0 0;
}
.section-head h1 .accent { color: var(--rose); }
.section-head .sub {
  font-family: 'Special Elite', monospace;
  font-size: 14px;
  color: rgba(29,26,22,.7);
  margin-top: 10px;
}

/* hand-drawn squiggle divider */
.squiggle {
  display: block; height: 10px; width: 100%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 8'><path d='M0 4 Q 10 0 20 4 T 40 4 T 60 4 T 80 4' fill='none' stroke='%231d1a16' stroke-width='1.3'/></svg>");
  background-repeat: repeat-x;
  background-size: 80px 8px;
  background-position: 0 50%;
  margin: 16px 0;
  opacity: .55;
}

/* ── Sticky notes (aftercare) ───────────────────────────── */
.notes { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.note {
  border: 1.2px solid var(--ink);
  padding: 16px 18px 18px;
  box-shadow: 3px 4px 0 rgba(0,0,0,.06);
  position: relative;
}
.note:nth-child(odd)  { transform: rotate(-.5deg); }
.note:nth-child(even) { transform: rotate(.7deg); }
.note h3 {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: 26px; margin: 0 0 6px; color: var(--rose);
  display: flex; align-items: center; gap: 8px;
}
.note p, .note li {
  font-family: 'Special Elite', monospace;
  font-size: 14px; line-height: 1.6;
  margin: 4px 0;
}
.note ul { padding-left: 20px; margin: 6px 0 0; }
.note.yellow { background: var(--note-yellow); }
.note.green  { background: var(--note-green); }
.note.pink   { background: var(--note-pink); }
.note.pink h3 { color: var(--ink); }

/* ── Work / polaroid wall ───────────────────────────────── */
.wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
@media (min-width: 720px) { .wall { grid-template-columns: 1fr 1fr 1fr; gap: 28px; } }
.wall .polaroid:nth-child(3n)   { transform: rotate(-1.5deg); }
.wall .polaroid:nth-child(3n+1) { transform: rotate( 1deg);   }
.wall .polaroid:nth-child(3n+2) { transform: rotate(-.6deg);  }

/* ── Marquee ────────────────────────────────────────────── */
.marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--pink);
  padding: 8px 0;
  margin-top: 48px;
}
.marquee-track {
  display: inline-block;
  font-family: 'Caveat'; font-weight: 600; font-size: 22px;
  animation: marquee 28s linear infinite;
  padding-left: 100%;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ── Footer ─────────────────────────────────────────────── */
.foot {
  padding: 28px 0 40px;
  text-align: center;
  font-family: 'Special Elite', monospace;
  font-size: 12px; letter-spacing: 1px;
  color: rgba(29,26,22,.6);
}
.foot a { color: var(--rose-deep); }

/* ── Hamburger menu overlay ─────────────────────────────── */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--paper);
  background-image:
    radial-gradient(rgba(0,0,0,.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
  display: none;
  flex-direction: column;
  padding: 18px 24px 28px;
  overflow-y: auto;
}
.menu-overlay.open { display: flex; animation: menuIn .22s ease both; }
@keyframes menuIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-overlay .menu-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.menu-overlay .menu-close {
  width: 42px; height: 36px; border: 1.5px solid var(--ink); border-radius: 10px;
  background: #fff; display: grid; place-items: center; cursor: pointer;
  font-family: 'Caveat'; font-size: 22px;
}
.menu-overlay h2 {
  font-family: 'Caveat'; font-weight: 600; font-size: 32px;
  color: var(--rose); margin: 8px 0 4px;
}
.menu-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 4px; }
.menu-list li a {
  display: flex; align-items: baseline; gap: 12px;
  font-family: 'Caveat', cursive;
  font-size: 44px; line-height: 1.05;
  color: var(--ink); text-decoration: none;
  padding: 6px 0;
}
.menu-list li:nth-child(1) a { transform: rotate(-1deg); }
.menu-list li:nth-child(2) a { transform: rotate(.5deg); }
.menu-list li:nth-child(3) a { transform: rotate(-.4deg); }
.menu-list li:nth-child(4) a { transform: rotate(.6deg); }
.menu-list li:nth-child(5) a { transform: rotate(-.7deg); }
.menu-list li a .ic {
  font-size: 20px; color: var(--rose);
  font-family: 'Special Elite', monospace;
}
.menu-list li a:hover { color: var(--rose); text-decoration: none; }

.menu-cta { margin-top: 30px; }
.menu-foot {
  margin-top: auto;
  padding-top: 20px;
  font-family: 'Special Elite', monospace; font-size: 12px;
  color: rgba(29,26,22,.6);
}
.menu-foot a { display: block; }
