/* Morning Edit. A shoe by the front door, paper stickers, one illustrator's hand.
   One bold thing per page: the shoe scene. Everything else stays quiet. */
:root {
  --paper: #F7F1EA;
  --card: #FFFDFB;
  --rose: #E8B4B0;
  --lilac: #B7A6CF;
  --butter: #F3D98B;
  --leaf: #6F8A4E;
  --leaf-soft: #CBD5B0;
  --clay: #A94E2B;
  --carrot: #E07B39;
  --nut: #B9814E;
  --nut-dot: #7A4B26;
  --ink: #3B1F4A;
  --ink-soft: #6E5A72;
  --line: #E6DCD3;
  --on-clay: #FFF8F1;
  --display: "Bricolage Grotesque", "Arial Rounded MT Bold", system-ui, sans-serif;
  --text: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1E1622; --card: #2A2030; --rose: #7A5257; --lilac: #564C70; --butter: #8C7642; --leaf-soft: #4A5638;
    --clay: #E08A62; --ink: #F3EAF1; --ink-soft: #C6B6C8; --line: #3D3142; --on-clay: #1E1622;
    --nut: #9A6A40; --nut-dot: #4E2F16;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; }
a { color: var(--clay); }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 82; line-height: .98; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
main { overflow-x: clip; }

/* Masthead */
.announce { background: var(--ink); color: var(--paper); text-align: center; font-size: 15px; font-weight: 700; padding: 8px 16px; }
.masthead { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 2px solid var(--line); }
.top { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 25px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.logo.small { font-size: 21px; }
.sun { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--butter); box-shadow: 0 0 0 3px var(--paper), 0 0 0 6px var(--clay); }
.cats { display: flex; gap: 4px; font-weight: 800; margin-left: 24px; margin-right: auto; }
.cats a { color: var(--ink); text-decoration: none; padding: 8px 14px; border-radius: 999px; }
.cats a:hover { background: var(--rose); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 999px; background: var(--clay); color: var(--on-clay); font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; border: 0; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--clay); color: var(--on-clay); }
.is-soon { opacity: .75; }
.kicker { font-weight: 800; font-size: 17px; color: var(--clay); margin-bottom: 14px; }

/* The shoe scene: back layer, gifts, front layer */
.scene { position: relative; aspect-ratio: 600 / 520; width: 100%; }
.scene svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.gifts { position: absolute; inset: 0; }
.gift { position: absolute; width: 30%; bottom: 60%; display: flex; align-items: flex-end; justify-content: center; transform: rotate(var(--r)); animation: drop .9s cubic-bezier(.3, 1.4, .5, 1) both; }
.gift img { width: 100%; height: auto; display: block; }
.gift img.is-photo { border: 6px solid var(--card); border-radius: 14px; box-shadow: 0 10px 20px -12px rgba(59, 31, 74, .6); }
.g1 { left: 6%; --r: -10deg; animation-delay: .35s; }
.g2 { left: 24%; --r: 7deg; bottom: 63%; animation-delay: .6s; }
.g3 { left: 36%; --r: -4deg; width: 26%; animation-delay: .85s; }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-160%) rotate(calc(var(--r) - 25deg)); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(var(--r)); }
}
@media (prefers-reduced-motion: reduce) { .gift { animation: none; } }

/* Guide hero */
.g-hero, .home-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(28px, 5vw, 64px); }
.g-hero h1, .home-hero h1 { font-size: clamp(52px, 8.6vw, 124px); font-variation-settings: "wdth" 76; line-height: .88; }
.intro { font-size: 20px; max-width: 32em; margin-top: 24px; }
.checked-line { margin-top: 18px; font-size: 15px; color: var(--ink-soft); font-weight: 700; max-width: 34em; }
.season-line { margin: 18px 0 24px; font-size: 17px; max-width: 32em; }

/* Corners nav */
.corners { display: flex; gap: 10px; flex-wrap: wrap; margin-top: clamp(24px, 4vw, 40px); }
.corners a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 800; border: 2px solid var(--line); }
.corners a:hover { border-color: var(--ink); }
.corners svg { width: 36px; height: 36px; }

