/* Chibi Geckos: palette pulled from the logo artwork.
   Layout primitive: the scrapbook. Taped polaroids, handwritten notes,
   stickers. One motif, repeated, like the tape on her incubation cups. */
:root {
  --cream: #fdf4e5;
  --cream-deep: #f6e9d2;
  --ink: #35414a;
  --ink-soft: #5c6e7a;
  --blue: #9cc0d1;
  --blue-deep: #5f8fa6;
  --blue-pale: #e1edf3;
  --sky: #e7f0f5;
  --sky-deep: #cfe2ea;
  --gray: #c9c3b2;
  --mustard: #eac97f;
  --blush: #f3d9d4;
  --coral: #e5967f;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(53, 65, 74, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background-color: var(--sky);
  /* faint pinboard dots */
  background-image: radial-gradient(rgba(95, 143, 166, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: "Karla", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Baloo 2", sans-serif;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}

a { color: var(--blue-deep); }

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

/* ---------- handwriting bits ---------- */
.annot {
  font-family: "Caveat", cursive;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--blue-deep);
}

.hand-link {
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-deep);
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.hand-link.big { font-size: 1.7rem; }

.hand-cap {
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: var(--ink-soft);
  text-align: center;
  padding: 8px 4px 0;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 12px clamp(20px, 5vw, 56px);
  background: rgba(231, 240, 245, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--sky-deep);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}

.brand img { border-radius: 50%; }

.topbar nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

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

.topbar nav a:hover { color: var(--blue-deep); }
.topbar nav a.active { color: var(--blue-deep); border-bottom: 3px solid var(--blue); padding-bottom: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 999px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: var(--shadow); }

.btn-solid { background: var(--blue-deep); color: var(--sky); }
.btn-ghost { border: 2px solid var(--blue); color: var(--blue-deep); }
.btn-cream { background: var(--cream); color: var(--blue-deep); }

/* ---------- taped photos (shared) ---------- */
.photo-tape {
  position: relative;
  margin: 0;
  background: #fff;
  padding: 10px 10px 14px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.photo-tape::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 84px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(234, 201, 127, 0.75); /* the yellow tape from her incubation cups */
  border-radius: 2px;
  z-index: 2;
}

.photo-tape img {
  border-radius: 3px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.tilt-l { transform: rotate(-1.6deg); }
.tilt-r { transform: rotate(1.8deg); }

/* ---------- egg-framed photos ---------- */
.egg-photo { margin: 0; }

.egg-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 49% 51% 50% 50% / 62% 60% 40% 38%; /* egg: rounder up top */
  box-shadow: var(--shadow);
}

/* ---------- stickers ---------- */
.sticker {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  background: var(--mustard);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(53, 65, 74, 0.2);
  line-height: 1.2;
}

.sticker small {
  display: block;
  font-family: "Karla", sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* =========================================================
   HOME: the desk (hero)
   ========================================================= */
.desk {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
  padding: clamp(44px, 9vh, 100px) clamp(20px, 6vw, 72px) clamp(56px, 10vh, 110px);
  max-width: 1200px;
  margin: 0 auto;
}

.desk h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  font-weight: 700;
  transform: rotate(-0.6deg);
}

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

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 26px 0 30px;
}

.desk-annot {
  position: relative;
  max-width: 30ch;
  margin: 0;
}

.squiggle {
  width: 84px;
  height: 30px;
  color: var(--coral);
  vertical-align: middle;
  margin-left: 6px;
}

/* photo cluster */
.desk-cluster {
  position: relative;
  aspect-ratio: 10 / 11;
  max-width: 480px;
  justify-self: end;
  width: 100%;
}

.cluster-main {
  position: absolute;
  top: 0;
  right: 0;
  width: 72%;
  transform: rotate(-2.5deg);
}

.cluster-main .hand-cap { text-align: right; padding-right: 10px; }

.cluster-small {
  position: absolute;
  bottom: 4%;
  left: 0;
  width: 52%;
  transform: rotate(3.5deg);
  z-index: 3;
}

.cluster-small::before { transform: translateX(-50%) rotate(5deg); }

.logo-sticker {
  position: absolute;
  top: -26px;
  left: 4%;
  width: clamp(84px, 9vw, 116px);
  height: auto;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
  z-index: 4;
}

.rating-sticker {
  position: absolute;
  bottom: -6px;
  right: -4px;
  transform: rotate(-4deg);
  z-index: 4;
}

/* =========================================================
   HOME: roster (the crew)
   ========================================================= */
.roster {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(30px, 6vh, 70px) clamp(20px, 6vw, 72px);
}

.roster h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-bottom: 0.4em;
}

