:root {
  color-scheme: light;
  --paper: #f5edda;
  --paper-light: #fff9eb;
  --ink: #263354;
  --blue: #34489a;
  --blue-dark: #243675;
  --coral: #ef785e;
  --sun: #f4bf65;
  --mint: #d8ecdd;
  --muted: #777664;
  --rule: rgba(38, 51, 84, .2);
  --mono: "DM Mono", "Courier New", monospace;
  --sans: "DM Sans", sans-serif;
  --serif: "Fraunces", Georgia, serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  transition: background-color .65s ease, color .4s ease;
}
body[data-weather="rainy"] { --paper: #e5ece1; --paper-light: #f7faf0; --blue: #385c70; --blue-dark: #294754; --coral: #d87861; --sun: #dfbd77; --mint: #c9dfd6; --muted: #62716b; }
body[data-weather="night"] { --paper: #e9e5f1; --paper-light: #faf5ff; --blue: #343263; --blue-dark: #252344; --coral: #e38a78; --sun: #f4d37e; --mint: #d4dfe9; --muted: #6b6780; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.paper-grain { position: fixed; z-index: 5; inset: 0; pointer-events: none; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }

.topbar { min-height: 76px; max-width: 1440px; margin: auto; padding: 0 5vw; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid var(--rule); }
.wordmark { display: inline-flex; align-items: center; width: fit-content; gap: 2px; text-decoration: none; font-size: 1.13rem; font-weight: 700; letter-spacing: -.07em; }
.wordmark span { color: var(--coral); }
.wordmark i { font-family: var(--mono); font-size: .48rem; font-style: normal; align-self: flex-start; margin: 3px 0 0 2px; letter-spacing: 0; }
.mark { width: 29px; height: 29px; margin-right: 5px; fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mark circle { fill: var(--coral); stroke: none; }
.top-note, .top-link, .scene-meta, .eyebrow, .hero-bottom, .weather-label, .weather-footnote, .section-index, .form-paper-head, .form-stamp, .word-count, .paper-foot, .footer > span, .footer > a:last-child { font-family: var(--mono); font-size: .61rem; letter-spacing: .085em; }
.top-note { justify-self: center; color: var(--muted); white-space: nowrap; }
.live-dot { display: inline-block; width: 7px; height: 7px; background: #76a477; border-radius: 50%; margin-right: 7px; box-shadow: 0 0 0 3px rgba(118,164,119,.15); }
.top-link { justify-self: end; text-decoration: none; border-bottom: 1px solid var(--coral); padding: 7px 0; font-size: .68rem; letter-spacing: .025em; }
.top-link span { color: var(--coral); font-size: 1rem; margin-left: 7px; }

.hero { max-width: 1440px; min-height: 715px; margin: auto; padding: 76px 7.5vw 25px; display: grid; grid-template-columns: .82fr 1.18fr; column-gap: 6vw; align-items: center; position: relative; }
.hero-copy { align-self: center; padding-bottom: 35px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: var(--muted); font-size: .59rem; }
.eyebrow-rule { width: 25px; height: 1px; background: var(--coral); }
h1, h2, p { margin-top: 0; }
h1, .manifesto h2, .drop-intro h2 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(3.6rem, 6.3vw, 6.8rem); letter-spacing: -.075em; line-height: .94; margin: 0 0 25px -5px; }
h1 em, .manifesto h2 em, .drop-intro h2 em { color: var(--coral); font-weight: 500; }
.intro { font-size: 1rem; line-height: 1.8; max-width: 350px; color: #575c68; margin: 0 0 29px; }
.primary-link { display: inline-flex; align-items: center; gap: 26px; padding: 14px 19px; color: var(--paper-light); background: var(--blue); border-radius: 2px; text-decoration: none; font-size: .84rem; transition: transform .2s, background .2s; }
.primary-link:hover { transform: translateY(-3px) rotate(-1deg); background: var(--blue-dark); }
.primary-link span { color: var(--sun); font-size: 1.05rem; }
.tiny-aside { margin: 29px 0 0; color: var(--muted); font-family: var(--mono); font-size: .58rem; letter-spacing: .025em; }
.asterisk { color: var(--coral); font-size: 1.15rem; vertical-align: -2px; margin-right: 3px; }

.art-side { width: 100%; max-width: 660px; justify-self: end; transform: rotate(.7deg); }
.scene-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .53rem; margin: 0 0 9px; letter-spacing: .065em; }
.scene-frame { padding: 10px; position: relative; overflow: hidden; background: var(--paper-light); box-shadow: 4px 5px 0 rgba(38,51,84,.11), 0 15px 45px rgba(38,51,84,.1); }
.scene { display: block; width: 100%; background: var(--blue); }
.scene-frame > svg.scene { display: none; }
.scene-image { height: auto; aspect-ratio: 1145 / 768; object-fit: cover; transition: filter .65s ease; }
.scene-frame::before, .scene-frame::after { content: ""; position: absolute; inset: 10px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .55s ease; }
.scene-frame::before { background: rgba(38, 69, 94, .2); }
.scene-frame::after { background: repeating-linear-gradient(108deg, transparent 0 34px, rgba(238,247,255,.58) 35px, transparent 36px 72px); }
.hill-back { fill: #6370ac; transition: fill .5s ease; }
.hill-front { fill: #5264a4; transition: fill .5s ease; }
.sun-disc { transform-origin: 579px 141px; transition: opacity .5s ease, transform .5s ease; }
.little-cloud { animation: cloud-drift 14s ease-in-out infinite alternate; }
.idea { transform-origin: 360px 176px; animation: idea-bob 3s ease-in-out infinite; }
.catcher { transform-origin: 250px 460px; animation: catcher-bob 4s ease-in-out infinite; }
.fish { transform-origin: 600px 336px; animation: fish-float 5s ease-in-out infinite; }
.star-cluster { animation: star-twinkle 3s ease-in-out infinite alternate; }
.rain, .night-stars { opacity: 0; transition: opacity .5s ease; }
.art-sticker { position: absolute; top: 24px; right: 23px; display: grid; place-items: center; width: 63px; height: 63px; background: var(--sun); border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font-family: var(--mono); font-size: .54rem; line-height: 1.3; text-align: center; transform: rotate(9deg); }
.art-caption { position: absolute; left: 23px; bottom: 21px; color: #fff0d5; font-family: var(--serif); font-size: .83rem; font-style: italic; }
.weather-control { display: grid; grid-template-columns: auto 1fr; gap: 7px 12px; align-items: center; padding: 13px 3px 0; }
.weather-label { color: var(--muted); font-size: .52rem; white-space: nowrap; }
.weather-options { justify-self: end; display: flex; gap: 5px; }
.weather-button { border: 1px solid var(--rule); border-radius: 30px; background: transparent; color: var(--ink); padding: 7px 10px; font-size: .64rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.weather-button:hover { transform: translateY(-2px); border-color: var(--coral); }
.weather-button.is-active { color: var(--paper-light); background: var(--blue); border-color: var(--blue); }
.weather-button span { color: var(--coral); font-size: .85rem; margin-right: 3px; }
.weather-button.is-active span { color: var(--sun); }
.weather-footnote { grid-column: 2; justify-self: end; color: var(--muted); font-size: .48rem; letter-spacing: .02em; }
.hero-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; align-self: end; margin-top: 44px; padding-top: 14px; color: var(--muted); border-top: 1px solid var(--rule); font-size: .51rem; }
.scroll-mark { color: var(--coral); font-size: .9rem; letter-spacing: -.3em; padding-right: 5px; }

body[data-weather="rainy"] .scene-image { filter: saturate(.74) hue-rotate(12deg) brightness(.91); }
body[data-weather="rainy"] .scene-frame::before { opacity: .5; }
body[data-weather="rainy"] .scene-frame::after { opacity: .65; animation: rain-fall 1.2s linear infinite; }
body[data-weather="rainy"] .hill-back { fill: #648290; }
body[data-weather="rainy"] .hill-front { fill: #4d7180; }
body[data-weather="night"] .scene-image { filter: saturate(.8) brightness(.72) hue-rotate(9deg); }
body[data-weather="night"] .scene-frame::before { opacity: .48; background: rgba(31, 35, 91, .38); }
body[data-weather="night"] .scene-frame::after { opacity: .75; background: radial-gradient(circle at 15% 28%, #fff6cf 0 1px, transparent 2px), radial-gradient(circle at 39% 17%, #fff6cf 0 1px, transparent 2px), radial-gradient(circle at 71% 33%, #fff6cf 0 1px, transparent 2px), radial-gradient(circle at 84% 19%, #fff6cf 0 1px, transparent 2px), radial-gradient(circle at 62% 72%, #fff6cf 0 1px, transparent 2px), radial-gradient(circle at 27% 78%, #fff6cf 0 1px, transparent 2px); animation: star-twinkle 2.5s ease-in-out infinite alternate; }
body[data-weather="night"] .night-stars { opacity: 1; animation: star-twinkle 2s ease-in-out infinite alternate; }
body[data-weather="night"] .sun-disc { transform: translate(0, 20px) scale(.82); }
body[data-weather="night"] .hill-back { fill: #514c82; }
body[data-weather="night"] .hill-front { fill: #3d4273; }
body[data-weather="night"] .star-cluster { opacity: .55; }

@keyframes idea-bob { 0%,100% { transform: translate(0,0) rotate(-3deg); } 50% { transform: translate(4px,-9px) rotate(4deg); } }
@keyframes catcher-bob { 0%,100% { transform: rotate(-.7deg); } 50% { transform: rotate(.8deg) translateY(-2px); } }
@keyframes fish-float { 0%,100% { transform: translate(0,0) rotate(-2deg); } 50% { transform: translate(8px,-9px) rotate(2deg); } }
@keyframes cloud-drift { from { transform: translateX(-7px); } to { transform: translateX(12px); } }
@keyframes star-twinkle { from { opacity: .68; } to { opacity: 1; } }
@keyframes rain-fall { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

.provenance { max-width: 1120px; margin: 0 auto 80px; padding: 24px 30px; display: grid; grid-template-columns: 50px 1fr auto; align-items: center; gap: 20px; border: 1px dashed var(--coral); background: rgba(255,249,235,.52); }
.provenance[hidden] { display: none; }
.provenance-spark { color: var(--coral); font-size: 2.2rem; }
.provenance .eyebrow { margin-bottom: 7px; }
.provenance h2 { margin: 0; font-family: var(--serif); font-size: 1.55rem; font-weight: 500; letter-spacing: -.025em; }
.provenance h2 span { color: var(--blue); overflow-wrap: anywhere; }
.provenance > a { font-size: .76rem; text-decoration-color: var(--coral); text-underline-offset: 5px; }

.manifesto { max-width: 1120px; margin: 35px auto 120px; padding: 29px 0 45px; position: relative; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-index { color: var(--muted); font-size: .55rem; }
.manifesto-main { display: grid; grid-template-columns: 1.1fr .9fr; gap: 9%; align-items: center; padding: 30px 0 10px; }
.manifesto h2 { font-size: clamp(2.4rem, 4.3vw, 4.2rem); letter-spacing: -.065em; line-height: 1.05; margin: 0; }
.manifesto-notes { max-width: 410px; color: #5e6069; font-size: .9rem; line-height: 1.75; }
.manifesto-notes p { margin: 0 0 14px; }
.hand-note { display: inline-block; margin-top: 4px; color: var(--blue); font-family: var(--serif); font-size: 1rem; font-style: italic; transform: rotate(-2deg); }
.hand-note span { color: var(--coral); font-family: var(--sans); font-style: normal; }
.postmark { position: absolute; right: 2%; bottom: -28px; width: 77px; height: 77px; border: 1px solid rgba(239,120,94,.65); border-radius: 50%; display: grid; align-content: center; justify-content: center; color: var(--coral); font-family: var(--mono); font-size: .51rem; line-height: 1.35; letter-spacing: .07em; text-align: center; transform: rotate(12deg); }
.postmark span { position: absolute; right: 11px; bottom: 11px; font-size: .85rem; }

.drop-section { max-width: 1120px; margin: 0 auto 125px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.drop-intro { padding-top: 13px; }
.drop-intro h2 { margin: 27px 0 19px; font-size: clamp(3rem, 5vw, 5.1rem); line-height: .99; letter-spacing: -.07em; }
.drop-intro > p:not(.section-index) { max-width: 350px; color: #5e6069; font-size: .91rem; line-height: 1.75; }
.reply-note { display: grid; grid-template-columns: 28px 1fr; gap: 9px; margin-top: 34px; max-width: 345px; color: var(--muted); font-size: .74rem; line-height: 1.7; }
.reply-note strong { color: var(--ink); font-size: .76rem; }
.reply-doodle { color: var(--coral); font-family: var(--serif); font-size: 1.7rem; }
.form-paper { padding: 26px 32px 19px; background: var(--paper-light); border: 1px solid rgba(38,51,84,.12); box-shadow: 9px 11px 0 rgba(38,51,84,.08), 0 20px 45px rgba(38,51,84,.06); transform: rotate(.45deg); }
.form-paper-head { display: flex; justify-content: space-between; align-items: center; margin: 0 0 30px; color: var(--muted); font-size: .51rem; }
.form-stamp { padding: 5px 8px; border: 1px solid var(--coral); color: var(--coral); transform: rotate(-3deg); font-size: .48rem; }
#contact-form { display: flex; flex-direction: column; gap: 21px; }
.hp-wrap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
#contact-form label { display: flex; flex-direction: column; gap: 8px; color: var(--ink); font-size: .76rem; font-weight: 600; }
#contact-form input:not([type="hidden"]), #contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(38,51,84,.25); border-radius: 0; padding: 10px 0; color: var(--ink); background: transparent; font-size: .84rem; font-weight: 400; }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: #a19d92; opacity: 1; }
#contact-form textarea { resize: vertical; min-height: 124px; line-height: 1.65; }
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--coral); }
.form-bottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 2px; }
.word-count { color: #999487; font-size: .5rem; letter-spacing: .025em; }
.submit-button { min-height: 45px; display: inline-flex; align-items: center; gap: 23px; padding: 0 16px; border: 0; background: var(--blue); color: var(--paper-light); cursor: pointer; font-size: .75rem; transition: transform .18s, background .18s; }
.submit-button:hover:not(:disabled) { transform: translateY(-2px) rotate(-1deg); background: var(--blue-dark); }
.submit-button > span:last-child { color: var(--sun); font-size: 1rem; }
.submit-button:disabled { opacity: .65; cursor: wait; }
.form-status { min-height: 1.3em; margin: -9px 0 0; font-size: .77rem; }
.form-status[data-state="ok"] { color: #39794f; }
.form-status[data-state="warning"] { color: #946b28; }
.form-status[data-state="error"] { color: #b34c41; }
.paper-foot { display: flex; justify-content: space-between; border-top: 1px dashed var(--rule); margin-top: 20px; padding-top: 12px; color: #a19d92; font-size: .47rem; }
.paper-foot span:last-child { color: var(--coral); font-size: .85rem; }

.footer { max-width: 1440px; min-height: 80px; margin: auto; padding: 15px 5vw; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--rule); }
.footer-mark { font-size: .95rem; }
.footer > span, .footer > a:last-child { color: var(--muted); font-size: .49rem; text-align: center; }
.footer > a:last-child { text-decoration: none; white-space: nowrap; }

@media (max-width: 1100px) {
  .hero { padding-left: 5vw; padding-right: 5vw; column-gap: 4vw; min-height: 650px; }
  h1 { font-size: clamp(3.3rem, 6vw, 5.3rem); }
  .manifesto, .drop-section, .provenance { margin-left: 6vw; margin-right: 6vw; }
}
@media (max-width: 760px) {
  .topbar { grid-template-columns: 1fr auto; min-height: 68px; padding: 0 6vw; }
  .top-note { display: none; }
  .top-link { font-size: .6rem; }
  .hero { min-height: auto; padding: 59px 7vw 20px; grid-template-columns: 1fr; gap: 37px; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(4rem, 12vw, 6.2rem); }
  .intro { max-width: 430px; }
  .art-side { max-width: 600px; justify-self: center; }
  .hero-bottom { margin-top: 48px; font-size: .43rem; gap: 8px; }
  .hero-bottom span:first-child { max-width: 145px; }
  .hero-bottom span:last-child { max-width: 145px; text-align: right; }
  .manifesto { margin-top: 68px; margin-bottom: 90px; }
  .manifesto-main { grid-template-columns: 1fr; gap: 23px; }
  .manifesto h2 { max-width: 550px; }
  .manifesto-notes { max-width: 520px; }
  .drop-section { grid-template-columns: 1fr; gap: 38px; margin-bottom: 85px; }
  .drop-intro h2 { font-size: clamp(3.4rem, 11vw, 5rem); }
  .drop-intro > p:not(.section-index) { max-width: 510px; }
  .reply-note { max-width: 480px; margin-top: 23px; }
  .provenance { grid-template-columns: 36px 1fr; margin-bottom: 60px; padding: 20px; gap: 12px; }
  .provenance-spark { font-size: 1.7rem; }
  .provenance h2 { font-size: 1.24rem; }
  .provenance > a { grid-column: 2; width: fit-content; }
}
@media (max-width: 480px) {
  .topbar { min-height: 61px; }
  .wordmark { font-size: 1rem; }
  .mark { width: 25px; height: 25px; }
  .top-link { font-size: .52rem; }
  .hero { padding-top: 46px; gap: 30px; }
  .eyebrow { font-size: .48rem; gap: 7px; }
  h1 { font-size: clamp(3.6rem, 14vw, 4.8rem); }
  .intro { font-size: .92rem; }
  .scene-meta { font-size: .42rem; }
  .scene-frame { padding: 6px; }
  .scene-frame::before, .scene-frame::after { inset: 6px; }
  .art-sticker { width: 50px; height: 50px; top: 14px; right: 14px; font-size: .45rem; }
  .art-caption { left: 14px; bottom: 13px; font-size: .66rem; }
  .weather-control { grid-template-columns: 1fr; gap: 8px; }
  .weather-options { justify-self: start; flex-wrap: wrap; }
  .weather-button { padding: 7px 9px; font-size: .6rem; }
  .weather-footnote { grid-column: 1; justify-self: start; }
  .hero-bottom { font-size: .38rem; margin-top: 39px; }
  .manifesto { margin-top: 54px; padding-top: 22px; }
  .manifesto h2 { font-size: 2.5rem; }
  .manifesto-notes { font-size: .83rem; }
  .postmark { width: 63px; height: 63px; right: 0; bottom: -22px; font-size: .43rem; }
  .drop-intro h2 { font-size: 3.6rem; }
  .form-paper { padding: 21px 19px 16px; }
  .form-paper-head { font-size: .43rem; }
  .form-stamp { font-size: .39rem; }
  .form-bottom { align-items: flex-start; flex-direction: column; }
  .submit-button { align-self: stretch; justify-content: space-between; }
  .footer { min-height: 90px; flex-wrap: wrap; justify-content: space-between; padding: 17px 6vw; gap: 8px 15px; }
  .footer > span { order: 3; width: 100%; text-align: left; }
  .footer > a:last-child { font-size: .43rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