/* Age filter */
.filterbar { position: sticky; top: 66px; z-index: 20; margin-top: 24px; padding-block: 10px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); }
.filter-in { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-family: var(--hand); font-size: 26px; font-weight: 700; margin-right: 6px; }
.filter-in button { font: inherit; font-weight: 800; font-size: 16px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.filter-in button:hover { background: var(--rose); }
.filter-in button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filter-count { margin-left: auto; font-size: 15px; font-weight: 700; color: var(--ink-soft); }

/* Corner sections */
.corner { padding-top: clamp(48px, 7vw, 88px); scroll-margin-top: 140px; }
.corner-head { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; margin-bottom: 36px; }
.corner-head svg { width: 68px; height: 68px; grid-row: span 2; }
.corner-head h2 { font-size: clamp(42px, 6vw, 72px); }
.corner-head p { font-family: var(--hand); font-size: 28px; font-weight: 700; color: var(--clay); line-height: 1.1; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 44px 28px; }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; view-transition-name: var(--vt, none); }
.ground { position: relative; aspect-ratio: 1; display: grid; place-items: center; padding: 11%; margin-bottom: 8px; }
.ground img { width: 100%; height: 100%; object-fit: contain; transform: rotate(-3deg); transition: transform .25s ease; }
.card:nth-child(even) .ground img { transform: rotate(3deg); }
.card:hover .ground img { transform: rotate(0) scale(1.04); }
.ground img.is-photo { width: 86%; height: 86%; object-fit: cover; border: 8px solid var(--card); border-radius: 18px; box-shadow: 0 14px 24px -16px rgba(59, 31, 74, .7); }
@media (prefers-reduced-motion: reduce) { .ground img { transition: none; } }
.g-rose { background: var(--rose); } .g-lilac { background: var(--lilac); } .g-butter { background: var(--butter); }
.g-leaf { background: var(--leaf-soft); } .g-paper { background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
.s1 { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
.s2 { border-radius: 32px 64px 40px 72px; }
.s3 { border-radius: 58% 42% 50% 50% / 44% 56% 44% 56%; }
.s4 { border-radius: 72px 36px 64px 28px; }
.price { position: absolute; right: 2%; bottom: 4%; width: 74px; height: 74px; border-radius: 50%; background: var(--clay); color: var(--on-clay); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; transform: rotate(-10deg); box-shadow: 0 0 0 4px var(--paper); font-variant-numeric: tabular-nums; }
.price small { font-size: 13px; align-self: flex-start; margin-top: 22px; }
.hand { position: absolute; left: 0; top: 6%; max-width: 70%; font-family: var(--hand); font-weight: 700; font-size: 24px; line-height: 1; background: var(--card); color: var(--ink); padding: 4px 12px 7px; border-radius: 8px; transform: rotate(-5deg); box-shadow: 0 6px 12px -10px rgba(59, 31, 74, .8); }
.badge { position: absolute; top: 2%; right: 4%; z-index: 2; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 13px; padding: 5px 11px; border-radius: 999px; transform: rotate(4deg); }
.meta { font-weight: 800; font-size: 15px; color: var(--ink-soft); }
.age-note { font-weight: 600; }
.card h3 { font-size: 27px; }
.why { font-size: 17px; flex-grow: 1; }
.card-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; border: 2px solid var(--line); white-space: nowrap; }
.empty { font-family: var(--hand); font-size: 26px; color: var(--ink-soft); }
.card[hidden] { display: none; }

/* Planner note */
.planner { padding-top: clamp(48px, 7vw, 80px); }
.note { position: relative; max-width: 640px; margin-inline: auto; background: var(--butter); padding: 36px 32px 28px; border-radius: 6px; transform: rotate(-1.2deg); box-shadow: 0 18px 30px -24px rgba(59, 31, 74, .9); }
.note-head { font-family: var(--hand); font-weight: 700; font-size: 34px; line-height: 1; margin-bottom: 10px; }
.note p:last-child { font-size: 19px; }
.tape { position: absolute; top: -14px; left: 50%; width: 130px; height: 30px; margin-left: -65px; background: color-mix(in srgb, var(--card) 70%, transparent); transform: rotate(3deg); box-shadow: 0 2px 4px rgba(59, 31, 74, .08); }

.disclosure { margin-top: 56px; font-size: 15px; color: var(--ink-soft); }

/* Signup */
.signup { position: relative; margin-top: 56px; background: var(--lilac); border-radius: 40px 40px 40px 8px; padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; overflow: hidden; }
.signup h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.signup p { max-width: 30em; }
.signup-art { position: absolute; right: 2%; top: -6px; width: 200px; opacity: .9; pointer-events: none; }
.signup > div, .signup > .btn { position: relative; }

/* Home */
.pillar { padding-top: 72px; scroll-margin-top: 90px; }
.pillar-head { display: flex; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 20px; }
.pillar-head h2 { font-size: clamp(38px, 5vw, 60px); }
.pillar-head p { color: var(--ink-soft); font-size: 18px; }
.pillar-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pillar-body.has-guide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.feature { position: relative; background: var(--rose); border-radius: 40px 8px 40px 40px; padding: clamp(28px, 4vw, 48px); padding-right: 40%; display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); min-height: 380px; overflow: hidden; }
.feature strong { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 78; font-size: clamp(36px, 4.6vw, 60px); line-height: .92; letter-spacing: -0.02em; }
.feature-intro { font-size: 17px; flex-grow: 1; }
.feature .btn { align-self: flex-start; }
.feature:hover .btn { background: var(--ink); color: var(--paper); }
.fc-art { position: absolute; right: 0; top: 0; bottom: 0; width: 40%; }
.fc-st { position: absolute; width: 62%; }
.fc-st img { width: 100%; height: auto; }
.fc-st img.is-photo { border: 6px solid var(--card); border-radius: 14px; }
.fs1 { top: 6%; left: 8%; transform: rotate(-8deg); } .fs2 { top: 30%; left: 34%; transform: rotate(7deg); }
.fs3 { top: 56%; left: 4%; transform: rotate(4deg); } .fs4 { top: 66%; left: 40%; transform: rotate(-6deg); }
.soon { background: var(--card); border-radius: 28px; padding: 24px 28px; border: 2px solid var(--line); }
.soon h3 { font-size: 26px; margin-bottom: 8px; }
.soon ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.soon li { display: flex; flex-direction: column; padding: 12px 0; border-top: 2px solid var(--line); }
.soon li strong { font-size: 18px; }
.soon li span { color: var(--ink-soft); font-size: 16px; }
.pillar-body:not(.has-guide) .soon ul { flex-direction: row; flex-wrap: wrap; gap: 0 32px; }
.pillar-body:not(.has-guide) .soon li { flex: 1 1 260px; }