.roster h2 .annot { font-size: 1.35rem; margin-left: 8px; white-space: nowrap; }

.roster-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 220px;
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
  padding: 34px 0;
  border-top: 2px dashed var(--sky-deep);
}

.roster-row:first-of-type { border-top: none; }

.roster-row.flip { grid-template-columns: 90px 220px minmax(0, 1fr); }
.roster-row.flip .roster-text { order: 3; }
.roster-row.flip .roster-photo { order: 2; }

.roster-no {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--coral);
  transform: rotate(-6deg);
}

.roster-text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 0.15em;
}

.roster-text h3 em {
  font-family: "Karla", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  color: var(--coral);
  margin-left: 10px;
  white-space: nowrap;
}

.roster-text p { color: var(--ink-soft); margin: 0; max-width: 44ch; }

.roster-photo { width: 100%; }

/* =========================================================
   HOME: nursery band with wavy edges
   ========================================================= */
.wave { line-height: 0; }
.wave svg { display: block; width: 100%; height: clamp(20px, 3.5vw, 44px); }
.wave path { fill: var(--cream); }
.wave-flip svg { transform: scaleY(-1); }

.nursery {
  background: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
  padding: clamp(20px, 4vh, 44px) clamp(20px, 6vw, 72px) clamp(36px, 6vh, 64px);
}

.nursery-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 640px;
  margin: 0 auto;
  align-items: start;
}

.nudge-up { margin-top: -64px; }
.nursery-photos .photo-tape:last-child { margin-top: 40px; }

.nursery-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.nursery-text p { color: var(--ink-soft); }

.nursery-annot { font-size: 1.55rem; margin-top: 18px; transform: rotate(-1.2deg); }

/* =========================================================
   HOME: pinned note (available)
   ========================================================= */
.pinboard {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(44px, 8vh, 90px) clamp(20px, 6vw, 72px);
  display: flex;
  justify-content: flex-end;
}

.note-card {
  position: relative;
  background: #fff;
  max-width: 560px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(-1.4deg);
  margin-right: clamp(0px, 6vw, 90px);
}

.note-card::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 38px;
  width: 92px;
  height: 28px;
  transform: rotate(-4deg);
  background: rgba(234, 201, 127, 0.75);
  border-radius: 2px;
}

.note-card::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: 30px;
  width: 74px;
  height: 24px;
  transform: rotate(6deg);
  background: rgba(156, 192, 209, 0.6); /* a blue tape piece for variety */
  border-radius: 2px;
}

.note-head { margin: 0 0 4px; font-size: 1.6rem; }

.note-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }

.note-card p { color: var(--ink-soft); }

.fineprint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 20px;
  margin-bottom: 0;
}

/* =========================================================
   HOME: gallery strip
   ========================================================= */
.strip-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 50px) clamp(20px, 6vw, 72px) clamp(50px, 9vh, 100px);
}

.strip-wrap h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 34px; }

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.strip .s1 { transform: rotate(-2.2deg) translateY(10px); }
.strip .s2 { transform: rotate(1.6deg); }
.strip .s3 { transform: rotate(-1.2deg) translateY(26px); }
.strip .s4 { transform: rotate(2.4deg) translateY(8px); }

.strip-more { text-align: right; margin: 40px 8px 0; }

/* =========================================================
   HOME: about card
   ========================================================= */
.about {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 72px) clamp(56px, 9vh, 100px);
}

