/* The Little Picture House — shared Reshape language, local fonts, original crew. */
@font-face { font-family: "Fredoka"; src: url("/assets/fonts/fredoka-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/nunito-var.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f6efe0;
  --surface: #fff9ef;
  --peach: #f1dfcb;
  --ink: #2a2a3a;
  --ink-soft: #59565b;
  --navy: #123b75;
  --screen: #193c4e;
  --coral: #a94538;
  --coral-light: #ef785f;
  --line: #d8cdbc;
  --green-dark: #356447;
  --amber: #f0a429;
  --blue: #5aa7f0;
  --green: #8fcf7a;
  --f-display: "Fraunces", Georgia, serif;
  --f-head: "Fredoka", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --wrap: 1120px;
  --step-0: 1.0625rem;
  --step--1: .875rem;
  --step-1: 1.5rem;
  --step-2: clamp(2.25rem, 4vw, 3.5rem);
  --step-3: clamp(3.4rem, 7.8vw, 6.25rem);
  --motion-fast: 160ms;
  --motion-medium: 280ms;
  --motion-enter: 480ms;
  --ease: cubic-bezier(.22, .75, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: var(--step-0)/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }
::selection { background: var(--peach); color: var(--ink); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-family: var(--f-head); font-size: var(--step-1); font-weight: 500; line-height: 1.2; }
.wrap { width: min(var(--wrap), 100% - 4rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; padding: .65rem 1rem; background: var(--ink); color: var(--paper); z-index: 10; }
.skip:focus { left: 8px; outline-color: var(--coral-light); }
.eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.muted, .section-note, .episode-meta { color: var(--ink-soft); }
.measure { max-width: 56ch; }

.site-head { padding: 1.25rem 0; }
.site-head .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; min-height: 44px; align-items: center; flex-shrink: 0; }
.brand img { width: 230px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 800; font-size: .875rem; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .25rem; text-decoration: none; border-radius: 3px; transition: color var(--motion-fast), background-color var(--motion-fast); }
.nav a:hover, .nav a:focus-visible { color: var(--coral); background: var(--peach); }
.nav a:active { background: var(--line); }
.nav a[aria-current="page"] { color: var(--coral); text-decoration: underline; text-decoration-thickness: 2px; }
.btn-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 1.25rem; min-height: 52px; padding: .7rem 1.5rem; border: 1px solid var(--coral); border-radius: 5px; background: var(--coral); color: var(--surface); font: 800 .9375rem/1.4 var(--f-body); text-decoration: none; cursor: pointer; transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast), box-shadow var(--motion-fast); box-shadow: 0 3px 0 #843629; }
.btn:hover { background: #963c31; transform: translateY(-2px); box-shadow: 0 5px 0 #843629; }
.btn:active { transform: translateY(2px); box-shadow: 0 0 0 #843629; }
.btn.alt { background: transparent; color: var(--coral); box-shadow: none; }
.btn.alt:hover { background: var(--peach); }
.text-link { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 44px; font-weight: 800; font-size: .9375rem; }

.hero { padding: 1.35rem 0 3.6rem; text-align: center; }
.hero .eyebrow { margin-bottom: 1rem; }
.hero h1 { max-width: 1000px; margin-inline: auto; }
.hero h1 span { display: block; color: var(--coral); }
.hero-stage { position: relative; isolation: isolate; width: min(510px, 100%); margin: 1.1rem auto .6rem; padding: 1.25rem 1rem 0; }
.hero-stage::before { content: ""; position: absolute; inset: 2.5rem -2rem .2rem; z-index: -1; border-radius: 50% 50% 8% 8%; background: var(--peach); }
.stage-question { position: absolute; top: 0; left: 0; width: 100%; font-family: var(--f-head); font-size: .9375rem; color: var(--ink-soft); }
.hero-art { width: min(440px, 100%); margin: auto; overflow: visible; }
.hero .sub { font-size: 1.125rem; }
.hero .btn-row { justify-content: center; margin-top: 1.25rem; }
.first-entry .hero h1, .first-entry .hero-stage, .first-entry .hero .sub, .first-entry .hero .btn-row { animation: arrive var(--motion-enter) var(--ease) both; }
.hero-stage { animation-delay: 60ms; }
.hero .sub { animation-delay: 120ms; }
.hero .btn-row { animation-delay: 180ms; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
[data-hop] { cursor: pointer; transform-box: fill-box; transform-origin: 50% 100%; }
[data-hop]:focus-visible { outline-offset: 3px; }
.hop-ready:focus-visible { outline: none; }
.hop-focus { fill: none; stroke: var(--coral); stroke-width: 3; vector-effect: non-scaling-stroke; opacity: 0; pointer-events: none; }
.hop-ready:focus-visible > .hop-focus { opacity: 1; }
.hop-art { transform-box: fill-box; transform-origin: 50% 100%; }
.hop > .hop-art { animation: hop 550ms cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hop { 0%, 100% { transform: translateY(0) scale(1); } 25% { transform: translateY(4px) scale(1.06, .92); } 60% { transform: translateY(-22px) scale(.97, 1.04); } }

section:not(.hero) { padding: 5rem 0; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading .eyebrow { margin-bottom: .8rem; }
.section-note { max-width: 30ch; font-size: 1rem; }
.screening { background: var(--surface); }
.pilot-feature { display: grid; grid-template-columns: 1.1fr 1fr; }
.pilot-art { background: var(--screen); color: var(--paper); display: flex; flex-direction: column; justify-content: space-between; padding: 2rem 2rem 1.5rem; min-width: 0; border-radius: 8px 0 0 8px; }
.art-title { font-family: var(--f-display); font-size: 1.875rem; line-height: 1.2; letter-spacing: -.035em; }
.pilot-art svg { width: 100%; margin: 1rem 0; }
.sea { fill: none; stroke: #b0c5d1; stroke-width: 2; stroke-linecap: round; }
.art-caption { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.pilot-copy { padding: 2.5rem; background: var(--paper); border-radius: 0 8px 8px 0; display: flex; flex-direction: column; align-items: flex-start; }
.pilot-copy .eyebrow { color: var(--coral); margin-bottom: 1rem; }
.pilot-copy h3 { font: 600 clamp(2.2rem, 3.5vw, 3rem)/1.08 var(--f-display); letter-spacing: -.045em; margin-bottom: 1.25rem; }
.pilot-copy > p:not(.eyebrow):not(.episode-meta) { max-width: 36ch; }
.pilot-copy .episode-meta { margin-top: 1.25rem; }
.episode-meta { font-size: .875rem; }
.episode-state { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: .8125rem; }
.episode-state strong { font-weight: 800; }
.episode-state span:not(.status-dot) { color: var(--ink-soft); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.pilot-copy .episode-state { margin-top: 1.3rem; }
.eps { list-style: none; margin: 0; padding: 0; }
.eps li { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1.5rem; align-items: center; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.episode-number { color: var(--coral); font: 600 1.5rem var(--f-display); }
.eps-info h3 { margin-bottom: .3rem; }
.eps-info p { font-size: .875rem; color: var(--ink-soft); }
.eps .episode-state { flex-direction: column; align-items: flex-start; gap: 0; }

.series .section-heading { margin-bottom: 2rem; }
.series-row { display: grid; grid-template-columns: .8fr 1fr 1.4fr; gap: 2rem; align-items: center; border-top: 1px solid var(--line); padding: 2rem 0; }
.series-row:last-of-type { border-bottom: 1px solid var(--line); }
.question { font: 600 clamp(2.5rem, 5vw, 3.8rem)/1.1 var(--f-display); letter-spacing: -.05em; }
.series-row .episode-meta { margin-top: .5rem; }
.series-row > p { font-size: 1rem; max-width: 43ch; }
.journey-layers { margin-top: 2rem; border-radius: 6px; background: var(--peach); }
.journey-layers summary { padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; }
.journey-layers summary::-webkit-details-marker { display: none; }
.journey-layers summary strong { font-family: var(--f-head); font-size: 1.3rem; font-weight: 500; }
.layer-hint { display: block; font-size: .875rem; margin-top: .2rem; color: var(--ink-soft); }
.expand-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; font-size: 2rem; transition: transform var(--motion-medium) var(--ease); }
.expand-minus { display: none; }
.journey-layers[open] .expand-plus { display: none; }
.journey-layers[open] .expand-minus { display: block; }
.reg { display: grid; grid-template-columns: 1fr 1fr; }
.layer { padding: 2rem; }
.layer h3 { margin-bottom: .75rem; }
.layer.machine { background: var(--navy); color: var(--paper); border-radius: 0 0 6px 0; }
.journey-layers[open] .reg { animation: arrive var(--motion-medium) var(--ease); }

.crew { background: var(--peach); }
.crew-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.crew-m { display: grid; align-content: start; }
.portrait { height: 220px; display: flex; justify-content: center; align-items: flex-end; background: var(--paper); border-radius: 50% 50% 0 0; margin-bottom: 1.5rem; }
.portrait svg { width: 190px; overflow: visible; }
.crew-m h3 { font-size: 2.25rem; }
.crew-m .role { font-weight: 800; font-size: .875rem; margin: .25rem 0 .9rem; }
.crew-m > p:last-child { max-width: 30ch; font-size: 1rem; }
.editorial-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; }
.rules { list-style: none; padding: 0; margin: 0; }
.rules li { padding: .95rem 0; border-top: 1px solid var(--line); font-size: 1rem; }
.fact-log { min-width: 0; }
.fact-log .eyebrow { margin-bottom: 1rem; }
.facts { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: .9rem 1rem .9rem 0; border-bottom: 1px solid var(--line); width: 50%; }
.facts th { font-weight: 800; border-top: 1px solid var(--line); }
.facts td:last-child, .facts th:last-child { padding-right: 0; }
.facts td strong, .facts td span { display: block; }
.facts td span { color: var(--ink-soft); font-size: .8125rem; margin-top: .35rem; }
.no { color: var(--coral); }
.ok { color: var(--green-dark); }
.journal-invite { text-align: center; background: var(--coral); color: var(--surface); }
.journal-invite h2 { margin: 1rem auto 1.2rem; font-size: clamp(2.75rem, 5vw, 4.75rem); }
.journal-invite .btn { margin-top: 1.75rem; background: var(--paper); color: var(--ink); border-color: var(--paper); box-shadow: 0 3px 0 #843629; }
.journal-invite .btn:hover { background: var(--surface); }
.journal-invite a:focus-visible { outline-color: var(--ink); }

.crumbs { display: flex; align-items: center; gap: .65rem; font-size: .875rem; margin-bottom: 2rem; color: var(--ink-soft); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.page-heading { margin-bottom: 2.5rem; }
.page-heading h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
.page-heading p { max-width: 50ch; margin-top: 1rem; color: var(--ink-soft); }
.blog-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem 4rem; align-items: start; }
.blog-layout .page-heading { position: relative; margin-bottom: 0; }
.blog-layout .empty { grid-column: 2; grid-row: 1 / span 2; }
.blog-layout .blog-pilots { grid-column: 1; }
.empty { background: var(--surface); padding: 2.5rem; border-radius: 6px; display: grid; gap: 1rem; }
.empty-art { width: 135px; padding: .6rem 0; }
.empty h2 { font-size: 2rem; }
.empty p { font-size: 1rem; }
.empty .text-link { justify-self: start; margin-top: .75rem; }
.blog-pilots { margin-top: 2.5rem; }
.blog-pilots h2 { font-family: var(--f-head); font-size: 1.35rem; letter-spacing: 0; }
.blog-pilots ul { padding: 0; list-style: none; margin: 1rem 0 0; }
.blog-pilots li { padding: .6rem 0; font-size: 1rem; border-top: 1px solid var(--line); }
.error-page { text-align: center; }
.error-scene { position: relative; width: min(460px, 100%); margin: 0 auto 2rem; }
.error-code { font: 600 clamp(8rem, 23vw, 15rem)/1 var(--f-display); letter-spacing: -.07em; color: var(--peach); }
.error-scene svg { width: 155px; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); }
.error-page h1 { font-size: var(--step-2); }
.error-page .measure { margin: 1.3rem auto 1.8rem; }
.error-page .btn-row { justify-content: center; }

footer { margin-top: auto; background: var(--navy); color: var(--paper); padding: 2.5rem 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 2rem; align-items: center; flex-wrap: wrap; }
footer img { width: 210px; height: auto; }
footer .portfolio { margin-top: .75rem; font-size: .8125rem; color: #c8d4d5; }
footer ul { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0; margin: 0; list-style: none; font-size: .875rem; font-weight: 700; }
footer ul a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .25rem; }
footer a:focus-visible { outline-color: var(--coral-light); }
footer ul a:active { color: var(--coral-light); }

@media (max-width: 860px) {
  .wrap { width: calc(100% - 3rem); }
  .site-head .wrap { flex-wrap: wrap; gap: .5rem; }
  .brand img { width: 210px; }
  .nav { gap: 1rem; }
  .section-heading { align-items: flex-start; }
  .pilot-copy { padding: 1.75rem; }
  .pilot-art { padding: 1.5rem; }
  .series-row { grid-template-columns: .8fr 1.2fr; gap: 1rem 2rem; }
  .series-row > p { grid-column: 2; }
  .crew-grid { gap: 1.5rem; }
  .portrait { height: 180px; }
  .portrait svg { width: 160px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .blog-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .blog-layout .empty, .blog-layout .blog-pilots { grid-column: auto; grid-row: auto; }
  .blog-layout .blog-pilots { margin-top: 0; }
}
@media (max-width: 600px) {
  :root { --step-3: clamp(3rem, 12vw, 4.2rem); --step-2: 2.3rem; }
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .site-head { padding: .9rem 0 .3rem; }
  .site-head .wrap { justify-content: center; }
  .brand img { width: 208px; }
  .nav { justify-content: space-between; width: 100%; gap: .25rem; font-size: .8125rem; }
  .nav a { padding-inline: .35rem; }
  .hero { padding: 1.6rem 0 2.7rem; }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .1em; margin-bottom: .8rem; }
  .hero h1 { letter-spacing: -.055em; }
  .hero-stage { padding: 1.7rem 0 0; margin-top: 1.15rem; }
  .hero-stage::before { inset: 2.7rem 0 .2rem; }
  .hero-art { width: 95%; }
  .hero .sub { font-size: 1rem; max-width: 26ch; margin-inline: auto; }
  .btn-row { flex-direction: column; align-items: stretch; gap: .9rem; width: 100%; }
  .hero .btn-row { margin-top: 1.2rem; }
  .btn { width: 100%; }
  section:not(.hero) { padding: 3.25rem 0; }
  .section-heading { display: block; margin-bottom: 1.75rem; }
  .section-note { margin-top: 1rem; font-size: .9375rem; }
  .section-note br { display: none; }
  .pilot-feature { grid-template-columns: 1fr; }
  .pilot-art { border-radius: 6px 6px 0 0; padding: 1.5rem 1.25rem 1.1rem; }
  .art-title { font-size: 1.6rem; }
  .pilot-copy { border-radius: 0 0 6px 6px; padding: 1.75rem 1.25rem; }
  .pilot-copy h3 { font-size: 2.4rem; }
  .eps li { grid-template-columns: 2rem minmax(0, 1fr); gap: .6rem 1rem; padding: 1.5rem 0; }
  .eps-info h3 { font-size: 1.35rem; }
  .eps .episode-state { grid-column: 2; }
  .episode-number { align-self: start; }
  .series-row { grid-template-columns: 1fr; gap: .6rem; padding: 1.25rem 0; }
  .series-row > p { grid-column: auto; }
  .question { font-size: 3.1rem; }
  .series-row h3 { font-size: 1.35rem; }
  .journey-layers summary { padding: 1.2rem; }
  .journey-layers summary strong { font-size: 1.15rem; line-height: 1.4; display: block; }
  .reg { grid-template-columns: 1fr; }
  .layer { padding: 1.4rem; }
  .layer.machine { border-radius: 0 0 6px 6px; }
  .crew-grid { grid-template-columns: 1fr; gap: 2rem; }
  .crew-m { grid-template-columns: minmax(130px, .9fr) minmax(0, 1.1fr); gap: 0 1rem; }
  .portrait { grid-column: 1; grid-row: 1 / span 3; height: 180px; margin: 0; align-self: start; }
  .portrait svg { width: 100%; }
  .crew-m h3, .crew-m .role, .crew-m > p:last-child { grid-column: 2; }
  .crew-m h3 { font-size: 1.9rem; }
  .crew-m .role { margin-bottom: .5rem; }
  .crew-m > p:last-child { font-size: .9375rem; }
  .facts { font-size: .875rem; }
  .facts th, .facts td { padding-right: .85rem; }
  .fact-log .eyebrow { font-size: .6875rem; }
  .journal-invite h2 { font-size: 2.8rem; }
  .empty { padding: 1.5rem; }
  .empty h2 { font-size: 1.8rem; }
  .empty-art { width: 110px; }
  .page-heading { margin-bottom: 1.75rem; }
  .page-heading h1 { font-size: 3.3rem; }
  .error-scene svg { width: 120px; }
  .error-page .btn-row { text-align: center; }
  footer .wrap { gap: 1.5rem; }
  footer ul { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .first-entry .hero h1, .first-entry .hero-stage, .first-entry .hero .sub, .first-entry .hero .btn-row, .journey-layers[open] .reg, .hop > .hop-art { animation: none; }
  .btn, .nav a, .expand-icon { transition: none; }
  .btn:hover, .btn:active { transform: none; }
}
