@font-face {
  font-family: 'Anna Hand';
  src: url('assets/anna-handwriting.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.story-page { position: relative; isolation: isolate; background: #fcf8f0; color: #344139; overflow-x: clip; overflow-y: visible; }
.story-page::before { content: ''; position: absolute; inset: 0 0 auto; height: 760px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, #fcf8f030, #fcf8f08c 64%, #fcf8f0), url('assets/contact-sunlight.png') center 34% / cover; opacity: .7; }
.story-page::after { content: ''; position: absolute; right: -100px; bottom: 40px; width: 425px; height: 500px; z-index: -1; pointer-events: none; background: url('assets/anna-read-mark.webp') center / contain no-repeat; opacity: .055; transform: rotate(12deg); }
.story-page .site-header { position: relative; }
.story-page .menu-toggle { color: #934a33; border-color: #424d391c; box-shadow: none; }
.story-page [aria-current='page'] { text-decoration: underline; text-underline-offset: 5px; }
.story-main { padding: 42px 0 0; }
.story-measure { width: min(760px, calc(100% - 96px)); margin-inline: auto; }
.story-intro .eyebrow { font-size: 11px; letter-spacing: .23em; margin-bottom: 14px; }
.story-greeting { font: 400 76px/1.2 'Anna Hand', cursive; letter-spacing: -.025em; color: #934a33; margin-left: -6px; }
.story-deck { font: 400 43px/1.15 var(--serif); letter-spacing: -.04em; color: #343f2f; margin-top: 12px; max-width: 740px; }
.story-photo { width: min(1040px, calc(100% - 64px)); margin: 32px auto 30px; border-radius: 22px; overflow: hidden; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 2.16; object-fit: cover; object-position: center 43%; }
.story-chapter { margin-top: 28px; }
.story-chapter h2, .story-invitation h2 { font-size: 37px; line-height: 1.14; letter-spacing: -.045em; margin-bottom: 11px; }
.story-chapter > p, .story-invitation > p { font-size: 19px; line-height: 1.5; letter-spacing: -.015em; }
.training-card { margin: 26px -26px 0; padding: 28px 32px; border: 1px solid #e9e8dc; border-radius: 22px; background: linear-gradient(125deg, #f0f0e4cf, #f2f2e8c7); }
.training-card .eyebrow { font-size: 11px; letter-spacing: .2em; margin-bottom: 21px; }
.training-row { display: flex; align-items: center; gap: 26px; }
.training-row + .training-row { margin-top: 25px; }
.training-logo { display: block; width: 280px; flex: none; }
.training-logo img { height: auto; object-fit: contain; }
.training-badge { display: block; width: 136px; flex: none; }
.training-badge img { height: auto; object-fit: contain; }
.training-row p { padding-left: 26px; border-left: 1px solid #8b94745e; font-size: 18px; line-height: 1.45; }
.training-row--approval p { font-size: 16px; }
.story-quote { position: relative; isolation: isolate; margin: 20px 0 30px; padding: 18px 26px; max-width: 650px; }
.story-quote::before { content: ''; position: absolute; z-index: -1; inset: 0 -9px; border-radius: 47% 52% 28% 12% / 18% 22% 17% 20%; background: linear-gradient(92deg, #e7e9db29, #e7e9db99 15%, #e7e9db7a 85%, #e7e9db15); transform: rotate(-.6deg); }
.story-quote p { border-left: 1px solid #424d39; padding-left: 25px; font: italic 28px/1.22 var(--serif); letter-spacing: -.025em; color: #424d39; }
.story-invitation { margin-top: 28px; }
.story-invitation h2 { margin-bottom: 5px; }
.story-write { background: #fffdf34d; color: #934a33; border: 1px solid #934a33; box-shadow: none; font: 400 24px/1.25 var(--serif); min-height: 52px; padding: 10px 28px; gap: 35px; margin-top: 15px; }
.story-write svg { color: #424d39; }
.story-write:hover { background: #e2eadc; box-shadow: none; }
.story-footer { background: transparent; clip-path: none; box-shadow: none; padding: 30px 0 25px; gap: 25px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.story-footer .wordmark { width: 185px; }
.story-footer nav { padding-left: 25px; border-left: 1px solid #934a3380; gap: 13px; font-size: 12px; }
.story-draft { font-size: 11px; line-height: 1.5; color: #7c8178; margin-left: auto; }
@media (min-width: 1100px) {
  .story-main { padding-top: 60px; }
  .story-opening { max-width: 1280px; width: calc(100% - 128px); margin-inline: auto; display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 60px; margin-bottom: 50px; }
  .story-intro { width: 100%; }
  .story-greeting { font-size: clamp(62px, 5.5vw, 82px); }
  .story-deck { font-size: clamp(35px, 3vw, 45px); }
  .story-photo { width: 100%; margin: 0; }
  .story-photo img { aspect-ratio: 1.18; object-position: 58% center; }
  .story-body { width: min(760px, calc(100% - 96px)); }
}
@media (max-width: 800px) {
  .story-main { padding-top: 26px; }
  .story-measure { width: min(620px, calc(100% - 72px)); }
  .story-greeting { font-size: clamp(46px, 10.3vw, 70px); white-space: nowrap; }
  .story-deck { font-size: clamp(28px, 5.5vw, 37px); margin-top: 8px; }
  .story-photo { width: calc(100% - 24px); max-width: 720px; margin-top: 23px; margin-bottom: 23px; border-radius: 13px; }
  .story-photo img { aspect-ratio: 2.16; }
  .story-chapter { margin-top: 24px; }
  .story-chapter h2, .story-invitation h2 { font-size: 30px; margin-bottom: 9px; }
  .story-chapter > p, .story-invitation > p { font-size: 16px; line-height: 1.5; }
  .training-card { margin: 21px -16px 0; border-radius: 17px; padding: 21px 19px; }
  .training-card .eyebrow { font-size: 9px; letter-spacing: .18em; margin-bottom: 17px; }
  .training-row { gap: 14px; }
  .training-logo { width: 44%; }
  .training-row p { font-size: 14px; padding-left: 14px; line-height: 1.4; }
  .training-row p br { display: none; }
  .training-row + .training-row { margin-top: 18px; }
  .training-badge { width: 90px; }
  .training-row--approval p { font-size: 12px; }
  .story-quote { padding: 15px 10px; margin-top: 17px; margin-bottom: 23px; }
  .story-quote p { font-size: 23px; padding-left: 18px; }
  .story-invitation { margin-top: 24px; }
  .story-write { min-height: 48px; padding: 10px 22px; font-size: 21px; gap: 28px; margin-top: 13px; }
  .story-footer { flex-direction: row; padding-top: 24px; gap: 12px 16px; width: calc(100% - 48px); }
  .story-footer .wordmark { width: 140px; }
  .story-footer nav { padding-left: 14px; gap: 8px; font-size: 11px; }
  .story-draft { width: 100%; text-align: right; font-size: 9px; }
  .story-page::before { height: 600px; opacity: .48; }
  .story-page::after { width: 270px; height: 370px; right: -95px; bottom: 10px; }
}
@media (max-width: 360px) {
  .story-measure { width: calc(100% - 48px); }
  .story-greeting { font-size: 45px; }
  .story-deck { font-size: 27px; }
  .story-chapter h2, .story-invitation h2 { font-size: 28px; }
  .training-card { padding: 19px 16px; margin-inline: -9px; }
  .training-row p { font-size: 13px; }
  .training-row--approval p { font-size: 11px; }
  .training-badge { width: 80px; }
  .story-footer { width: calc(100% - 36px); gap: 10px; }
  .story-footer .wordmark { width: 123px; }
  .story-footer nav { gap: 6px; padding-left: 10px; font-size: 10px; }
}
