/* Sofia's Crocheterie — shared styles */

:root {
  --cocoa: #3A2018;
  --apricot: #F6C3A3;
  --peach: #FCE3D2;
  --pumpkin: #F0A04B;
  --cranberry: #9E2B3A;
  --mustard: #E7B13F;
  --teal: #1F4D52;
  --rust: #6B2E1E;
  --wine: #7A1F2C;
  --blush: #F3CDB6;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--cocoa);
  background: var(--apricot);
  min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--cocoa); }
a:hover { color: var(--cranberry); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
[id] { scroll-margin-top: 12px; }

.serif, h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-variation-settings: "SOFT" 100;
}
.wrap { max-width: var(--wrap); margin: 0 auto; }
.kicker { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 13px; }
.label { font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--pumpkin); color: var(--cocoa); font-weight: 800;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 800; text-decoration: none;
  border-radius: 999px; cursor: pointer; line-height: 1.35;
}
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn-pumpkin { background: var(--pumpkin); color: var(--cocoa); border: 0; }
.btn-pumpkin:hover { color: var(--cocoa); filter: brightness(1.06); }
.btn-ghost-light { border: 2px solid var(--blush); color: var(--peach); }
.btn-ghost-light:hover { color: var(--peach); background: rgba(252, 227, 210, 0.08); }
.btn-ghost-light.btn-lg { padding: 14px 26px; }
.btn-cocoa { background: var(--cocoa); color: var(--peach); border: 2px solid var(--cocoa); padding: 12px 22px; font-size: 16px; }
.btn-cocoa:hover { color: var(--peach); filter: brightness(1.15); }
.btn-outline { background: none; border: 2px solid var(--cocoa); color: var(--cocoa); padding: 12px 22px; font-size: 16px; }
.btn-outline:hover { background: rgba(58, 32, 24, 0.06); color: var(--cocoa); }

/* ---------- Header ---------- */
.site-header { background: var(--cocoa); color: var(--peach); }
.site-header .wrap {
  padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 16px;
}
.logo {
  display: flex; align-items: center; gap: 12px; min-height: 44px;
  text-decoration: none; color: var(--peach);
}
.logo:hover { color: var(--peach); }
.logo span { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-weight: 700; font-size: 15px; }
.main-nav a {
  color: var(--peach); text-decoration: none; padding: 13px 6px;
  display: inline-block; min-width: 44px; text-align: center;
}
.main-nav a:hover { color: var(--pumpkin); }
.main-nav a.nav-cta { color: var(--cocoa); background: var(--pumpkin); padding: 13px 20px; border-radius: 999px; }
.main-nav a.nav-cta:hover { color: var(--cocoa); filter: brightness(1.06); }

