/* MilkBun: original cream-paper, cocoa-ink, mint-stamp visual system. */
:root {
  color-scheme: light;
  --paper: #faf5ea;
  --paper-light: #fffdf7;
  --ink: #44362e;
  --muted: #76675b;
  --mint: #d5e4d4;
  --mint-dark: #365b49;
  --line: #ded4c5;
  --pink: #edc4b7;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Trebuchet MS', 'Avenir Next', Avenir, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--mint-dark); outline-offset: 6px; border-radius: 4px; }
::selection { background: var(--pink); color: var(--ink); }
.page-shell { max-width: 1280px; padding: 0 64px; margin: 0 auto; }
.skip-link { position: absolute; left: 12px; top: -90px; z-index: 10; background: var(--ink); color: white; padding: 16px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { height: 114px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 33px; font-weight: 700; letter-spacing: -1.8px; line-height: 1; min-height: 44px; }
.brand img { width: 43px; height: 43px; }
.brand-second { font-weight: 400; }
.brand-dot { color: #a86b51; }
nav { display: flex; gap: 32px; margin-left: auto; margin-right: 32px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 14px; transition: color .16s ease; }
nav a:hover { color: var(--mint-dark); text-decoration: underline; text-underline-offset: 5px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid #bdcfbb; border-radius: 30px; font-size: 12px; background: #e6eee1; color: var(--mint-dark); white-space: nowrap; }
.status-dot { width: 6px; height: 6px; background: var(--mint-dark); border-radius: 50%; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; min-height: 647px; padding: 64px 0 72px; gap: 28px; }
.eyebrow, .section-number, .art-caption, .closed-label { font-family: var(--sans); font-size: 10px; letter-spacing: 1.8px; font-weight: 700; line-height: 1.6; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: var(--muted); }
.tiny-star { font-size: 21px; color: #98734d; font-weight: 400; line-height: 1; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 6.1vw, 82px); font-weight: 400; line-height: 1.02; letter-spacing: -3.9px; }
h1 span { display: block; }
h1 em { display: inline-block; font-weight: 400; color: var(--mint-dark); position: relative; }
h1 em::after { content: ''; position: absolute; bottom: -10px; left: 2px; right: -9px; height: 11px; border-top: 2px solid #78977c; border-radius: 50%; transform: rotate(-2deg); }
.hero-description { margin: 32px 0 0; max-width: 375px; color: var(--muted); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.hero-actions { display: flex; align-items: center; gap: 21px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; gap: 25px; justify-content: center; min-height: 50px; padding: 13px 23px; color: var(--paper-light); background: var(--ink); border: 1px solid var(--ink); border-radius: 9px; text-decoration: none; font-size: 13px; box-shadow: 0 3px 0 #d8cabb; transition: transform .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); background: #594438; }
.button span { font-size: 19px; }
.handwritten { display: inline-block; font-family: var(--serif); font-style: italic; color: #7d634e; font-size: 17px; transform: rotate(-7deg); white-space: nowrap; }
.invitation-note { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin: 22px 0 0; line-height: 1.7; }
.invitation-note svg { flex: 0 0 16px; }
.hero-art { position: relative; min-width: 0; padding-top: 18px; }
.art-orbit { position: absolute; width: 88%; aspect-ratio: 1; left: 9%; top: 10%; border: 1px dashed #d9cbb7; border-radius: 50%; transform: rotate(8deg); }
.art-orbit::after { content: ''; position: absolute; width: 88%; height: 88%; top: 6%; left: 6%; border-radius: 50%; background: #f2e8d8; opacity: .65; }
.mascot { display: block; width: 112%; max-width: none; height: auto; margin-left: -5%; position: relative; z-index: 1; }
.floating-note { position: absolute; z-index: 2; background: var(--paper-light); border: 1px solid #dfd5c5; padding: 12px 17px; font-family: var(--serif); font-size: 16px; font-style: italic; box-shadow: 0 5px 0 #dfd5c526; }
.note-top { top: 12%; right: 0; transform: rotate(8deg); border-radius: 5px; }
.mini-heart { margin-right: 8px; color: #ac6652; font-size: 22px; vertical-align: -2px; font-style: normal; }
.note-bottom { left: 0; bottom: 10%; transform: rotate(-7deg); padding: 13px 18px; border-radius: 5px; font-size: 14px; }
.note-line { display: inline-block; width: 17px; height: 1px; background: #bb9678; margin-right: 7px; vertical-align: middle; }
.art-spark { position: absolute; z-index: 2; font-family: var(--serif); font-weight: 400; color: #b48d5f; }
.spark-one { left: 7%; top: 12%; font-size: 38px; transform: rotate(10deg); }
.spark-two { right: 2%; bottom: 22%; font-size: 31px; }
.art-caption { text-align: center; margin: -6px 0 0; color: #74614e; letter-spacing: 1.3px; font-size: 9px; position: relative; }
.idea { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 48px 0; }
.section-number { color: var(--muted); }
h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -1.1px; font-size: 37px; line-height: 1.2; margin: 17px 0 0; }
.idea-copy { padding-top: 1px; max-width: 440px; }
.idea-copy p { font-size: 15px; line-height: 1.8; margin: 0 0 12px; color: var(--muted); text-wrap: pretty; }
.idea-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.idea-tags span { border: 1px solid #ddd0bd; padding: 6px 10px; border-radius: 5px; color: #74604c; font-size: 10px; letter-spacing: .2px; }
.beta { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; padding: 65px 0 60px; align-items: center; }
.beta-postcard { padding: 27px 31px 21px; border: 1px solid #c0d1be; background: var(--mint); border-radius: 3px; position: relative; transform: rotate(-1.2deg); box-shadow: 5px 6px 0 #eae2d5; }
.postcard-top { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.postcard-top .section-number { font-size: 9px; letter-spacing: 1.3px; color: #4e6954; }
.postmark { flex-shrink: 0; display: grid; place-content: center; text-align: center; width: 63px; height: 65px; border: 1px dashed #789179; color: #567255; font-family: var(--serif); font-size: 25px; letter-spacing: -1px; transform: rotate(7deg); }
.postmark small { font-family: var(--sans); letter-spacing: .8px; font-size: 6px; margin-top: 3px; }
.beta-postcard h2 { color: #354a38; margin: 11px 0 19px; font-size: 37px; }
.beta-postcard p { max-width: 340px; font-size: 14px; color: #435b47; line-height: 1.75; margin: 0 0 16px; text-wrap: pretty; }
.beta-postcard .postcard-signoff { font-family: var(--serif); font-style: italic; font-size: 18px; color: #3e5743; line-height: 1.4; margin-top: 20px; }
.postcard-bottom { border-top: 1px solid #adbfab; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; margin-top: 23px; }
.closed-label { font-size: 8px; letter-spacing: 1px; color: #405945; }
.closed-label span { font-size: 7px; margin-right: 6px; }
.bun-kiss { font-size: 24px; color: #627e62; }
.faq { align-self: center; }
.faq > .section-number { margin: 0 0 20px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; cursor: pointer; padding: 20px 0; min-height: 58px; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
.faq-icon { font-family: var(--sans); font-size: 22px; font-weight: 400; flex-shrink: 0; color: #8c7a65; transition: transform .15s ease; }
details[open] .faq-icon { transform: rotate(45deg); }
details p { font-size: 14px; line-height: 1.8; color: var(--muted); margin: -2px 26px 20px 0; }
.faq-doodle { display: block; text-align: right; margin-top: 26px; color: #91795f; font-family: var(--serif); font-style: italic; font-size: 17px; transform: rotate(4deg); }
.faq-doodle span { display: inline-block; font-size: 38px; transform: rotate(7deg); vertical-align: -10px; margin-left: 8px; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; color: var(--muted); }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; letter-spacing: -.3px; }
.footer-note { display: inline-flex; align-items: center; gap: 15px; }
.footer-note span { color: #a0815d; font-size: 21px; }
.not-found { min-height: 72vh; display: grid; align-content: center; justify-items: center; padding: 50px 0; text-align: center; }
.not-found img { width: min(270px, 75%); height: auto; }
.not-found h1 { font-size: clamp(40px, 7vw, 66px); letter-spacing: -2px; }
.not-found p { color: var(--muted); line-height: 1.7; max-width: 380px; }
.not-found .button { margin-top: 15px; }
@media (max-width: 1080px) {
  .page-shell { padding: 0 40px; }
  .hero { gap: 16px; min-height: 590px; padding-top: 54px; }
  h1 { font-size: clamp(55px, 6.6vw, 71px); letter-spacing: -3px; }
  .handwritten { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .idea, .beta { gap: 42px; }
  .note-top { font-size: 13px; right: -5px; }
  .note-bottom { font-size: 12px; }
}
@media (max-width: 760px) {
  .page-shell { padding: 0 25px; }
  .site-header { height: 88px; gap: 14px; }
  .brand { font-size: 29px; }
  .brand img { width: 36px; height: 36px; }
  nav { display: none; }
  .status { font-size: 10px; padding: 9px 11px; gap: 6px; }
  .hero { grid-template-columns: 1fr; padding: 43px 0 33px; gap: 10px; }
  .hero-copy { max-width: 470px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.5px; margin-bottom: 22px; }
  h1 { font-size: clamp(46px, 11.5vw, 69px); letter-spacing: -2.4px; line-height: 1.04; }
  h1 em::after { bottom: -8px; height: 8px; }
  .hero-description { margin-top: 27px; font-size: 14px; line-height: 1.8; max-width: 330px; }
  .hero-actions { margin-top: 24px; flex-wrap: wrap; gap: 18px; }
  .button { padding: 12px 18px; font-size: 12px; gap: 19px; }
  .handwritten { font-size: 16px; }
  .invitation-note { font-size: 10px; margin-top: 19px; }
  .hero-art { width: min(100%, 450px); justify-self: center; margin-top: 13px; }
  .mascot { width: 100%; margin-left: 0; }
  .art-orbit { top: 9%; }
  .floating-note { padding: 8px 12px; }
  .note-top { top: 10%; right: 0; font-size: 14px; }
  .note-bottom { bottom: 11%; left: 0; font-size: 12px; }
  .spark-one { left: 4%; top: 12%; font-size: 27px; }
  .spark-two { right: 0; bottom: 21%; font-size: 24px; }
  .art-caption { margin-top: 3px; font-size: 8px; letter-spacing: 1px; }
  .idea { grid-template-columns: 1fr; padding: 33px 0 35px; gap: 24px; }
  h2 { font-size: 31px; margin-top: 14px; }
  .idea-copy p { font-size: 14px; }
  .idea-tags { gap: 7px; }
  .idea-tags span { font-size: 9px; padding: 6px 8px; }
  .beta { grid-template-columns: 1fr; padding: 38px 0 30px; gap: 45px; }
  .beta-postcard { padding: 22px 23px 18px; }
  .beta-postcard h2 { font-size: 34px; }
  .postcard-top .section-number { font-size: 8px; letter-spacing: 1px; }
  .postmark { width: 54px; height: 57px; }
  .beta-postcard p { font-size: 13px; }
  .faq > .section-number { font-size: 9px; }
  summary { font-size: 14px; padding: 18px 0; }
  details p { font-size: 13px; }
  .faq-doodle { margin-top: 20px; font-size: 16px; }
  .site-footer { flex-wrap: wrap; row-gap: 2px; padding-top: 17px; padding-bottom: 20px; font-size: 10px; }
  .site-footer > span:nth-child(2) { order: 3; width: 100%; }
}
@media (max-width: 360px) {
  .page-shell { padding: 0 20px; }
  .brand { font-size: 25px; gap: 5px; }
  .brand img { width: 32px; height: 32px; }
  h1 { font-size: 44px; }
  .handwritten { font-size: 14px; }
  .hero-actions { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