.about-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 54px);
  padding-right: clamp(28px, 5vw, 70px);
  transform: rotate(0.6deg);
}

.about-card::before {
  content: "";
  position: absolute;
  top: -13px;
  right: 60px;
  width: 88px;
  height: 26px;
  transform: rotate(3deg);
  background: rgba(234, 201, 127, 0.75);
  border-radius: 2px;
}

.about-sticker {
  float: right;
  width: clamp(110px, 14vw, 150px);
  height: auto;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--shadow);
  transform: rotate(6deg);
  margin: -10px -20px 12px 18px;
}

.about-card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.about-card p { color: var(--ink-soft); }

.sign-off { font-size: 1.6rem; margin: 18px 0 0; transform: rotate(-1.5deg); }

/* ---------- footer ---------- */
footer {
  background: var(--sky-deep);
  text-align: center;
  padding: 48px 20px 40px;
}

footer img { margin: 0 auto; border-radius: 50%; }

.foot-name {
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 12px 0 4px;
}

.foot-links { margin: 0 0 6px; }
.foot-links span { color: var(--gray); margin: 0 6px; }
.foot-links a { font-weight: 700; text-decoration: none; }

.foot-copy { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* =========================================================
   Interior pages (gallery, care, studio)
   ========================================================= */
.kicker {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0 0 2px;
}

.page-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(36px, 6vh, 64px) clamp(20px, 6vw, 72px) 8px;
}

.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
.page-head p { color: var(--ink-soft); max-width: 58ch; }

/* masonry gallery: explicit flex columns (CSS `columns` tears the tape
   pseudo-elements off at column breaks, so we place items by hand) */
.masonry {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(20px, 6vw, 72px) clamp(48px, 8vh, 90px);
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.mas-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 36px;
  min-width: 0;
}

.masonry .photo-tape { margin: 0; }

.masonry .photo-tape img { aspect-ratio: auto; }

.masonry figcaption {
  font-family: "Caveat", cursive;
  font-size: 1.2rem;
  color: var(--ink-soft);
  padding: 10px 4px 2px;
  text-align: center;
}

/* care notes */
.care-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px clamp(20px, 6vw, 72px) clamp(48px, 8vh, 90px);
}

.care-note {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 36px;
}

.care-note h2 {
  font-size: 1.55rem;
  margin-bottom: 0.35em;
}

.care-note .note-tag {
  font-family: "Caveat", cursive;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--blue-deep);
  margin: 0 0 4px;
}

.care-note p, .care-note li { color: var(--ink-soft); }

.care-note ul { padding-left: 20px; margin: 0.6em 0; }
.care-note li { margin-bottom: 0.45em; }

.care-note .aside {
  background: var(--blue-pale);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  margin-top: 18px;
}

.care-disclaimer {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 54ch;
  margin: 0 auto;
}

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 880px) {
  .topbar nav { display: none; }

  .desk { grid-template-columns: 1fr; padding-bottom: 60px; }
  .desk-cluster { justify-self: center; max-width: 420px; margin-top: 20px; }
  .logo-sticker { top: -18px; }

  .roster-row,
  .roster-row.flip { grid-template-columns: 1fr; gap: 14px; }
  .roster-row.flip .roster-text { order: 0; }
  .roster-row.flip .roster-photo { order: 0; }
  .roster-photo { max-width: 260px; }
  .roster-no { transform: none; }
  .roster h2 .annot { white-space: normal; display: block; margin-left: 0; }

  .nursery { grid-template-columns: 1fr; }
  .nudge-up { margin-top: -40px; }

  .pinboard { justify-content: center; }
  .note-card { margin-right: 0; }

  .strip { grid-template-columns: 1fr 1fr; }
  .strip .s3, .strip .s4 { transform: rotate(-1deg); }
  .strip-more { text-align: center; }

  .about-sticker { width: 96px; margin: -6px -8px 8px 12px; }

  .masonry { flex-direction: column; }
  .mas-col { width: 100%; }
}