.page { width: min(760px, calc(100% - 2 * var(--gutter))); padding-block: 40px; display: flex; flex-direction: column; gap: 20px; }
.page h1 { font-size: clamp(48px, 7vw, 80px); }
.page h2 { font-size: 36px; margin-top: 16px; scroll-margin-top: 90px; }
.page .disclosure { margin-top: 8px; }

/* Footer */
.foot { margin-top: 96px; background: var(--card); border-top: 2px solid var(--line); }
.foot-in { padding-block: 40px 56px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 24px 40px; font-size: 15px; color: var(--ink-soft); }
.foot-brand { display: flex; flex-direction: column; gap: 12px; }
.foot-col { display: flex; flex-direction: column; gap: 6px; }
.foot-col h2 { font-size: 20px; color: var(--ink); margin-bottom: 4px; }
.foot-col a { color: var(--ink-soft); text-decoration: none; }
.foot-col a:hover { color: var(--clay); }
.foot-legal { grid-column: 1 / -1; border-top: 2px solid var(--line); padding-top: 16px; }

@media (max-width: 860px) {
  .g-hero, .home-hero, .pillar-body.has-guide { grid-template-columns: minmax(0, 1fr); }
  .scene { max-width: 520px; margin-inline: auto; }
  .top { flex-wrap: wrap; row-gap: 8px; }
  .cats { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
  .cats a { background: var(--card); white-space: nowrap; }
  .filterbar { top: 0; position: relative; }
  .filter-count { width: 100%; margin-left: 0; }
  .feature { padding-right: clamp(28px, 4vw, 48px); padding-bottom: 260px; }
  .fc-art { top: auto; height: 250px; width: 100%; }
  .fc-st { width: 30%; }
  .fs1 { top: 10%; left: 4%; } .fs2 { top: 4%; left: 36%; } .fs3 { top: 14%; left: 66%; } .fs4 { display: none; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .signup-art { display: none; }
}

/* ---------- Collage pages (Pins 1000x1500, carousel 1080x1350) ---------- */
.collage-page { --paper: #F7F1EA; --card: #FFFDFB; --rose: #E8B4B0; --lilac: #B7A6CF; --butter: #F3D98B; --leaf-soft: #CBD5B0;
  --clay: #A94E2B; --ink: #3B1F4A; --nut: #B9814E; --nut-dot: #7A4B26; --on-clay: #FFF8F1; color-scheme: light; }
.c { position: relative; overflow: hidden; color: var(--ink); font-family: var(--text); }
.c-rose { background: var(--rose); } .c-lilac { background: var(--lilac); } .c-butter { background: var(--butter); } .c-leaf { background: var(--leaf-soft); }
.c-doodles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.c-head { position: absolute; left: 64px; right: 64px; top: 56px; display: flex; justify-content: space-between; align-items: center; z-index: 3; }
.c-brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.c-brand .sun { width: 28px; height: 28px; box-shadow: 0 0 0 4px var(--paper), 0 0 0 8px var(--clay); }
.c-kicker { font-family: var(--hand); font-weight: 700; font-size: 44px; background: var(--ink); color: var(--paper); padding: 0 22px 6px; border-radius: 12px; transform: rotate(3deg); }
.c-title br { display: none; }
.c-title { position: absolute; left: 58px; right: 58px; top: 136px; z-index: 3; font-size: 150px; line-height: .84; font-variation-settings: "wdth" 75; letter-spacing: -0.035em; }
.c-title span { font-family: var(--hand); font-weight: 700; font-variation-settings: normal; letter-spacing: 0; font-size: .6em; line-height: .9; color: var(--clay); display: block; width: max-content; transform: rotate(-3deg); margin: 4px 0 0 6px; }
.c-area { position: absolute; left: 40px; right: 40px; top: 31%; height: 59%; z-index: 2; }
.c-it { position: absolute; aspect-ratio: 1; transform: rotate(var(--r)); display: grid; place-items: center; }
.c-st { position: relative; display: block; }
.c-it img { display: block; width: auto; height: auto; max-width: var(--box); max-height: var(--box); }
.c-it img.is-photo { width: calc(var(--box) * .8); height: calc(var(--box) * .8); border: 14px solid var(--card); border-radius: 24px; box-shadow: 0 24px 40px -24px rgba(59, 31, 74, .8); object-fit: cover; }
.c-price { position: absolute; right: -40px; top: -44px; width: 128px; height: 128px; border-radius: 50%; background: var(--clay); color: var(--on-clay); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 38px; letter-spacing: -0.04em; transform: rotate(-12deg); box-shadow: 0 0 0 6px var(--paper); z-index: 3; }
.c-price small { font-size: 22px; align-self: flex-start; margin-top: 36px; }
.c-hand { position: absolute; left: -24px; bottom: -22px; font-family: var(--hand); font-weight: 700; font-size: 42px; line-height: 1; white-space: nowrap; background: var(--paper); padding: 4px 16px 9px; border-radius: 10px; transform: rotate(-5deg); box-shadow: 0 8px 14px -12px rgba(59, 31, 74, .9); z-index: 3; }
.c-foot { position: absolute; left: 64px; right: 64px; bottom: 52px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; z-index: 4; }
.c-url { background: var(--ink); color: var(--paper); font-weight: 800; font-size: 30px; padding: 12px 26px; border-radius: 18px; }
.c-dis { font-size: 19px; font-weight: 700; max-width: 270px; text-align: right; }
.c-swipe { font-family: var(--hand); font-weight: 700; font-size: 58px; transform: rotate(-6deg); }
