#fraise {
  --cream: #fff7e8; --ink: #293c49; --berry: #963948; --pink: #f4d9d6; --blue: #d9e6ec;
  --line: #bdb9a9; --gutter: clamp(22px, 5vw, 90px); --ease: cubic-bezier(.22, 1, .36, 1);
  background: var(--cream); color: var(--ink); font: 15px/1.6 "Helvetica Neue", Helvetica, Arial, sans-serif; overflow: clip;
}
#fraise *, #fraise *::before, #fraise *::after { box-sizing: border-box; }
#fraise [hidden] { display: none !important; }
#fraise h1, #fraise h2, #fraise p { margin: 0; color: inherit; }
#fraise h1, #fraise h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.065em; line-height: 1.02; }
#fraise h1 { font-size: clamp(48px, 5.9vw, 94px); }
#fraise .baking-story[data-chapter="2"] h1 { font-size: clamp(48px, 4.6vw, 78px); }
#fraise h2 { font-size: clamp(44px, 5.8vw, 82px); }
#fraise em { color: var(--berry); font-weight: 400; }
#fraise a { color: inherit; text-decoration: none; }
#fraise button, #fraise input { font: inherit; color: inherit; }
#fraise button { cursor: pointer; }
#fraise :focus-visible { outline: 2px solid var(--berry); outline-offset: 5px; }
#fraise .skip-link { position: absolute; top: 10px; left: 20px; z-index: 30; padding: 12px; background: var(--cream); transform: translateY(-170%); }
#fraise .skip-link:focus { transform: none; }
#fraise .baking-story { position: relative; display: flex; flex-direction: column; min-height: 740px; min-height: max(740px, 100svh); background: var(--cream); overflow: hidden; isolation: isolate; }
#fraise .site-header { display: flex; align-items: center; gap: 36px; min-height: 90px; padding: 18px var(--gutter); border-bottom: 1px solid #dfd9c9; }
#fraise .brand { display: inline-block; font: 600 31px/1 Georgia, serif; letter-spacing: -.065em; white-space: nowrap; }
#fraise .brand span { color: var(--berry); margin: 0 3px; font-style: italic; font-weight: 400; }
#fraise .brand .brand-period { margin-left: 0; }
#fraise .site-header nav { display: flex; gap: 32px; margin-left: auto; font-size: 13px; }
#fraise .site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
#fraise .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 52px; padding: 14px 21px; border: 1px solid var(--berry); border-radius: 0; background: var(--berry); color: var(--cream); font-size: 13px; font-weight: 500; }
#fraise .button:hover { background: #7d2f3c; }
#fraise .button span { font-size: 20px; line-height: 1; }
#fraise .header-button { min-height: 42px; padding: 10px 15px; background: transparent; color: var(--berry); font-size: 12px; }
#fraise .header-button:hover { background: var(--berry); color: var(--cream); }
#fraise .story-layout { flex: 1; position: relative; display: grid; grid-template-columns: 46% 54%; align-items: center; padding-inline: var(--gutter); }
#fraise .story-copy { position: relative; z-index: 4; padding-block: 55px; pointer-events: none; }
#fraise .story-copy a { pointer-events: auto; }
#fraise .eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .17em; line-height: 1.6; margin-bottom: 25px; }
#fraise .chapter-copy { min-height: 310px; }
#fraise #story-description { font-size: 16px; line-height: 1.7; max-width: 32ch; margin-top: 27px; }
#fraise .text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; border-bottom: 1px solid var(--berry); color: var(--berry); font-size: 13px; font-weight: 500; }
#fraise .text-link span { font-size: 20px; }
#fraise .baking-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 720px; margin: auto; isolation: isolate; }
#fraise .stage-halo { position: absolute; inset: 9%; border-radius: 50%; background: #f2e7c5; opacity: .65; z-index: -1; }
#fraise .scene-shadow { position: absolute; left: 23%; right: 14%; bottom: 13%; height: 4%; border-radius: 50%; background: #6d523820; filter: blur(13px); }
#fraise .baking-stage img { display: block; width: 100%; height: auto; }
#fraise .mixing-bowl { position: absolute; left: 14%; width: 76%; bottom: 6%; z-index: 4; visibility: hidden; }
#fraise .flour-sack { position: absolute; left: 6%; top: 0; width: 35%; z-index: 6; visibility: hidden; }
#fraise .flour-stream { position: absolute; left: 41%; top: 30%; width: 8%; height: 28%; z-index: 7; visibility: hidden; }
#fraise .flour-stream::before { content: ''; position: absolute; inset: 0; background: linear-gradient(#fffdf2d9, #fffdf275 78%, #fffdf200); clip-path: polygon(36% 0, 58% 0, 95% 100%, 0 100%); filter: blur(2px); }
#fraise .flour-grain { position: absolute; top: 0; left: 50%; border-radius: 50%; background: #fffdf4; box-shadow: 0 0 2px #d6ccb6; }
#fraise .flour-dust { position: absolute; left: 37%; top: 55%; width: 28%; height: 12%; z-index: 7; border-radius: 50%; background: radial-gradient(ellipse, #fffdf2c9, #fffdf200 70%); visibility: hidden; }
#fraise .egg { position: absolute; top: 1%; left: 40%; width: 24%; aspect-ratio: 1; z-index: 6; visibility: hidden; }
#fraise .egg-half { position: absolute; inset: 0; }
#fraise .egg-left { clip-path: polygon(0 0, 52% 0, 47% 18%, 55% 33%, 45% 49%, 54% 65%, 47% 81%, 52% 100%, 0 100%); }
#fraise .egg-right { clip-path: polygon(52% 0, 100% 0, 100% 100%, 52% 100%, 47% 81%, 54% 65%, 45% 49%, 55% 33%, 47% 18%); }
#fraise .egg-drop { position: absolute; left: 47%; top: 19%; width: 10%; height: 17%; z-index: 7; visibility: hidden; }
#fraise .egg-white { position: absolute; inset: -12% 2% -25%; background: linear-gradient(#fff7c335, #edcf6780); border: 1px solid #efdfa545; border-radius: 40% 50% 55% 65%; }
#fraise .egg-yolk { position: absolute; left: 5%; right: 5%; top: 28%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #ffd05a, #e79821 72%); box-shadow: inset -3px -5px 10px #bc701627; }
#fraise .berry { position: absolute; width: 20%; top: 0; left: 40%; z-index: 7; visibility: hidden; }
#fraise .berry-two { width: 17%; left: 25%; top: 9%; }
#fraise .berry-three { width: 16%; left: 61%; top: 13%; }
#fraise .finished-cake { position: absolute; inset: 0 3% 7%; z-index: 8; }
#fraise .finished-cake img { width: 100%; height: 100%; object-fit: contain; }
#fraise .stage-note { position: absolute; bottom: 2%; left: 0; right: 0; text-align: center; font: italic 17px/1 Georgia, serif; color: var(--berry); }
#fraise .story-footer { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 30px; min-height: 100px; padding: 18px var(--gutter); }
#fraise .story-hint, #fraise .skip-story { font-size: 11px; }
#fraise .story-hint span { margin-left: 14px; }
#fraise .skip-story { justify-self: end; text-decoration: underline; text-underline-offset: 5px; }
#fraise .chapter-navigation { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; }
#fraise .chapter-track { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: #dcd5c5; }
#fraise .chapter-track span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--berry); }
#fraise .chapter-navigation button { display: flex; align-items: center; gap: 8px; min-height: 36px; border: 0; background: transparent; font-size: 12px; padding: 5px 0; color: #706b60; }
#fraise .chapter-navigation button span { font-size: 10px; }
#fraise .chapter-navigation button[aria-pressed="true"] { color: var(--berry); font-weight: 700; }
#fraise .cake-section { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; align-items: center; padding: 90px var(--gutter); background: var(--blue); scroll-margin-top: 0; }
#fraise .cake-portrait { background: #c5d8e3; border-radius: 48% 48% 0 0; }
#fraise .cake-portrait img { display: block; width: 100%; height: auto; }
#fraise .cake-details > p:not(.eyebrow) { margin: 25px 0; max-width: 40ch; font-size: 16px; }
#fraise dl { margin: 25px 0 30px; }
#fraise dl > div { display: grid; grid-template-columns: 80px 1fr; padding: 12px 0; border-top: 1px solid #aabec8; font-size: 13px; }
#fraise dt { font-weight: 600; }
#fraise dd { margin: 0; }
#fraise .custom-section { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; padding: 100px var(--gutter); background: var(--pink); }
#fraise .custom-intro > p:last-child { margin-top: 24px; max-width: 34ch; font-size: 16px; }
#fraise .cake-builder { display: grid; align-content: start; gap: 16px; margin: 0; }
#fraise .cake-builder fieldset { min-width: 0; border: 0; padding: 0; margin: 0 0 6px; }
#fraise .cake-builder legend, #fraise .message-label { padding: 0; margin-bottom: 10px; font-weight: 500; font-size: 14px; }
#fraise .choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
#fraise .choice-row label { position: relative; cursor: pointer; }
#fraise .choice-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
#fraise .choice-row span { display: block; padding: 9px 12px; min-height: 44px; font-size: 12px; border: 1px solid #bb999b; }
#fraise .choice-row input:checked + span { background: var(--berry); color: var(--cream); border-color: var(--berry); }
#fraise .choice-row input:focus-visible + span { outline: 2px solid var(--berry); outline-offset: 4px; }
#fraise .message-label { margin: 0; }
#fraise .message-label span { font-weight: 400; font-size: 12px; }
#fraise #cake-message { width: 100%; min-height: 48px; padding: 12px; background: #fff7e86b; border: 1px solid #bb999b; border-radius: 0; }
#fraise .cake-builder > .button { justify-self: start; }
#fraise .demo-note { font-size: 11px; color: #65545a; max-width: 50ch; }
#fraise .site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 30px var(--gutter); }
#fraise .site-footer .brand { font-size: 25px; }
#fraise .site-footer p, #fraise .site-footer > a:last-child { font-size: 12px; }
#fraise dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: clamp(25px, 4vw, 45px); border: 1px solid #bb999b; background: var(--cream); color: var(--ink); margin: auto; }
#fraise dialog::backdrop { background: #293c49bd; }
#fraise dialog h2 { font-size: 48px; }
#fraise dialog .demo-note { margin-bottom: 22px; }
@media (min-width: 1700px) { #fraise .story-layout { grid-template-columns: 46% 54%; } #fraise .baking-stage { max-width: 800px; } }
@media (max-width: 1000px) {
  #fraise .site-header { gap: 24px; min-height: 76px; }
  #fraise .site-header nav { gap: 22px; }
  #fraise .chapter-copy { min-height: 285px; }
  #fraise .story-footer { grid-template-columns: auto 1fr; gap: 25px; }
  #fraise .skip-story { display: none; }
}
@media (max-width: 700px) {
  #fraise .baking-story { min-height: 760px; min-height: max(760px, 100svh); }
  #fraise .site-header { min-height: 69px; padding-block: 15px; gap: 16px; }
  #fraise .brand { font-size: 25px; }
  #fraise .site-header nav { display: none; }
  #fraise .header-button { margin-left: auto; font-size: 11px; padding: 8px 11px; gap: 10px; min-height: 38px; }
  #fraise .story-layout { display: flex; flex-direction: column; justify-content: center; align-items: stretch; padding-top: 24px; }
  #fraise .story-copy { padding: 0; }
  #fraise .eyebrow { font-size: 8px; margin-bottom: 12px; }
  #fraise h1 { font-size: clamp(42px, 8.5vw, 60px); }
  #fraise .baking-story[data-chapter="2"] h1 { font-size: clamp(36px, 7.8vw, 54px); }
  #fraise .chapter-copy { min-height: 188px; }
  #fraise #story-description { font-size: 13px; max-width: 35ch; margin-top: 13px; }
  #fraise .story-copy .text-link { display: none; }
  #fraise .baking-stage { width: min(100%, 420px); margin: -4px auto -15px; }
  #fraise .stage-note { font-size: 14px; }
  #fraise .story-footer { grid-template-columns: 1fr; gap: 8px; min-height: 108px; padding-top: 12px; padding-bottom: 18px; }
  #fraise .story-hint { font-size: 10px; }
  #fraise .chapter-navigation button { min-height: 38px; font-size: 11px; }
  #fraise .chapter-navigation { padding-top: 7px; }
  #fraise .cake-section, #fraise .custom-section { grid-template-columns: 1fr; gap: 38px; padding-block: 60px; }
  #fraise .cake-portrait { max-width: 430px; margin-inline: auto; width: 100%; }
  #fraise .cake-details > p:not(.eyebrow) { font-size: 14px; margin-block: 18px; }
  #fraise h2 { font-size: 49px; }
}
@media (max-width: 370px) {
  #fraise .brand { font-size: 22px; }
  #fraise .header-button { font-size: 10px; padding-inline: 8px; }
  #fraise .story-layout { padding-top: 22px; }
  #fraise h1 { font-size: 40px; }
  #fraise .baking-story { min-height: 730px; }
}
@media (prefers-reduced-motion: reduce) {
  #fraise *, #fraise *::before, #fraise *::after { animation: none !important; transition: none !important; }
  #fraise .story-hint { visibility: hidden; }
}