/* ---------- Hero ---------- */
.hero { background: var(--cocoa); color: var(--peach); padding: 48px 24px 96px; border-radius: 0 0 48px 48px; }
.hero .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 6vw, 56px); }
.hero-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy .kicker { margin: 0; color: var(--pumpkin); }
.hero h1 { margin: 0; font-weight: 700; font-size: clamp(40px, 10vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.hero-intro { margin: 0; font-size: clamp(17px, 4.5vw, 20px); line-height: 1.6; max-width: 520px; color: var(--blush); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-art { flex: 1 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-frame { position: relative; width: 100%; max-width: 460px; aspect-ratio: 23 / 24; }
.hero-disc { position: absolute; left: 4.35%; top: 6.25%; width: 91.3%; height: 87.5%; border-radius: 50%; background: var(--cranberry); }
.hero-photo {
  position: absolute; left: 10.87%; top: 12.5%; width: 78.26%; height: 75%;
  border-radius: 50%; object-fit: cover; border: 8px solid #D9622B;
}
.sticker {
  position: absolute; color: var(--cocoa); border-radius: 20px;
  padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 18px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.sticker b { display: block; font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-weight: 700; font-size: clamp(15px, 4vw, 20px); }
.sticker small { display: block; font-size: 13px; font-weight: 800; }
.sticker-a { right: 0; top: 5%; background: var(--peach); transform: rotate(4deg); }
.sticker-a small { color: var(--cranberry); }
.sticker-b { left: 0; bottom: 6%; background: var(--mustard); transform: rotate(-5deg); }

/* ---------- Critter of the week ---------- */
.cotw-section { padding: clamp(56px, 10vw, 96px) 24px 0; }
.paper {
  background: var(--mustard); color: var(--cocoa); border: 4px solid var(--cocoa);
  border-radius: clamp(28px, 6vw, 40px); padding: clamp(20px, 5vw, 44px);
  display: flex; flex-direction: column; gap: 24px; box-shadow: 0 10px 0 var(--cocoa);
}
.masthead {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 24px; border-bottom: 6px double var(--cocoa); padding-bottom: 14px;
}
.masthead-title { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-style: italic; font-weight: 800; font-size: clamp(28px, 6vw, 44px); letter-spacing: -0.01em; }
.cotw-body { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 40px); align-items: center; }
.cotw-pic { flex: 0 1 300px; width: min(300px, 100%); position: relative; transform: rotate(-2deg); }
.cotw-pic img, .cotw-pic svg, .cotw-pic .cotw-blank {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  border: 6px solid var(--peach); border-radius: 8px; box-shadow: 0 8px 0 var(--cocoa);
}
.cotw-pic svg { aspect-ratio: auto; background: #DCE4BE; }
.cotw-blank { background: var(--peach); display: flex; align-items: center; justify-content: center; color: var(--cocoa); }
.exclusive {
  position: absolute; top: -14px; right: -10px; background: var(--cranberry); color: var(--peach);
  font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 6px; transform: rotate(6deg);
}
.cotw-copy { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cotw-copy > .label { font-size: 14px; color: var(--wine); }
.cotw-copy h2 { margin: 0; font-weight: 800; font-size: clamp(30px, 6vw, 54px); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.cotw-stats { display: flex; flex-direction: column; margin-top: 8px; }
.cotw-stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; border-top: 2px solid var(--cocoa); padding: 12px 0; }
.cotw-stat .label { flex: 0 0 190px; letter-spacing: 0.1em; }
.cotw-stat .value { flex: 1 1 200px; font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-weight: 700; font-size: clamp(19px, 4vw, 24px); }
.cotw-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; border-top: 2px solid var(--cocoa); padding-top: 16px; }
.cotw-foot .btn-cocoa { padding: 14px 24px; }
.cotw-foot span { font-size: 15px; font-weight: 700; }

/* ---------- Section heads ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.section-head h2 { margin: 0; font-size: clamp(34px, 8vw, 52px); font-weight: 700; letter-spacing: -0.02em; }
.section-head p { margin: 0; font-size: 18px; max-width: 420px; line-height: 1.6; color: var(--rust); }

/* ---------- Collections overview ---------- */
.collections-section { padding: clamp(56px, 10vw, 96px) 24px clamp(48px, 8vw, 72px); }
.collections-section .wrap { display: flex; flex-direction: column; gap: 40px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 20px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: clamp(16px, 4vw, 40px);
  min-height: clamp(130px, 30vw, 180px); padding: clamp(20px, 4vw, 26px); border-radius: 28px;
  background: var(--c); color: var(--ink); text-decoration: none;
  transition: transform 0.15s ease;
}
.tile:hover { color: var(--ink); transform: translateY(-3px); }
.tile-text { display: flex; flex-direction: column; gap: 6px; }
.tile-title { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-weight: 700; font-size: 32px; line-height: 1.05; }
.tile-tag { font-size: 15px; line-height: 1.5; }

/* ---------- Village ---------- */
.village-section { padding: 0 24px clamp(48px, 8vw, 72px); }
.village-section .wrap { display: flex; flex-direction: column; gap: 24px; }
.village-section .section-head p { max-width: 440px; }
.head-stack { display: flex; flex-direction: column; gap: 8px; }
.head-stack .kicker, .wine { color: var(--wine); }
.map-frame { border: 4px solid var(--cocoa); border-radius: clamp(20px, 4vw, 32px); overflow: hidden; background: var(--cocoa); }
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.map { position: relative; min-width: 760px; aspect-ratio: 8 / 5; }
.map > svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; }
.pin {
  position: absolute; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
  border-radius: 999px; border: 3px solid var(--cocoa); background: var(--peach); color: var(--cocoa);
  font-size: 14px; font-weight: 800; white-space: nowrap; cursor: pointer; box-shadow: 0 4px 0 var(--cocoa);
}
.pin:hover { background: #FFF1E6; }
.pin[aria-pressed="true"] { background: var(--cocoa); color: var(--peach); }
.pin:focus-visible { outline: 3px solid var(--peach); outline-offset: 2px; box-shadow: 0 0 0 6px var(--cocoa); }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.map-hint { margin: -8px 0 0; font-size: 14px; color: var(--rust); }
.place-panel {
  background: var(--cocoa); color: var(--peach); border-radius: clamp(20px, 4vw, 32px);
  padding: clamp(20px, 4vw, 36px); display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start;
}
.place-info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.place-info .label { color: var(--pumpkin); }
.place-info h3 { margin: 0; font-size: clamp(28px, 6vw, 40px); font-weight: 700; }
.place-info p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--blush); }
.place-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.place-actions .btn-pumpkin { padding: 13px 22px; font-size: 15px; }
.place-actions .btn-ghost-light { padding: 11px 20px; font-size: 15px; }
.residents-wrap { flex: 1 1 360px; min-width: 0; }
.residents { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 16px; }
.resident { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--peach); text-align: center; }
.resident:hover { color: var(--pumpkin); }
.resident img, .resident .avatar-blank { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid var(--c); }
.resident .avatar-blank { border-style: dashed; display: flex; align-items: center; justify-content: center; color: var(--c); }
.resident b { font-weight: 800; font-size: 15px; line-height: 1.2; }
.resident small { font-size: 13px; color: #E3B79E; line-height: 1.2; }
.nobody { border: 3px dashed var(--pumpkin); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nobody b { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 26px; font-weight: 700; }
.nobody span { font-size: 16px; color: var(--blush); }

/* ---------- Quiz ---------- */
.quiz-section { padding: 0 24px 72px; }
.quiz-card {
  background: #D9622B; color: var(--cocoa); border-radius: clamp(28px, 6vw, 40px);
  padding: clamp(20px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start;
}
.quiz-intro { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; }
.quiz-intro .kicker { margin: 0; }
.quiz-intro h2 { margin: 0; font-size: clamp(32px, 7vw, 48px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.05; }
.quiz-intro p:last-child { margin: 0; font-size: 17px; line-height: 1.6; max-width: 380px; }
.quiz-box { flex: 2 1 560px; min-width: 0; }
.quiz-panel { background: var(--peach); border-radius: 28px; padding: clamp(18px, 4vw, 32px); display: flex; flex-direction: column; gap: 22px; }
.quiz-progress { display: flex; flex-direction: column; gap: 10px; }
.quiz-progress span { font-weight: 800; font-size: 14px; color: var(--cranberry); }
.bar { height: 10px; border-radius: 999px; background: #F3B596; overflow: hidden; }
.bar div { height: 100%; background: var(--cocoa); border-radius: 999px; transition: width 0.25s ease; }
.quiz-panel h3 { margin: 0; font-size: clamp(24px, 5.5vw, 32px); font-weight: 700; line-height: 1.15; }
.quiz-panel h3:focus { outline: none; }
.answers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px; }
.answer {
  text-align: left; min-height: 64px; padding: 16px 20px; border-radius: 18px;
  border: 2px solid #F3B596; background: #FFF6F0; color: var(--cocoa);
  font-size: 17px; font-weight: 700; cursor: pointer;
}
.answer:hover { border-color: var(--cocoa); }
.link-btn {
  align-self: flex-start; background: none; border: none; color: var(--cranberry);
  font-weight: 800; font-size: 15px; padding: 12px 0; cursor: pointer; text-decoration: underline;
}
.quiz-result { background: var(--peach); border-radius: 28px; padding: 24px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.quiz-result img { flex: 0 1 220px; width: min(220px, 100%); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.quiz-result-copy { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.quiz-result-copy .label { color: var(--cranberry); }
.quiz-result-copy h3 { margin: 0; font-size: clamp(34px, 8vw, 48px); font-weight: 700; line-height: 1; }
.quiz-result-copy h3:focus { outline: none; }
.quiz-meta { font-size: 15px; font-weight: 700; color: var(--rust); }
.quiz-result-copy p { margin: 4px 0 0; font-size: 17px; line-height: 1.6; }
.quiz-result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.quiz-result-actions .btn-cocoa { padding: 14px 24px; }

/* ---------- Birthdays ---------- */
.bday-section { padding: 0 24px 72px; }
.bday-card {
  background: var(--cranberry); color: var(--peach); border-radius: clamp(28px, 6vw, 40px);
  padding: clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: 32px;
}
.bday-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: end; justify-content: space-between; }
.bday-head > div { display: flex; flex-direction: column; gap: 12px; }
.bday-head h2 { margin: 0; font-size: clamp(32px, 7vw, 48px); font-weight: 700; letter-spacing: -0.01em; }
.bday-head p { margin: 0; font-size: 17px; line-height: 1.6; color: #F8D5C2; max-width: 440px; }
.months { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.month { background: var(--peach); color: var(--cocoa); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.month.current { background: #FFE9A8; box-shadow: 0 0 0 4px var(--mustard); }
.month-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.month h3 { margin: 0; font-size: 26px; font-weight: 700; color: var(--cranberry); }
.this-month { background: var(--cocoa); color: var(--peach); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; white-space: nowrap; border-radius: 999px; }
.month ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.month li { display: flex; align-items: center; gap: 12px; }
.day { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.month li > span:last-child { display: flex; flex-direction: column; }
.month li b { font-weight: 800; font-size: 16px; }
.month li small { font-size: 13px; color: var(--rust); }
.month .none { font-size: 15px; color: var(--rust); margin: 0; }

/* ---------- SCU teaser ---------- */
.scu-section { padding: 0 24px clamp(48px, 8vw, 72px); }
.scu-card { background: var(--teal); color: var(--peach); border-radius: clamp(28px, 6vw, 40px); overflow: hidden; }
.film { height: 22px; background: repeating-linear-gradient(90deg, #12302F 0 18px, #FCE3D2 18px 30px, #12302F 30px 48px); opacity: 0.9; }
.scu-inner { padding: clamp(24px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.scu-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.scu-copy .kicker { color: var(--pumpkin); }
.scu-copy h2 { margin: 0; font-size: clamp(34px, 7vw, 54px); font-weight: 800; letter-spacing: -0.01em; line-height: 1.02; }
.scu-copy p { margin: 0; font-size: 18px; line-height: 1.6; color: #D6E6E3; max-width: 520px; }
.scu-copy .btn { align-self: flex-start; margin-top: 6px; }
.scu-list { flex: 1 1 320px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.scu-list li { border-bottom: 1px solid #3C6E70; }
.scu-list li:last-child { border-bottom: 0; }
.scu-list a { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; min-height: 44px; color: var(--peach); text-decoration: none; }
.scu-list a:hover { color: var(--pumpkin); }
.scu-list .ep { font-weight: 800; color: var(--pumpkin); font-size: 14px; flex: 0 0 48px; }
.scu-list .t { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 20px; font-weight: 700; }

/* ---------- Collection sections ---------- */
.coll { padding: clamp(48px, 8vw, 72px) 24px; background: var(--bg); color: var(--fg); }
.coll.light { --bg: #F6C3A3; --fg: #3A2018; --sub: #6B2E1E; --card: #FFF6F0; }
.coll.dark { --bg: #3A2018; --fg: #FCE3D2; --sub: #E3B79E; --card: #4D2B1F; }
.coll .wrap { display: flex; flex-direction: column; gap: 28px; }
.coll-head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; border-bottom: 3px dotted var(--c); padding-bottom: 20px; }
.coll-head .dot { width: 18px; height: 18px; background: var(--c); }
.coll-head h2 { margin: 0; font-size: clamp(30px, 7vw, 44px); font-weight: 700; letter-spacing: -0.01em; }
.coll-head p { margin: 0; font-size: 17px; color: var(--sub); flex: 1 1 240px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(128px, 38vw, 220px), 1fr)); gap: clamp(12px, 3vw, 22px); }
.card { background: var(--card); color: var(--fg); border-radius: clamp(18px, 4vw, 26px); padding: clamp(8px, 2vw, 12px); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; display: block; }
.card-blank {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--tint); color: var(--c);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  border: 2px dashed var(--c);
}
.card-blank span { font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cocoa); text-align: center; padding: 0 8px; }
.card-text { padding: 0 4px 4px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card h3 { margin: 0; font-size: clamp(19px, 4.8vw, 26px); font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.card .kind { font-size: 14px; color: var(--sub); }
.badge {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; max-width: 100%;
  margin-top: 8px; background: var(--c); color: var(--ink); font-weight: 800; font-size: 13px;
  padding: 7px 12px; border-radius: 999px; white-space: normal; line-height: 1.25;
}

/* ---------- Contact / footer ---------- */
.contact { background: var(--cocoa); color: var(--peach); padding: 88px 24px 48px; }
.contact-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; }
.contact-main { flex: 1 1 420px; display: flex; flex-direction: column; gap: 18px; }
.contact-main h2 { margin: 0; font-size: clamp(34px, 8vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.contact-main p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--blush); max-width: 460px; }
.contact-main .btn { align-self: flex-start; }
.contact-email { font-size: 16px; color: var(--blush); overflow-wrap: anywhere; }
.contact-links { flex: 0 1 320px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.contact-links .label { color: var(--pumpkin); }
.contact-links a { color: var(--peach); text-decoration: none; padding: 12px 0; }
.contact-links a:hover { color: var(--pumpkin); }
.legal {
  margin: 64px auto 0; padding-top: 24px; border-top: 1px solid #5A3527; display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: 14px; color: #D9AE96;
}

/* =====================================================================
   SCU page
   ===================================================================== */
body.scu { background: var(--teal); color: var(--peach); }
body.scu a { color: var(--peach); }
body.scu a:hover { color: var(--pumpkin); }
.scu-header { background: var(--cocoa); }
.scu-header .wrap { padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-weight: 800; font-size: 15px; }
.scu-brand { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 20px; font-weight: 700; color: var(--peach); text-decoration: none; }
.scu-hero { padding: 0 0 clamp(32px, 6vw, 56px); }
.scu-hero .film { height: 26px; opacity: 1; background: repeating-linear-gradient(90deg, #12302F 0 20px, #FCE3D2 20px 34px, #12302F 34px 54px); }
.scu-hero .wrap { padding: clamp(40px, 8vw, 80px) 24px 0; display: flex; flex-direction: column; gap: 18px; }
.scu-hero .kicker { letter-spacing: 0.16em; color: var(--pumpkin); }
.scu-hero h1 { margin: 0; font-weight: 800; font-size: clamp(40px, 10vw, 84px); line-height: 1; letter-spacing: -0.02em; }
.scu-hero p { margin: 0; font-size: clamp(17px, 4.5vw, 20px); line-height: 1.6; max-width: 640px; color: #D6E6E3; }
.episodes-section { padding: 0 0 clamp(24px, 5vw, 40px); }
.episodes-section .wrap { padding: 0 24px; }
.ep-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 6px 2px 14px; }
.ep-row { display: flex; gap: 14px; width: max-content; }
.ep-card {
  flex: 0 0 auto; width: 196px; min-height: 200px; text-align: left; cursor: pointer;
  border-radius: 22px; border: 3px solid transparent; background: var(--c); color: var(--ink);
  padding: 16px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.ep-card[aria-pressed="true"] { border-color: var(--peach); box-shadow: 0 8px 0 #12302F; }
.ep-card:hover { filter: brightness(1.06); }
.ep-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
.ep-num { font-weight: 800; font-size: 13px; letter-spacing: 0.12em; }
.soon-badge { font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; background: var(--cocoa); color: var(--peach); padding: 4px 8px; border-radius: 999px; }
.ep-title { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 21px; font-weight: 700; line-height: 1.15; }
.ep-cast { display: flex; }
.ava { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--peach); margin-right: -8px; flex: 0 0 auto; }
span.ava { background: var(--c); color: var(--peach); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.scroll-hint { margin: 0; font-size: 14px; color: #A9C9C5; }
.reader-section { padding: 0 24px clamp(56px, 10vw, 96px); }
.reader {
  max-width: 820px; margin: 0 auto; background: var(--peach); color: var(--cocoa);
  border-radius: clamp(24px, 5vw, 36px); padding: clamp(24px, 6vw, 56px);
  display: flex; flex-direction: column; gap: 20px; box-shadow: 0 12px 0 #12302F;
}
.reader .kicker { color: var(--cranberry); }
.reader h2 { margin: 0; font-weight: 800; font-size: clamp(32px, 7vw, 52px); line-height: 1.05; letter-spacing: -0.01em; }
.reader h2:focus { outline: none; }
.reader-cast { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.reader-cast > span { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.reader-cast .ava { width: 40px; height: 40px; border: 0; margin: 0; font-size: 15px; }
.stitch { height: 3px; background: repeating-linear-gradient(90deg, #D9622B 0 10px, transparent 10px 18px); }
.reader p { margin: 0; font-size: clamp(17px, 4.2vw, 19px); line-height: 1.75; }
.reader-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 12px; border-top: 2px solid #F3B596; padding-top: 20px; }
.reader-nav .spacer { flex: 1 1 auto; }
.scu-footer { background: var(--cocoa); padding: 32px 24px; }
.scu-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: #D9AE96; }
.scu-footer a { font-weight: 800; padding: 13px 0; display: inline-block; }

/* ---------- Prices ---------- */
.tile-price { margin-top: 4px; font-weight: 800; font-size: 15px; }
.price-note { margin: -16px 0 0; font-size: 15px; line-height: 1.5; color: var(--rust); }
.card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 8px; }
.card-foot .badge { margin-top: 0; }
.price { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-weight: 800; font-size: clamp(18px, 4.4vw, 22px); line-height: 1; color: var(--fg); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { display: block; margin-top: 3px; font-family: 'Nunito', system-ui, sans-serif; font-weight: 700; font-size: 12px; color: var(--sub); }

/* ---------- Phones: use more of the screen width ---------- */
@media (max-width: 600px) {
  /* page side margins */
  .site-header .wrap, .hero, .collections-section, .coll, .contact { padding-left: 16px; padding-right: 16px; }
  .cotw-section, .village-section, .quiz-section, .bday-section, .scu-section { padding-left: 10px; padding-right: 10px; }

  /* coloured panels: slimmer inner padding and corners */
  .paper, .quiz-card, .bday-card, .place-panel, .scu-inner { padding: 22px 16px; border-radius: 26px; }
  .scu-card { border-radius: 26px; }
  .quiz-card, .bday-card { gap: 24px; }
  .bday-card { padding-bottom: 16px; }

  /* boxes inside the panels */
  .quiz-panel { margin: 0 -6px; padding: 18px 14px; border-radius: 22px; gap: 18px; }
  .answer { padding: 14px 16px; min-height: 56px; }
  .quiz-result { margin: 0 -6px; padding: 16px; border-radius: 22px; }
  .months { gap: 10px; margin: 0 -6px; }
  .month { padding: 18px; border-radius: 20px; }
  .map-frame { margin: 0 -2px; }

  /* critter cards */
  .cards { gap: 10px; }
  .coll .wrap { gap: 22px; }

  /* stories page */
  .scu-header .wrap, .scu-hero .wrap, .episodes-section .wrap, .scu-footer { padding-left: 16px; padding-right: 16px; }
  .reader-section { padding-left: 10px; padding-right: 10px; }
  .reader { padding: 26px 18px; border-radius: 26px; }
}

/* =====================================================================
   Favourites and basket
   ===================================================================== */
[hidden] { display: none !important; }
html.sheet-open { overflow: hidden; }

/* header buttons */
.nav-icons { display: inline-flex; gap: 2px; }
.nav-icon {
  position: relative; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: transparent; color: var(--peach); display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.nav-icon:hover { background: rgba(252, 227, 210, 0.1); color: var(--pumpkin); }
.count {
  position: absolute; top: 1px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--pumpkin); color: var(--cocoa); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center;
}

/* on the critter cards */
.card-pic { position: relative; }
.fav-btn {
  position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(252, 227, 210, 0.94); color: var(--cranberry); display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 3px 10px rgba(58, 32, 24, 0.25); transition: transform 0.15s ease;
}
.fav-btn svg { fill: none; }
.fav-btn[aria-pressed="true"] svg { fill: currentColor; }
.fav-btn:active { transform: scale(0.9); }
.fav-btn:focus-visible { outline: 3px solid var(--cocoa); outline-offset: 2px; }
.card-text { flex: 1; }
.add-btn {
  margin-top: auto; width: 100%; min-height: 44px; padding: 8px 10px; border-radius: 999px;
  border: 2px solid var(--c); background: var(--c); color: var(--ink);
  font-size: 14px; font-weight: 800; cursor: pointer; line-height: 1.2;
}
.card-foot { margin-bottom: 10px; }
.add-btn:hover { filter: brightness(1.08); }
.add-btn.in-basket { background: transparent; color: var(--fg); }
@media (prefers-reduced-motion: reduce) { .fav-btn { transition: none; } }

/* floating basket bar */
.basket-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); pointer-events: none;
}
.basket-bar-btn {
  pointer-events: auto; display: flex; align-items: center; gap: 10px; width: min(520px, 100%); min-height: 58px;
  padding: 8px 8px 8px 18px; border: 0; border-radius: 999px; background: var(--cocoa); color: var(--peach);
  font-size: 16px; font-weight: 800; cursor: pointer; box-shadow: 0 10px 30px rgba(30, 16, 12, 0.35);
}
.basket-bar-text { flex: 1; text-align: left; font-variant-numeric: tabular-nums; }
.basket-bar-go { background: var(--pumpkin); color: var(--cocoa); padding: 11px 18px; border-radius: 999px; font-size: 15px; }
body.has-basket-bar { padding-bottom: 84px; }
html.sheet-open .basket-bar { display: none; }

/* slide-out panel */
.sheet {
  margin: 0 0 0 auto; padding: 0; border: 0; width: min(440px, 100%); max-width: 100%;
  height: 100%; max-height: 100%; background: var(--peach); color: var(--cocoa);
}
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgba(30, 16, 12, 0.55); }
.sheet-head {
  display: flex; align-items: center; gap: 8px; background: var(--cocoa); color: var(--peach);
  padding: calc(12px + env(safe-area-inset-top, 0px)) 10px 12px 14px;
}
.sheet-tabs { display: flex; gap: 6px; flex: 1; min-width: 0; flex-wrap: wrap; }
.sheet-tab {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 2px solid #6A4436; background: transparent;
  color: var(--peach); font-size: 15px; font-weight: 800; cursor: pointer;
}
.sheet-tab[aria-pressed="true"] { background: var(--pumpkin); border-color: var(--pumpkin); color: var(--cocoa); }
.sheet-close { width: 44px; height: 44px; flex: 0 0 auto; border: 0; border-radius: 50%; background: transparent; color: var(--peach); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sheet-close:hover { background: rgba(252, 227, 210, 0.1); }
.sheet-body { flex: 1; overflow-y: auto; padding: 16px; -webkit-overflow-scrolling: touch; }
.sheet-foot {
  display: flex; flex-direction: column; gap: 10px; border-top: 2px solid #F3B596;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
.sheet-foot:empty { display: none; }
.sheet-empty { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 24px 4px; }
.sheet-empty b { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 26px; font-weight: 700; }
.sheet-empty span { color: var(--rust); line-height: 1.5; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.line { display: flex; gap: 12px; align-items: flex-start; background: #FFF6F0; border-radius: 18px; padding: 10px; }
.line-pic { width: 64px; height: 80px; border-radius: 12px; object-fit: cover; flex: 0 0 auto; }
.line-pic-blank { display: flex; align-items: center; justify-content: center; background: var(--peach); color: var(--c); border: 2px dashed var(--c); }
.line-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.line-info b { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 19px; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.line-info small { font-size: 13px; color: var(--rust); }
.qty { display: inline-flex; align-items: center; align-self: flex-start; margin-top: 6px; border: 2px solid #F3B596; border-radius: 999px; }
.qty button { width: 44px; height: 40px; border: 0; background: transparent; color: var(--cocoa); font-size: 20px; font-weight: 800; border-radius: 999px; cursor: pointer; }
.qty button:disabled { opacity: 0.35; cursor: default; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.line-total { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.line-remove { font-size: 14px; }
.sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 800; }
.sum b { font-family: 'Fraunces', serif; font-variation-settings: "SOFT" 100; font-size: 28px; font-variant-numeric: tabular-nums; }
.sum-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--rust); }
.sheet-order { text-align: center; }
.sheet-foot-row { display: flex; justify-content: space-between; gap: 12px; }
.sheet-foot-row .link-btn { min-height: 44px; }
.select { user-select: all; -webkit-user-select: all; font-weight: 800; color: var(--cocoa); overflow-wrap: anywhere; }
.btn-sm { padding: 10px 16px; font-size: 14px; min-height: 44px; align-self: flex-start; margin-top: 6px; }
.btn[disabled] { opacity: 0.55; cursor: default; }

/* ---------- Logo badge ---------- */
.logo-mark { display: block; width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; }
.scu-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.scu-brand .logo-mark { width: 40px; height: 40px; }

/* Faded logo on placeholders ("coming soon", "photo coming soon") */
.logo-faded { display: block; border-radius: 50%; opacity: 0.4; }
.card .card-blank img.logo-faded { width: 76px; height: 76px; aspect-ratio: 1; border-radius: 50%; }
.cotw-pic .cotw-blank img.logo-faded { width: 110px; height: 110px; aspect-ratio: 1; border: 0; box-shadow: none; border-radius: 50%; }
.resident .avatar-blank img.logo-faded { width: 48px; height: 48px; border: 0; }
.line-pic-blank img.logo-faded { width: 34px; height: 34px; }

/* ---------- One of a kind (first come, first served) ---------- */
.oneoff-section { margin-top: clamp(56px, 10vw, 96px); }
.oneoff-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.oneoff-head .kicker { color: var(--pumpkin); }
.oneoff-head h2 { margin: 0; font-size: clamp(34px, 8vw, 52px); font-weight: 700; letter-spacing: -0.02em; }
.oneoff-head p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--sub); }
.oneoff-cards { grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 40vw, 300px), 1fr)); max-width: 680px; }
.card video.oneoff-video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; display: block; background: #2A1712 center / cover no-repeat; }
.oneoff-card .kind { line-height: 1.45; }
.only-one {
  position: absolute; top: 10px; left: 10px; background: var(--cranberry); color: var(--peach);
  font-weight: 800; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; transform: rotate(-4deg); box-shadow: 0 3px 10px rgba(30, 16, 12, 0.3);
}
.is-sold .only-one { background: var(--cocoa); }
.is-sold video, .is-sold img { filter: grayscale(0.6); opacity: 0.7; }
.sold-btn { display: flex; align-items: center; justify-content: center; background: transparent; color: var(--fg); opacity: 0.6; cursor: default; }
.sold-tag { display: inline-block; margin-top: 6px; font-weight: 800; font-size: 14px; color: var(--cranberry); }

/* ---------- Sets bought whole or one at a time ---------- */
.save-pill {
  align-self: flex-start; margin: -2px 0 10px; padding: 5px 10px; border-radius: 999px;
  background: var(--mustard); color: var(--cocoa); font-size: 12.5px; font-weight: 800; line-height: 1.2;
}
.card-options { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.opt-label { font-size: 13px; font-weight: 700; color: var(--sub); }
.opt-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.opt-btn {
  flex: 1 1 110px; min-height: 44px; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--c); background: transparent; color: var(--fg); font-size: 13.5px; font-weight: 800; line-height: 1.2;
}
.opt-btn:hover { background: rgba(252, 227, 210, 0.08); }
.opt-btn.in-basket::after { content: " ✓"; }
.tile-oneoff { outline: 2px dashed var(--pumpkin); outline-offset: -8px; }

/* Each card keeps its own height (a tall card no longer stretches its neighbours) */
.cards { align-items: start; }
.add-btn { margin-top: 0; }

/* Pause / play button on the one-of-a-kind videos */
.vid-toggle {
  position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(58, 32, 24, 0.7); color: var(--peach); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.vid-toggle:hover { background: rgba(58, 32, 24, 0.9); }
.vid-toggle .i-play, .vid-toggle[aria-pressed="true"] .i-pause { display: none; }
.vid-toggle[aria-pressed="true"] .i-play { display: block; }

/* Sets with "buy one" options (Biscuit & Crumble): a wide card, photo left, details right,
   instead of one very tall card. Other cards fill in around it. */
.cards { grid-auto-flow: row dense; }
.card.card-wide { grid-column: span 2; flex-direction: row; align-items: stretch; gap: clamp(10px, 2.5vw, 18px); }
.card-wide .card-pic { flex: 0 0 46%; min-width: 0; }
.card-wide .card-pic img { height: 100%; aspect-ratio: auto; min-height: 100%; }
.card-wide .card-text { flex: 1 1 0; min-width: 0; padding-top: 4px; }

/* v1.17: Biscuit & Crumble gets a whole row to itself, with the photo uncropped */
.card.card-wide { grid-column: 1 / -1; }
.card-wide .card-pic { flex: 0 0 auto; width: clamp(150px, 42%, 300px); align-self: flex-start; }
.card-wide .card-pic img { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
.card-wide .card-text { align-self: center; max-width: 460px; }
.card-wide .opt-btns { flex-wrap: wrap; }

/* One-of-a-kind cards: same height, buttons lined up at the bottom */
.cards.oneoff-cards { align-items: stretch; }
.oneoff-card .card-text { display: flex; flex-direction: column; }
.oneoff-card .add-btn { margin-top: auto; }
.oneoff-card .card-foot { margin-top: 8px; }

/* v1.18: collection tiles line up from the top, so every title sits at the same height */
.tile { justify-content: flex-start; gap: clamp(20px, 4vw, 36px); }

/* Critter cards in the same row are the same height again, with buttons lined up at the bottom.
   (Biscuit & Crumble has its own row, so it no longer stretches anyone.) */
.cards { align-items: stretch; }
.card .add-btn { margin-top: auto; }
.card-wide .card-text { align-self: center; }
.card-wide .add-btn { margin-top: 0; }
