:root {
  --paper: #fff9ed;
  --ink: #285139;
  --green: #315c40;
  --muted: #69705b;
  --copper: #a4543d;
  --line: #dfd9c6;
  --wash: #f4efd7;
  --cream: #fff9ed;
  --coral: #c94f38;
  --serif: 'Songti SC','STSong','Noto Serif CJK SC','Source Han Serif SC',SimSun,serif;
  --sans: -apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
  --page: clamp(24px,6.3vw,104px);
}
* { box-sizing: border-box }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth }
body { margin: 0; font: 15px/1.8 var(--sans); -webkit-font-smoothing: antialiased }
button,input,a { -webkit-tap-highlight-color: transparent }
button,a { touch-action: manipulation }
button,input { font: inherit }
button { color: inherit; cursor: pointer; border: 0; background: none }
button:disabled { cursor: not-allowed; opacity: .42 }
a { color: inherit; text-underline-offset: 6px }
h1,h2,h3,p,figure { margin: 0 }
h1,h2,h3 { font-family: var(--serif); font-weight: 400; line-height: 1.45 }
h2 { font-size: clamp(28px,3.2vw,42px) }
h3 { font-size: 24px }
p { overflow-wrap: break-word }
::selection { background: #c7d3bd; color: #163d34 }
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible { outline: 2px solid #a18352; outline-offset: 5px }
#main:focus { outline: none }
[hidden] { display: none!important }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 30; padding: 12px 20px; background: var(--cream); color: var(--green) }
.skip-link:focus { top: 12px }
.site-header { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 23px var(--page); border-bottom: 1px solid var(--line) }
.brand { display: inline-flex; align-items: center; gap: 20px; font: 34px/1 var(--serif); letter-spacing: 5px; text-decoration: none }
.brand>span { display: block; border-left: 1px solid currentColor; padding-left: 18px; font: 15px/1.2 Georgia,serif; letter-spacing: 3px }
.brand small { display: block; margin-top: 6px; font: 8px/1.2 var(--sans); letter-spacing: 1.8px; opacity: .75 }
.site-header nav { display: flex; align-items: center; gap: 34px }
.site-header button { font-size: 12px; letter-spacing: 1.5px; padding: 0; min-height: 44px }
.site-header button span { margin-left: 12px }
body[data-view="home"] .site-header { position: absolute; inset: 0 0 auto; color: var(--ink); border-bottom-color: #dcd4bf90; background: #fff9ed45 }
main { max-width: 1440px; margin: auto; min-height: 70vh }
body[data-view="home"] main { max-width: none }
.eyebrow { font: 10px/1.7 var(--sans); letter-spacing: 2.4px; color: var(--copper); text-transform: uppercase }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 14px 27px; border: 1px solid var(--coral); border-radius: 30px; background: var(--coral); color: #fffdf5; font-size: 13px; letter-spacing: 1px; line-height: 1.6; text-decoration: none; transition: background .25s,transform .25s }
.button span { transition: transform .25s }
.button:hover { background: #ae3f2b; transform: translateY(-2px) }
.button:hover span { transform: translateX(4px) }
.button.secondary { background: transparent; color: var(--ink); border-color: #b7bead }
.text-button { min-height: 44px; padding: 8px 0; font-size: 12px; letter-spacing: .4px; text-decoration: underline; text-decoration-color: #9ca58e; text-underline-offset: 7px }
.text-button:hover { text-decoration-color: currentColor }

/* The entrance: a quiet place in an actual painted garden. */
.garden-hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(860px,100svh); display: flex; align-items: center; padding: 160px var(--page) 132px; color: var(--ink); background: var(--paper) }
.garden-scene { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; animation: garden-arrive 2s ease-out both }
.garden-hero::before { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg,#fff9ed50,transparent 58%),linear-gradient(0deg,#fff9edc2,transparent 22%) }
.hero-copy { width: min(620px,53%); margin: 0 auto 0 0; animation: page-arrive 1s ease-out both }
.hero-copy>.eyebrow { color: #9f563b; font-size: 10px; letter-spacing: 3px }
.hero-prologue { margin-top: 32px; font: 20px/1.8 var(--serif); letter-spacing: 2px; color: #546448 }
.garden-hero h1 { margin: 13px 0 26px; font-size: clamp(42px,4.5vw,69px); line-height: 1.5; letter-spacing: .025em }
.garden-hero h1 em { font-size: 1.12em; font-style: normal; letter-spacing: .055em; color: #bb4b36 }
.hero-description { font-size: 14px; line-height: 2.1; letter-spacing: 1px; color: #40583d }
.garden-hero .actions { margin-top: 30px; gap: 30px }
.garden-hero .button { min-width: 195px; border-radius: 40px; background: var(--coral); color: #fffdf5; border-color: var(--coral); padding: 16px 27px }
.garden-hero .button:hover { background: #ae3f2b }
.garden-hero .text-button { color: #40583d; text-decoration-color: #81956c }
.hero-meta { margin-top: 18px; color: #5d6c4d; font-size: 10px; letter-spacing: .4px }
.garden-margin { position: absolute; right: 24px; top: 40%; writing-mode: vertical-rl; font: 9px/1 Georgia,serif; letter-spacing: 3px; color: #31563e }
.garden-bottom { position: absolute; bottom: 25px; left: var(--page); right: var(--page); display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid #abbf8d80; padding-top: 22px; font-size: 10px; letter-spacing: 1px; color: #41563c }
.garden-bottom>span { font: 12px/1.6 Georgia,serif; letter-spacing: 3px }
.garden-bottom p i { font-style: normal; margin: 0 10px; opacity: .6 }
.garden-about { padding: 0; font-size: inherit; letter-spacing: inherit; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; gap: 25px }
.garden-story { max-width: 1440px; margin: auto; padding: 94px var(--page); display: grid; grid-template-columns: 1fr 1.05fr; gap: 100px; scroll-margin-top: 35px; background: #fffdf7 }
.story-heading h2 { font-size: clamp(30px,3.3vw,47px); line-height: 1.6; letter-spacing: 2px; margin: 22px 0 }
.story-heading>p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 2; letter-spacing: 1px }
.story-signature { display: block; font: 17px/1.6 var(--serif); color: #b0573b; margin-top: 24px }
.intro-strip>div { display: grid; grid-template-columns: 32px 1fr; gap: 22px; border-top: 1px solid var(--line); padding: 22px 0 }
.intro-strip>div:last-child { padding-bottom: 0 }
.intro-strip>div>span { font: italic 17px/1.7 Georgia,serif; color: var(--copper); padding-top: 4px }
.intro-strip h3 { font-size: 22px; letter-spacing: .5px }
.intro-strip p { margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 2 }
.garden-preview { max-width: 1440px; margin: auto; padding: 75px var(--page) 84px; display: grid; grid-template-columns: 270px 1fr; gap: 58px; border-top: 1px solid var(--line) }
.preview-heading h2 { margin: 22px 0; font-size: 36px; line-height: 1.6; letter-spacing: 1px }
.preview-heading>p:not(.eyebrow) { color: var(--muted); font-size: 12px; line-height: 2 }
.preview-heading .text-button { margin-top: 23px }
.preview-flowers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 21px; align-items: start }
.flower-peek { min-width: 0; padding: 21px 10px 24px; text-align: center; border: 1px solid #dec99c; background: #fff0c5; border-radius: 150px 150px 6px 6px; transition: transform .3s,border-color .3s }
.flower-peek:nth-child(2) { margin-top: 36px; background: #f1f3d0 }
.flower-peek:hover { transform: translateY(-7px); border-color: #839780 }
.flower-peek .flower-number { display: block; margin: 20px 0 9px; font-size: 9px }
.flower-peek h3 { font-size: 25px; letter-spacing: 3px; margin: 12px 0 5px }
.flower-peek .latin { font-size: 10px }
.welcome-bottom { max-width: 1440px; margin: auto; padding: 0 var(--page) 42px; display: flex; align-items: end; justify-content: space-between; gap: 30px; font-size: 10px; color: var(--muted) }
.welcome-bottom p { max-width: 680px; line-height: 1.9 }
.welcome-bottom>span { white-space: nowrap; font-size: 8px; letter-spacing: 1.5px }
.loading-garden { min-height: 100svh; padding: 190px var(--page) 70px; color: var(--ink); background: var(--paper) }
.loading-garden h1 { font-size: clamp(28px,4vw,58px); margin: 28px 0 }

/* The walk: a garden bookmark beside a page of choices. */
.notice { max-width: 900px; margin: 20px auto; padding: 14px 20px; background: #e2e7d4; color: #263e2d; font-size: 12px; position: relative; z-index: 6 }
body[data-view="home"] .notice { position: absolute; top: 94px; left: 24px; right: 24px; margin: 0 auto }
.quiz-shell { max-width: 1270px; margin: 40px auto 70px; padding: 0 30px; display: grid; grid-template-columns: 27% minmax(0,1fr); align-items: stretch }
.quiz-garden { position: relative; overflow: hidden; padding: 36px 27px 30px; display: flex; flex-direction: column; color: var(--ink); background: linear-gradient(#fff7df 0%,#fff7dfe8 35%,#fff7df00 72%),url('./assets/garden-daylight.webp') 76% center/cover; border-radius: 7px 0 0 7px }
.quiz-garden .eyebrow { color: #a3593d; font-size: 9px; letter-spacing: 2px }
.quiz-garden-title { margin-top: 25px; font: 28px/1.6 var(--serif); letter-spacing: 1px }
.quiz-chapter-mark { margin-top: auto; padding-top: 75px; font-family: Georgia,serif }
.quiz-chapter-mark>span { font-size: 65px; line-height: 1.2; font-style: italic; font-weight: 400; color: #486440; text-shadow: 0 1px 12px #fff8d8 }
.quiz-chapter-mark i { font-style: normal; font-size: 14px; margin-left: 10px; color: #d8dac2 }
.quiz-garden-foot { border-top: 1px solid #c7bb9080; padding: 16px; margin-top: 24px; font-size: 10px; letter-spacing: .5px; background: #fff9edeb; border-radius: 4px }
.quiz-garden-foot span { font-size: 8px; letter-spacing: 1.7px; opacity: .7 }
.quiz-page { min-width: 0; background: #fffdf7; border: 1px solid var(--line); border-left: 0; padding: 24px 38px 23px; border-radius: 0 7px 7px 0 }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 20px }
.quiz-top .text-button { font-size: 10px; white-space: nowrap }
.progress-line { height: 2px; background: #eae6d4; margin: 10px 0 24px }
.progress-line span { display: block; height: 100%; background: #d88b46; transition: width .3s }
.question-section>.eyebrow { font-size: 10px; letter-spacing: 1.3px; margin-bottom: 20px }
.question-section h1 { font-size: clamp(18px,1.6vw,22px); line-height: 1.8; min-height: 0; margin: 24px 0 18px; color: #9c583e }
.question-context { margin: 14px 0 25px; font-size: 11px; color: var(--muted); line-height: 1.9 }
.options { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px }
.option { display: grid; grid-template-columns: 28px 1fr 17px; align-items: center; gap: 14px; min-height: 66px; padding: 15px 18px; border: 1px solid #e2dec9; border-radius: 5px; cursor: pointer; background: #fffdf5; transition: border-color .2s,background .2s,transform .2s }
.option:hover { border-color: #d3af6a; background: #fff6df; transform: translateX(3px) }
.option:has(input:checked) { background: #fff0c9; border-color: #d58a42; box-shadow: inset 3px 0 #d58a42 }
.option:has(input:focus-visible) { outline: 2px solid var(--copper); outline-offset: 3px }
.option-letter { font: 23px/28px Georgia,serif; text-align: center; color: #ba8a53; width: 28px; height: 28px }
.option-text { font-size: 13px; line-height: 1.9 }
.option input { accent-color: var(--coral); width: 16px; height: 16px; margin: 0 }
.quiz-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; gap: 20px }
.quiz-actions .button { min-width: 150px }
.keyboard-hint { font-size: 9px; color: #71776d; text-align: center; margin-top: 20px; letter-spacing: .3px }
.phase-bridge { max-width: 920px; margin: 45px auto 70px; padding: 50px 55px; text-align: center; border: 1px solid #e2d3b0; border-radius: 10px; background: #fff6dd }
.phase-bridge h1 { font-size: clamp(34px,4.2vw,55px); line-height: 1.7; margin: 26px 0 }
.phase-bridge>p:not(.eyebrow) { max-width: 550px; margin: auto; color: var(--muted); font-size: 13px; line-height: 2 }
.phase-seasons { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin: 42px 0 }
.phase-season { border-top: 2px solid #e4b866; padding: 21px 4px 0 }
.phase-season h2 { font-size: 25px; color: #a45139 }
.phase-season p { font-size: 11px; color: var(--muted); margin-top: 12px }
.phase-bridge .actions { justify-content: center }

/* The keepsake: botanical plates and a readable personal journal. */
.result { padding: 40px var(--page) 85px }
.result-topline { display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 10px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line) }
.result-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 75px; padding: 49px 0 55px; border-bottom: 1px solid var(--line) }
.result-heading>.eyebrow { letter-spacing: 2px }
.result-heading h1 { font-size: clamp(62px,7.5vw,100px); letter-spacing: .14em; line-height: 1.4; margin: 17px 0 5px }
.latin { font: italic 16px/1.7 Georgia,serif; color: var(--copper) }
.result-title { font: 25px/1.65 var(--serif); margin-top: 28px; letter-spacing: 1px; color: #ae5039 }
.result-intro { font-size: 15px; color: #587044; margin-top: 20px; max-width: 470px; line-height: 2.1 }
.traits { display: flex; flex-wrap: wrap; gap: 8px 15px; font-size: 11px; letter-spacing: 1px; margin-top: 23px }
.traits span+span { border-left: 1px solid #aab59e; padding-left: 15px }
.phase-tag { display: inline-block; margin-top: 25px; padding: 6px 14px; border: 1px solid #b9c2ab; font-size: 11px; border-radius: 30px }
.botanical-art { aspect-ratio: 1; background-image: url('./assets/flora-atlas.webp'); background-size: 400% 400%; background-repeat: no-repeat; width: 100%; filter: brightness(1.07); mix-blend-mode: darken }
.result-art { max-width: 460px; width: 100%; justify-self: center; padding: 40px 25px 24px; border: 1px solid #d8b788; border-radius: 240px 240px 8px 8px; position: relative; background: #fff0c8 }
.result-art figcaption { font-size: 9px; color: #5f6d55; text-align: center; letter-spacing: 1.8px; margin-top: 14px }
.result>.actions { margin: 26px 0 40px }
.result>.actions .button { font-size: 12px }
.result-body { display: grid; grid-template-columns: 190px minmax(0,1fr); gap: 85px; padding-top: 24px }
.result-rail { font-size: 11px; color: var(--muted) }
.result-rail p { margin-top: 17px; line-height: 2 }
.result-rail .eyebrow { font-size: 9px }
.result-content { max-width: 720px; min-width: 0; counter-reset: reading }
.reading-section { padding-bottom: 34px; margin-bottom: 35px; border-bottom: 1px solid var(--line) }
.reading-section:last-child { border-bottom: 0; margin-bottom: 0 }
.reading-section h2 { font-size: 28px; margin-bottom: 22px; letter-spacing: 1px }
.reading-section p,.reading-section li { font-size: 14px; line-height: 2.15; color: #4c594b }
.reading-section p+p { margin-top: 17px }
.reading-section ul { padding-left: 20px; margin: 0 }
.reading-section li+li { margin-top: 10px }
.phase-reading { background: #f0f4d8; border: 1px solid #d0d7a8; border-radius: 6px; padding: 30px!important }
.phase-reading .eyebrow { margin-bottom: 14px }
.small-action { border-left: 2px solid #9b855a; padding-left: 20px; margin-top: 24px }
.small-action strong { display: block; font-size: 11px; color: var(--copper); margin-bottom: 8px }
.evidence summary { cursor: pointer; min-height: 52px; padding: 12px 0; font-family: var(--serif); font-size: 23px }
.evidence-note { font-size: 11px!important; color: var(--muted); margin: 12px 0 22px }
.axis { margin: 25px 0 32px }
.axis-top,.axis-labels { display: flex; justify-content: space-between; gap: 12px; font-size: 12px }
.axis-top strong { font-weight: 500 }
.axis-top span { color: var(--muted) }
.axis-track { position: relative; height: 3px; background: #ccd2c6; margin: 17px 6px 12px }
.axis-track::before { position: absolute; left: 50%; top: -4px; width: 1px; height: 11px; background: #899383; content: '' }
.axis-track i { position: absolute; left: var(--position); top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--green); transform: translate(-50%,-50%); border: 2px solid var(--paper) }
.axis-labels { color: var(--muted); font-size: 11px }
.neighbor-list { display: flex; flex-wrap: wrap; gap: 14px }
.neighbor-list button { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px }
.candidate-intro h1 { font-size: clamp(33px,4vw,53px); margin: 30px 0; line-height: 1.6 }
.candidate-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 27px; margin: 38px 0 }
.candidate-card { min-width: 0; text-align: center; padding: 18px 8px; border: 1px solid #d9c497; border-radius: 150px 150px 5px 5px; background: #fff3d6 }
.candidate-card h2 { font-size: 25px; margin-top: 12px }
.candidate-card>p { font-size: 11px; color: var(--muted) }
.candidate-card .text-button { font-size: 10px }
.candidate-manual { border-top: 1px solid var(--line); padding: 20px 0 }
.candidate-manual>summary { cursor: pointer; font: 22px/1.6 var(--serif) }
.candidate-manual .reading-section { margin-top: 22px }
.candidate-manual .reading-section h2 { font-size: 23px }
.cover-selected { outline: 2px solid #627f53; outline-offset: 5px }
.catalog { padding: 55px var(--page) 85px }
.catalog-head { display: flex; justify-content: space-between; gap: 50px; align-items: end; padding-bottom: 40px; border-bottom: 1px solid var(--line) }
.catalog-head h1 { font-size: clamp(46px,5.5vw,76px); margin-top: 20px; letter-spacing: 3px }
.catalog-head>p { max-width: 330px; font-size: 12px; line-height: 2; color: var(--muted) }
.catalog-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 45px 26px; margin-top: 50px }
.flower-entry { min-width: 0; text-align: center; padding: 28px 15px 24px; border: 1px solid #e0ceaa; border-radius: 160px 160px 5px 5px; background: #fff1d0; display: block; width: 100%; transition: background .25s,border-color .25s }
.flower-entry:hover { background: #ffedba; border-color: #bd9a4e }
.flower-entry .botanical-art { transition: transform .3s; margin-top: 18px }
.flower-entry:hover .botanical-art { transform: translateY(-5px) }
.flower-entry h2 { font-size: 27px; margin-top: 15px; letter-spacing: 3px }
.flower-entry .latin { font-size: 11px; margin-top: 4px }
.flower-entry p:last-child { font-size: 11px; color: var(--muted); margin-top: 9px }
.flower-number { font: 10px/1.5 Georgia,serif; letter-spacing: 1.5px; color: var(--copper) }
.catalog-callout { margin-top: 62px; padding: 32px 0; border-block: 1px solid var(--line); display: flex; justify-content: space-between; gap: 25px; align-items: center }
.catalog-callout h2 { font-size: 25px }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); padding: 26px var(--page); font-size: 10px; color: var(--muted); background: #fffdf7 }
.site-footer>a { font: 11px/1.4 Georgia,serif; letter-spacing: 2px; text-decoration: none }
.site-footer span { white-space: nowrap }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); width: max-content; background: var(--green); color: var(--paper); padding: 13px 22px; font-size: 13px; z-index: 20; box-shadow: 0 5px 24px #22342c20 }
.copy-fallback { margin: 20px 0; padding: 20px; background: var(--wash) }
.copy-fallback label { display: block; font-size: 13px }
.copy-fallback input { width: 100%; min-height: 44px; background: var(--paper); border: 1px solid var(--line); padding: 8px; margin-top: 10px; font-size: 12px }
dialog { max-width: min(520px,calc(100% - 30px)); width: 100%; max-height: 90svh; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 27px; overflow: auto }
dialog::backdrop { background: #10291edb; backdrop-filter: blur(6px) }
dialog h2 { font-size: 26px }
dialog p { font-size: 12px; margin: 10px 0 16px }
dialog img { display: block; width: 100%; height: auto }
dialog .actions { margin-top: 20px }
.dialog-close { position: absolute; right: 12px; top: 10px; font-size: 26px; min-width: 44px; min-height: 44px }
.empty-state { max-width: 750px; margin: auto; padding: 90px 30px }
.empty-state h1 { font-size: 38px; margin: 20px 0 }
.empty-state p { color: var(--muted) }
.view-enter { animation: page-arrive .45s ease-out }
@keyframes page-arrive { from { opacity: .3; transform: translateY(8px) } to { opacity: 1; transform: translateY(0) } }
@keyframes garden-arrive { from { opacity: .6; transform: scale(1.035) } to { opacity: 1; transform: scale(1) } }


/* Story pages, their replies, and letters to a friend. */
.garden-letter { font-family: var(--serif); font-size: 17px!important; line-height: 2.1!important; color: #4c6144!important }
.letter-note { font-size: 10px!important; margin-top: 22px; color: var(--muted) }
.flower-caption { font: 11px/1.8 var(--sans); color: #746145; margin-top: 9px; padding-inline: 3px }
.flower-peek:nth-child(3) { background: #fce9df }
.flower-entry:nth-child(4n+2) { background: #f0edff }
.flower-entry:nth-child(4n+3) { background: #ecf4de }
.flower-entry:nth-child(4n) { background: #ffe8df }
.chapter-whisper { margin-top: 23px; font: 13px/2 var(--serif); color: #5d674a }
.chapter-path { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding: 0; margin: 15px 0 18px; list-style: none }
.chapter-path li { border-bottom: 2px solid #e4e1cc; padding-bottom: 9px; font-size: 8px; color: #7d806b; line-height: 1.8 }
.chapter-path li>span { display: block; font: italic 12px/1.5 Georgia,serif; margin-bottom: 5px; color: #8b7c53 }
.chapter-path li[aria-current] { border-color: #d97945; color: #91492f }
.chapter-path li.visited { border-color: #aab78e }
.scene-page { color: #91784b; font: 10px/1.8 var(--sans); letter-spacing: 1px; margin-bottom: 13px }
.scene-page span { font: italic 16px/1 Georgia,serif; margin-inline: 2px; color: #b96b3e }
.question-scene { font: clamp(20px,1.85vw,24px)/2.05 var(--serif); color: #385744; letter-spacing: .4px; padding: 0 0 3px }
.letter-opening { color: var(--muted); font: 13px/1.9 var(--serif); margin: 0 0 16px }
.story-reply { margin-top: 17px; padding: 15px 18px; border-left: 2px solid #e0b454; background: #fff5d9; border-radius: 0 5px 5px 0; animation: page-arrive .25s ease-out }
.story-reply>span { display: block; color: #a86e3e; font: 9px/1.5 var(--sans); letter-spacing: 1px; margin-bottom: 5px }
.story-reply p { color: #6a6343; font: 14px/1.9 var(--serif) }
.story-ending { background: #fff4d8; border: 1px solid #e5d2a2; border-radius: 8px; padding: 34px; margin-bottom: 35px }
.story-ending h2 { font-size: 32px; margin: 16px 0 23px; color: #a94e36 }
.ending-letter { font: 17px/2.15 var(--serif); color: #4e6041 }
.keepsake { margin-top: 28px; border-block: 1px solid #e2cdaa; padding: 19px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px }
.keepsake>span { font-size: 10px; color: #876745 }
.keepsake strong { font: 23px/1.5 var(--serif); color: #a75337 }
.garden-invitation { margin-top: 25px; background: #fffdf4; padding: 22px; border-radius: 5px }
.garden-invitation>span { font-size: 9px; letter-spacing: 1px; color: #8c7551 }
.garden-invitation p { font: 18px/1.9 var(--serif); margin-top: 12px; color: #46613d }
.garden-invitation .text-button { margin-top: 12px; color: #b25339; font-size: 11px }
.journey-memories { margin: 0 0 38px; padding: 13px 0 21px; border-bottom: 1px solid var(--line) }
.journey-memories summary { font: 21px/1.7 var(--serif); cursor: pointer }
.journey-memories ol { margin: 23px 0; padding-left: 25px }
.journey-memories li { margin-block: 18px; padding-left: 8px; font: 14px/2 var(--serif) }
.journey-memories li>span { color: #b37742; font: 10px/1.6 var(--sans) }
.flower-permission { border-left: 3px solid #e2aa54; padding: 8px 0 8px 22px }
#share-invitation { font-family: var(--serif); font-size: 17px; margin-bottom: 15px }

@media (min-width: 1600px) {
  .hero-copy { margin-left: max(0px,calc((100vw - 1600px)/2)) }
}
@media (max-width: 1100px) {
  .garden-hero { min-height: 780px }
  .hero-copy { width: 65% }
  .garden-margin { right: 18px }
  .garden-story { gap: 60px; padding-block: 80px }
  .garden-preview { grid-template-columns: 220px 1fr; gap: 30px }
  .quiz-garden { padding-inline: 24px }
  .quiz-garden-title { font-size: 24px }
  .quiz-page { padding-inline: 28px }
  .result-hero { gap: 40px }
  .result-body { grid-template-columns: 150px minmax(0,1fr); gap: 45px }
}
@media (max-width: 800px) {
  .garden-bottom>span { display: none }
  .garden-story { gap: 36px }
  .garden-preview { grid-template-columns: 1fr }
  .preview-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 15px }
  .preview-heading>.eyebrow { grid-column: 1 / -1 }
  .preview-heading h2 { margin: 0; grid-row: span 2 }
  .preview-heading .text-button { justify-self: start; margin: 0 }
  .preview-flowers { margin-top: 25px }
  .quiz-shell { margin-block: 30px 55px; grid-template-columns: 1fr; padding: 0 var(--page) }
  .quiz-garden { display: none }
  .quiz-page { border-left: 1px solid var(--line); padding: 28px 36px }
  .catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px 18px }
  .candidate-grid { grid-template-columns: repeat(2,minmax(0,1fr)) }
  .site-footer>span,.welcome-bottom>span { display: none }
}
@media (max-width: 600px) {
  .site-header { padding: 17px 24px; gap: 18px }
  .brand { font-size: 30px; gap: 14px; letter-spacing: 4px }
  .brand>span { padding-left: 13px; font-size: 12px; letter-spacing: 2px }
  .brand small { font-size: 7px; letter-spacing: 1px }
  .site-header nav { gap: 15px }
  .site-header nav button:first-child { display: none }
  .site-header button { font-size: 11px; letter-spacing: 1px }
  .site-header button span { margin-left: 7px }
  .garden-hero { min-height: 800px; min-height: max(760px,100svh); align-items: start; padding: 137px 28px 155px }
  .garden-scene { object-position: 66% center }
  .garden-hero::before { display: none }
  .hero-copy { width: 100%; margin: 0 }
  .hero-copy>.eyebrow { font-size: 8px; letter-spacing: 2px }
  .hero-prologue { font-size: 18px; margin-top: 48px; letter-spacing: 2px }
  .garden-hero h1 { font-size: clamp(29px,8.1vw,47px); margin: 19px 0 28px; line-height: 1.65; letter-spacing: .03em }
  .garden-hero h1 em { font-size: 1.6em; line-height: 1.3; letter-spacing: .13em }
  .hero-description { font-size: 12px; line-height: 2.2; letter-spacing: .5px }
  .garden-hero .actions { margin-top: 30px; gap: 23px }
  .garden-hero .button { min-width: 164px; padding: 15px 23px; gap: 25px; font-size: 12px }
  .garden-hero .text-button { font-size: 11px }
  .hero-meta { font-size: 9px; margin-top: 17px }
  .garden-margin { display: none }
  .garden-bottom { bottom: 23px; left: 28px; right: 28px; display: block; padding-top: 20px; font-size: 9px; letter-spacing: .3px }
  .garden-bottom p i { margin: 0 5px }
  .garden-about { margin-top: 12px; font-size: 9px; gap: 15px }
  .garden-story { display: block; padding: 65px 28px 60px }
  .story-heading h2 { font-size: 40px; margin-block: 20px }
  .story-heading>.eyebrow { font-size: 9px }
  .story-heading>p:not(.eyebrow) { font-size: 12px }
  .story-signature { font-size: 18px; margin-top: 20px }
  .intro-strip { margin-top: 43px }
  .intro-strip>div { grid-template-columns: 23px 1fr; gap: 18px; padding: 23px 0 }
  .intro-strip h3 { font-size: 22px }
  .intro-strip p { font-size: 12px; margin-top: 10px }
  .garden-preview { padding: 45px 28px 50px; gap: 12px }
  .preview-heading { grid-template-columns: 1.1fr 1fr; gap: 15px }
  .preview-heading>.eyebrow { font-size: 9px }
  .preview-heading h2 { font-size: 30px; line-height: 1.7 }
  .preview-heading>p:not(.eyebrow) { font-size: 11px }
  .preview-heading .text-button { font-size: 10px }
  .preview-flowers { gap: 12px; margin-top: 28px; grid-template-columns: repeat(3,minmax(0,1fr)) }
  .flower-peek { padding: 12px 5px 16px }
  .flower-peek:nth-child(2) { margin-top: 25px }
  .flower-peek .flower-number { font-size: 7px; letter-spacing: .5px; margin-top: 10px }
  .flower-peek h3 { font-size: 20px; letter-spacing: 1px; margin-top: 10px }
  .flower-peek .latin { display: none }
  .welcome-bottom { padding: 0 28px 35px; font-size: 10px }
  .quiz-shell { margin: 0; padding: 0; display: block }
  .quiz-page { padding: 18px 24px 38px; border: 0; background: var(--paper) }
  .quiz-top .eyebrow { font-size: 9px }
  .quiz-top .text-button { font-size: 10px }
  .progress-line { margin: 8px 0 30px }
  .question-section>.eyebrow { font-size: 9px; margin-bottom: 20px; letter-spacing: 1px }
  .question-section h1 { font-size: 19px; min-height: 0; line-height: 1.8 }
  .question-context { font-size: 11px; margin: 17px 0 25px }
  .option { grid-template-columns: 20px 1fr 16px; gap: 12px; padding: 16px 14px; min-height: 82px; background: #f9f6ef }
  .option-text { font-size: 13px; line-height: 1.9 }
  .option-letter { font-size: 16px }
  .option:hover { transform: none }
  .quiz-actions { margin-top: 26px }
  .quiz-actions .button { min-width: 155px; padding-inline: 22px }
  .keyboard-hint { display: none }
  .phase-bridge { margin: 0; padding: 43px 25px 50px; border: 0; background: var(--paper) }
  .phase-bridge h1 { font-size: 33px; margin: 23px 0 }
  .phase-bridge>p:not(.eyebrow) { font-size: 12px; line-height: 2.1 }
  .phase-seasons { grid-template-columns: repeat(2,1fr); text-align: left; margin: 32px 0; gap: 24px }
  .phase-season { padding-top: 15px }
  .phase-season h2 { font-size: 25px }
  .phase-season p { font-size: 11px }
  .phase-bridge .actions { gap: 12px }
  .result { padding: 25px 26px 50px }
  .result-topline { align-items: start; font-size: 9px; gap: 15px; padding-bottom: 15px }
  .result-topline .eyebrow { font-size: 8px; letter-spacing: 1.2px }
  .result-topline>span { max-width: 112px; flex-shrink: 0; text-align: right }
  .result-hero { display: flex; flex-direction: column; gap: 33px; padding: 32px 0 }
  .result-heading { width: 100% }
  .result-heading h1 { font-size: 70px; margin: 13px 0 0 }
  .result-title { font-size: 23px; margin-top: 23px }
  .result-intro { font-size: 13px; margin-top: 16px }
  .traits { margin-top: 19px; gap: 8px 12px; font-size: 10px }
  .traits span+span { padding-left: 12px }
  .phase-tag { margin-top: 20px; font-size: 10px }
  .result-art { width: min(100%,320px); padding: 35px 22px 22px }
  .result>.actions { gap: 10px; margin: 23px 0 30px }
  .result>.actions .button { flex: 1; justify-content: center; padding: 12px 10px; font-size: 11px; gap: 10px }
  .result>.actions .text-button { font-size: 11px }
  .result-body { display: block; padding-top: 10px }
  .result-rail { padding: 10px 0 29px; border-bottom: 1px solid var(--line); margin-bottom: 26px }
  .result-rail p { margin-top: 7px; font-size: 11px }
  .reading-section { padding-bottom: 27px; margin-bottom: 27px }
  .reading-section h2 { font-size: 25px; margin-bottom: 16px }
  .reading-section p,.reading-section li { font-size: 13px; line-height: 2.1 }
  .phase-reading { padding: 22px!important }
  .candidate-grid { gap: 26px 18px; margin-block: 30px }
  .candidate-card { padding: 15px 6px }
  .candidate-card h2 { font-size: 22px }
  .candidate-card>p { font-size: 10px }
  .candidate-intro h1 { font-size: 31px; margin-top: 24px }
  .candidate-manual>summary { font-size: 21px }
  .evidence summary { font-size: 22px }
  .axis-top,.axis-labels { font-size: 10px; gap: 7px }
  .catalog { padding: 35px 26px 50px }
  .catalog-head { display: block; padding-bottom: 30px }
  .catalog-head h1 { font-size: 48px }
  .catalog-head>p { margin-top: 22px; font-size: 12px }
  .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 17px; margin-top: 30px }
  .flower-entry { padding: 20px 8px }
  .flower-entry .flower-number { font-size: 8px; letter-spacing: 1px }
  .flower-entry .botanical-art { margin-top: 12px }
  .flower-entry h2 { font-size: 24px }
  .flower-entry .latin { font-size: 9px }
  .flower-entry p:last-child { font-size: 10px }
  .catalog-callout { display: block; margin-top: 35px; padding: 25px 0 }
  .catalog-callout h2 { font-size: 23px }
  .catalog-callout .button { margin-top: 22px }
  .site-footer { padding: 23px 26px; flex-wrap: wrap; gap: 12px }
  .site-footer p { font-size: 9px; line-height: 1.8 }
  .notice { margin: 12px 20px; padding: 12px 15px; font-size: 11px }
  body[data-view="home"] .notice { top: 83px; left: 15px; right: 15px }
  body[data-view="home"]:has(.notice:not([hidden])) .garden-hero { padding-top: 188px; min-height: 830px }
  dialog { padding: 24px 18px }
  .empty-state { padding: 60px 26px }
}

@media (max-width: 800px) {
  .quiz-top>.eyebrow { font-size: 9px; letter-spacing: .7px }
  .quiz-top { gap: 14px }
  .quiz-page { border-radius: 6px }
}
@media (max-width: 600px) {
  .garden-hero { min-height: 0; padding: 110px 26px 26px; display: flex; flex-direction: column; align-items: stretch }
  .hero-copy { display: contents }
  .hero-copy>.eyebrow { order: 0; font-size: 8px; letter-spacing: 2px }
  .hero-prologue { order: 1; margin: 17px 0 0; font-size: 17px; color: #546448 }
  .garden-hero h1 { order: 2; font-size: clamp(35px,10vw,52px); margin: 8px 0 14px; line-height: 1.4 }
  .garden-hero h1 em { font-size: 1.06em; line-height: 1.4; letter-spacing: .05em }
  .hero-description { order: 3; font-size: 12px; line-height: 2; color: #40583d }
  .garden-scene { order: 4; position: relative; inset: auto; z-index: 0; width: calc(100% + 52px); height: 235px; margin: 17px -26px 0; object-fit: cover; object-position: 78% 62%; animation: none }
  .garden-hero .actions { order: 5; margin-top: 15px; gap: 20px }
  .garden-hero .button { min-width: 177px; padding: 15px 20px; font-size: 12px }
  .garden-hero .text-button { font-size: 10px }
  .hero-meta { order: 6; font-size: 9px; margin-top: 13px; letter-spacing: 0 }
  .garden-bottom { order: 7; position: static; margin-top: 27px; padding-top: 18px; font-size: 9px; line-height: 1.9 }
  .garden-about { margin-top: 10px; font-size: 10px }
  .garden-story { padding: 54px 26px }
  .story-heading h2 { font-size: 32px; margin-block: 18px }
  .garden-letter { font-size: 16px!important; letter-spacing: 0 }
  .story-signature { font-size: 15px }
  .intro-strip { margin-top: 35px }
  .intro-strip h3 { font-size: 21px }
  .intro-strip p { font-size: 11px }
  .garden-preview { padding: 43px 26px }
  .preview-heading h2 { font-size: 28px; letter-spacing: 0 }
  .preview-flowers { gap: 11px }
  .flower-caption { font-size: 9px; line-height: 1.8; padding: 0; margin-top: 7px }
  .flower-peek:nth-child(2) { margin-top: 25px }
  .quiz-page { padding: 16px 22px 35px; border: 0; border-radius: 0; background: #fffdf7 }
  .quiz-top>.eyebrow { max-width: 60%; font-size: 9px; line-height: 1.8 }
  .quiz-top .text-button { font-size: 9px }
  .chapter-path { gap: 10px; margin-block: 8px 17px }
  .chapter-path li { font-size: 0; padding-bottom: 0 }
  .chapter-path li>span { font-size: 10px; margin-bottom: 7px }
  .progress-line { margin: 0 0 21px }
  .question-scene { font-size: 19px; line-height: 1.95; letter-spacing: .15px }
  .question-section h1 { font-size: 18px; margin: 22px 0 18px; line-height: 1.8 }
  .scene-page { margin-bottom: 12px; font-size: 9px }
  .question-context { font-size: 10px; margin-top: -8px }
  .option { grid-template-columns: 26px 1fr 16px; gap: 12px; padding: 14px 13px; min-height: 75px; background: #fffaf0 }
  .option-letter { width: 26px; height: 26px; font-size: 22px; line-height: 26px }
  .option-text { font-size: 13px; line-height: 1.8 }
  .story-reply { padding: 14px 16px }
  .story-reply p { font-size: 14px }
  .quiz-actions .button { min-width: 144px; font-size: 12px; padding-inline: 21px }
  .quiz-actions .text-button { font-size: 11px }
  .phase-bridge { border: 0; border-radius: 0; margin: 0; padding: 40px 25px }
  .phase-bridge h1 { font-size: 33px }
  .story-ending { padding: 24px 21px; border-radius: 6px }
  .story-ending h2 { font-size: 29px; margin-block: 15px 20px }
  .ending-letter { font-size: 16px; line-height: 2.1 }
  .keepsake { margin-top: 23px; padding-block: 16px; display: block }
  .keepsake>span { display: block; margin-bottom: 8px }
  .keepsake strong { font-size: 22px }
  .garden-invitation { padding: 18px 16px }
  .garden-invitation p { font-size: 16px }
  .garden-invitation .text-button { font-size: 10px }
  .journey-memories summary { font-size: 20px }
  .candidate-manual .story-ending { padding: 22px 18px }
  .result-intro { font-size: 14px }
  body[data-view="home"]:has(.notice:not([hidden])) .garden-hero { padding-top: 169px; min-height: 0 }
}

/* A flower is a beginning: the second story belongs to two people. */
.garden-two { padding: 68px var(--page); text-align: center; background: #e8f0ed; border-block: 1px solid #ceded5 }
.garden-two h2 { margin: 17px 0; font-size: clamp(30px,3.6vw,48px) }
.garden-two>p:not(.eyebrow) { line-height: 2; color: #476458 }
.garden-two .button { margin-top: 27px }
.invitation-ribbon { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 24px; padding: 20px var(--page); background: #fce9d7; border-block: 1px solid #e9cfb8 }
.invitation-ribbon p { font: 18px/1.8 var(--serif) }
.pocket-gift { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 440px }
.pocket-gift span { font-size: 11px; color: var(--muted) }
.pocket-gift strong { font: 21px/1.6 var(--serif); color: var(--copper) }
.social-callout { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 30px 34px; border: 1px solid #dfcbb1; background: #f9edce; margin: 0 0 34px; border-radius: 5px }
.social-callout h2 { font-size: clamp(24px,2.8vw,34px); margin: 8px 0 }
.social-callout p:not(.eyebrow) { font-size: 13px; max-width: 560px; line-height: 1.9 }
.social-callout .button { flex-shrink: 0 }
.flower-deeper { border-block: 1px solid var(--line); margin: 35px 0 }
.flower-deeper>summary { cursor: pointer; font: 26px/1.8 var(--serif); padding: 23px 0 }
.flower-deeper[open]>summary { color: var(--copper) }
.invitation-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; padding: 65px var(--page) 75px; min-height: 650px }
.invitation-copy h1 { font-size: clamp(32px,4vw,54px); line-height: 1.65; margin: 18px 0 25px }
.invitation-line { font: 22px/1.9 var(--serif); color: var(--copper); max-width: 510px }
.invitation-description { margin-top: 24px; font-size: 14px; line-height: 2; color: #4f6854 }
.invitation-note { font-size: 12px; color: var(--muted); margin-top: 22px; line-height: 1.9 }
.invitation-flower { padding: 28px 30px; border-radius: 210px 210px 8px 8px; border: 1px solid #dac69c; background: #ffefc3; align-self: center }
.invitation-flower figcaption { text-align: center; font: 32px/1.7 var(--serif); padding-top: 12px }
.invitation-flower figcaption span { display: block; font: 12px/1.8 var(--sans); color: var(--copper); margin: 7px 0 }
.flower-picker { padding: 55px var(--page); text-align: center }
.flower-picker h1 { font-size: clamp(30px,4vw,48px); margin: 18px 0 }
.flower-picker>p:not(.eyebrow) { font-size: 14px; line-height: 2 }
.guest-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 18px; margin: 35px auto; max-width: 950px }
.guest-option { padding: 20px; border: 1px solid #decba8; border-radius: 120px 120px 5px 5px; background: #fff3d7; display: flex; flex-direction: column; align-items: center }
.guest-option:hover { background: #ffe9b2; border-color: #be8456 }
.guest-option .botanical-art { width: 100%; max-width: 220px }
.guest-option strong { font: 27px/1.7 var(--serif); margin: 10px 0 }
.guest-option>span { font-size: 12px; line-height: 1.8 }
.guest-option .guest-go { margin-top: 14px; color: var(--copper); text-decoration: underline; text-underline-offset: 5px }
.encounter { padding: 46px var(--page) 65px; max-width: 1180px; margin: auto }
.encounter-heading { text-align: center }
.encounter-prelude { margin: 19px 0 10px; font-size: 13px; color: var(--muted) }
.encounter h1 { font-size: clamp(32px,4.2vw,54px); line-height: 1.55; color: var(--ink) }
.encounter-pair { display: grid; grid-template-columns: minmax(0,1fr) 60px minmax(0,1fr); align-items: center; max-width: 710px; margin: 28px auto 0; border-bottom: 1px solid #d7c7a8; padding-bottom: 28px }
.encounter-pair figure { min-width: 0; text-align: center }
.encounter-pair .botanical-art { width: 100%; max-width: 260px; margin: auto }
.encounter-pair h2 { font-size: 31px; margin: 7px 0 }
.encounter-pair figcaption p { color: #79503d; font-size: 12px; line-height: 1.8 }
.pair-and { font: italic 50px/1 Georgia,serif; color: #b48251; text-align: center; align-self: center; padding-bottom: 65px }
.encounter-letter { text-align: center; max-width: 710px; margin: 0 auto; padding: 24px 0 0 }
.encounter-quote { font: 25px/1.85 var(--serif); color: #aa4e36; margin-bottom: 18px }
.encounter-scene { max-width: 640px; margin: auto; font: 18px/2.1 var(--serif); text-align: left }
.encounter-keepsake { padding: 20px 24px; background: #e8efdf; margin-top: 26px; border-radius: 4px }
.encounter-keepsake span { display: block; font-size: 11px; letter-spacing: 1px; color: #536845 }
.encounter-keepsake strong { display: block; margin-top: 6px; font: 27px/1.6 var(--serif) }
.encounter-actions { justify-content: center; margin-top: 25px }
.encounter-note { max-width: 640px; margin: 17px auto 0; text-align: center; font-size: 11px; color: var(--muted) }
.encounter-after { text-align: center; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 34px }
.encounter-after h2 { font-size: 27px }
.encounter-after p { margin-top: 12px; font-size: 13px; color: var(--muted) }
.encounter-after .actions { justify-content: center; margin-top: 18px }
@media (max-width: 800px) {
  .social-callout { display: block; padding: 25px; margin-bottom: 26px }
  .social-callout .button { margin-top: 18px }
  .invitation-page { gap: 24px; padding-block: 40px }
  .invitation-copy h1 { font-size: 33px }
  .invitation-line { font-size: 19px }
}
@media (max-width: 600px) {
  .garden-two { padding: 40px 26px }
  .garden-two p:not(.eyebrow) { font-size: 13px }
  .result-hero { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 12px; align-items: start; padding-block: 24px }
  .result-heading h1 { font-size: clamp(40px,11vw,57px); letter-spacing: .02em; margin: 10px 0 3px }
  .result-heading>.eyebrow { font-size: 9px; letter-spacing: .8px }
  .result-title { font-size: 19px; line-height: 1.7; margin-top: 14px; letter-spacing: 0 }
  .result-heading>.latin { font-size: 10px; overflow-wrap: anywhere }
  .result-intro { font-size: 13px; line-height: 1.9; margin-top: 12px }
  .result-art { width: 100%; padding: 22px 5px 15px; margin-top: 30px }
  .result-art figcaption { font-size: 7px; line-height: 1.8; letter-spacing: .2px; margin-top: 7px; overflow-wrap: anywhere }
  .traits { flex-wrap: wrap; gap: 7px; margin-top: 16px }
  .traits span { font-size: 10px; padding: 0 8px 0 0 }
  .pocket-gift { display: block; padding-top: 12px; margin-top: 15px }
  .pocket-gift span { font-size: 10px }
  .pocket-gift strong { display: block; font-size: 18px; margin-top: 3px }
  .social-callout { padding: 23px 20px }
  .social-callout h2 { font-size: 26px }
  .social-callout .button { width: 100%; font-size: 13px; justify-content: center }
  .social-callout p:not(.eyebrow) { font-size: 13px }
  .flower-deeper>summary { font-size: 23px }
  .invitation-page { display: flex; flex-direction: column; gap: 22px; padding: 30px 26px 40px; min-height: 0 }
  .invitation-copy { display: contents }
  .invitation-copy>.eyebrow { order: 0; align-self: start; font-size: 9px }
  .invitation-copy h1 { order: 1; align-self: start; font-size: 33px; line-height: 1.5; margin: -6px 0 0 }
  .invitation-flower { order: 2; width: 156px; padding: 15px 13px; border-radius: 100px 100px 4px 4px }
  .invitation-flower figcaption { font-size: 23px; padding-top: 2px }
  .invitation-flower figcaption span { display: none }
  .invitation-line { order: 3; font-size: 18px; margin: 0; line-height: 1.8 }
  .invitation-description { order: 4; align-self: start; font-size: 13px; margin-top: -8px }
  .invitation-copy .actions { order: 5; align-self: stretch; justify-content: center; margin: 0; gap: 6px }
  .invitation-copy .button { width: 100%; justify-content: center; font-size: 12px }
  .invitation-note { order: 6; font-size: 11px; margin: -8px 0 0; align-self: start }
  .flower-picker { padding: 34px 22px }
  .flower-picker h1 { font-size: 29px }
  .flower-picker>p:not(.eyebrow) { font-size: 12px }
  .guest-options { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-block: 25px }
  .guest-option { padding: 16px 12px }
  .guest-option strong { font-size: 24px }
  .guest-option>span { font-size: 11px }
  .encounter { padding: 28px 23px 45px }
  .encounter-heading .eyebrow { font-size: 8px; letter-spacing: 1.3px }
  .encounter-prelude { font-size: 11px; margin-top: 14px }
  .encounter h1 { font-size: 31px }
  .encounter-pair { grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); margin-top: 17px; padding-bottom: 20px }
  .pair-and { font-size: 31px; padding-bottom: 75px }
  .encounter-pair h2 { font-size: 26px }
  .encounter-pair figcaption p { font-size: 11px; line-height: 1.9 }
  .encounter-letter { padding-top: 20px }
  .encounter-quote { font-size: 22px; line-height: 1.7 }
  .encounter-scene { font-size: 16px; line-height: 2 }
  .encounter-keepsake { margin-top: 22px; padding: 18px }
  .encounter-keepsake strong { font-size: 24px }
  .encounter-actions { gap: 10px; margin-top: 21px }
  .encounter-actions .button { width: 100%; justify-content: center; font-size: 13px }
  .encounter-note { font-size: 10px; line-height: 1.9 }
  .encounter-after { margin-top: 32px; padding-top: 25px }
  .encounter-after h2 { font-size: 24px }
  .encounter-after p { font-size: 12px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *,*::before,*::after { animation: none!important; transition: none!important }
  .button:hover,.flower-entry:hover .botanical-art,.flower-peek:hover,.option:hover { transform: none }
}
@media print {
  .site-header,.site-footer,.actions,.text-button,.toast,.skip-link,.copy-fallback,.result-rail { display: none!important }
  body,html { background: white }
  .result { padding: 0 }
  .result-body { display: block }
  .reading-section { break-inside: avoid }
  .result-hero { display: grid; grid-template-columns: 1fr 1fr }
  .result-art { max-width: 300px }
  dialog[open] { position: static; max-height: none; max-width: none; width: 100%; border: 0; padding: 0 }
  body:has(dialog[open])>#main { display: none }
  dialog h2,dialog p,dialog button { display: none }
}
