/* Alanis / editorial direction from the supplied references, not their content. */
:root { --journey-space: clamp(60px,6.5vw,100px); --layout-gap: clamp(24px,3vw,48px); --sheet-edge: clamp(16px,3vw,48px); --sheet-inset: clamp(24px,4vw,64px); --motion-ease: cubic-bezier(.16,1,.3,1); --focus-color: var(--brick); --card-radius: 6px; --muted: var(--wine-deep); --line: rgb(75 24 31 / .2); }
html,body { background: var(--wine); }
html { scrollbar-color: var(--rose) var(--wine); }
::selection { background: var(--rose); color: var(--wine); }
.skip-link { z-index: 100; }
.skip-link:not(:focus) { clip-path: inset(50%); pointer-events: none; }
:is(#solucao,#sobre,#processo,#faq,#contato,#instagram) { scroll-margin-top: 24px; }
:is(a,button,summary,select):focus-visible { outline: 2px solid var(--focus-color); outline-offset: 5px; }
.site-header :is(a,button):focus-visible { outline-color: var(--paper); }
.ui-icon { display: block; width: 20px; height: 20px; flex-shrink: 0; }
:is(#solucao,#projetos,#sobre,#processo,#faq,#contato) h2 { font-family: Georgia,'Times New Roman',serif; font-weight: 400; letter-spacing: -.045em; text-wrap: balance; }
:is(#solucao,#projetos,#sobre,#processo,#faq,#contato) h2 em { font-size: 1.07em; letter-spacing: -.025em; }
.chapter-label { font: 400 .6875rem/1.6 'DM Sans',sans-serif; letter-spacing: .12em; text-transform: uppercase; }
/* Services and portfolio are two chapters of the same cream spread. */
#solucao,#projetos { margin-inline: var(--sheet-edge); padding-inline: var(--sheet-inset); background: var(--paper); color: var(--wine); }
#solucao { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(180px,.85fr) minmax(0,3fr); gap: var(--layout-gap); padding-block: clamp(40px,4.5vw,68px) 48px; border: 0; border-radius: 0; }
#solucao .services-heading { display: block; padding-top: 6px; margin: 0; }
#solucao .services-heading .chapter-label { margin: 0 0 25px; color: var(--brick); }
#solucao .services-heading h2 { margin: 0; max-width: 12ch; font-size: clamp(2.45rem,3.35vw,3.8rem); line-height: 1.03; }
#solucao .services-heading h2 em { display: block; margin-top: 5px; }
#solucao .services-heading > p:last-child { margin: 26px 0 0; padding: 0; max-width: 25ch; font-size: .9375rem; line-height: 1.75; color: var(--wine-deep); }
#solucao .service-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: 16px; margin: 0; border: 0; }
#solucao .service-row { display: flex; flex-direction: column; min-width: 0; min-height: 0; gap: 0; padding: 0; overflow: hidden; background: var(--paper); color: var(--wine); border: 1px solid var(--rose); border-radius: var(--card-radius); transition: transform 350ms var(--motion-ease),border-color 250ms; }
#solucao .service-row:nth-child(2) { padding: 0; background: var(--wine); color: var(--paper); border-color: var(--wine); }
#solucao .service-art { display: block; position: relative; width: 100%; margin: 0; text-decoration: none; color: inherit; }
#solucao .service-image { position: relative; width: 100%; overflow: hidden; margin: 0; border: 0; border-radius: 0; background: var(--paper); }
#solucao .service-image > img:not(.peek-media) { width: 100%; height: auto; aspect-ratio: 404/316; object-fit: contain; border-radius: 0; transform: none; }
#solucao .service-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 18px 18px; }
#solucao .service-body h3 { color: inherit; font-size: clamp(1.3rem,1.6vw,1.75rem); line-height: 1.18; font-weight: 400; letter-spacing: -.03em; margin: 0 0 18px; }
#solucao .service-body h3 em { font-size: 1.2em; }
#solucao .service-description { font-size: .875rem; line-height: 1.7; color: inherit; max-width: 36ch; }
#solucao .service-scope { margin: 17px 0 20px; font-size: .6875rem; line-height: 1.75; color: var(--wine-deep); }
#solucao .service-row:nth-child(2) .service-scope { color: var(--rose-light); }
#solucao .service-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 48px; padding: 12px 0 0; margin: auto 0 0; border: 0; border-top: 1px solid var(--rose); color: inherit; font-size: .75rem; font-weight: 500; line-height: 1.5; text-decoration: none; }
#solucao .service-cta > span { display: block; width: 18px; height: 18px; border: 0; border-radius: 0; transition: transform 250ms; }
#solucao .service-cta .ui-icon { width: 18px; height: 18px; }
#solucao .service-row:nth-child(2) a:focus-visible { outline-color: var(--paper); }
.service-view { position: absolute; right: 12px; bottom: 12px; padding: 9px 13px; background: var(--paper); color: var(--wine); border-radius: 3px; font-size: .6875rem; opacity: 0; transform: translateY(4px); transition: opacity 200ms,transform 300ms; }
.service-art:focus-visible .service-view { opacity: 1; transform: none; }
#projetos { padding-block: 10px 36px; border-radius: 0 0 10px 10px; }
#projetos .portfolio-orbit { margin-inline: calc(-1 * var(--sheet-inset)); }
#projetos.portfolio-curved .work-heading { margin: 20px auto 0; }
#projetos .work-heading h2 { font-size: clamp(2.3rem,3.7vw,3.9rem); line-height: 1.08; }
#projetos .orbit-category { font-size: .625rem; letter-spacing: .1em; margin: 0; color: var(--wine-deep); }
#projetos .orbit-title { font-size: clamp(1.4rem,1.8vw,1.85rem); }
#projetos .project-visual { border-radius: 4px; border-color: var(--rose); box-shadow: none; background: var(--paper); }
/* A photographic spread connects the designer and her personal notes. */
#sobre { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; gap: 48px clamp(40px,7vw,110px); margin: 0; padding: var(--journey-space) calc(var(--sheet-edge) + var(--sheet-inset)); border: 0; border-radius: 0; background: var(--wine); color: var(--paper); }
#sobre .about-copy { max-width: 530px; }
#sobre .about-copy .chapter-label { margin: 0 0 24px; color: var(--rose); font-size: .6875rem; }
#sobre .about-copy h2 { font-size: clamp(3.2rem,5.6vw,6.2rem); line-height: 1.02; }
#sobre .about-copy h2 em { display: inline; color: var(--rose-light); font-size: 1.1em; }
#sobre .about-copy > p:not(.chapter-label) { margin-top: 26px; max-width: 43ch; font-size: 1rem; line-height: 1.8; color: var(--paper); }
#sobre .about-visual { width: min(100%,370px); min-width: 0; padding: 0; justify-self: end; }
#sobre .about-photo { margin: 0; padding: 0; background: transparent; transform: none; box-shadow: none; }
.portrait-window { overflow: hidden; border: 8px solid var(--paper); border-radius: 3px; }
#sobre .about-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; max-height: none; border-radius: 0; }
#sobre .about-photo figcaption { display: flex; justify-content: space-between; text-align: left; gap: 16px; padding: 14px 0 0; color: var(--paper); font-size: .6875rem; }
#sobre .about-photo figcaption span { color: var(--rose-light); font-size: inherit; }
.personal-notes { grid-column: 1/-1; display: grid; grid-template-columns: 210px minmax(0,1fr); align-items: start; min-width: 0; gap: var(--layout-gap); margin: 0; padding-top: 40px; border-top: 1px solid var(--rose); }
.notes-heading { display: block; margin: 0; }
.notes-heading h3 { max-width: 13ch; font: 400 clamp(1.65rem,2.35vw,2.5rem)/1.12 Georgia,serif; letter-spacing: -.035em; }
.notes-heading h3 em { color: var(--rose-light); font-size: 1.15em; }
.notes-profile { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 20px; text-decoration: none; font-size: .75rem; }
.notes-profile .ui-icon { width: 16px; height: 16px; }
.notes-track { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.note-post { display: block; min-width: 0; text-decoration: none; color: var(--paper); }
.note-image { margin: 0; overflow: hidden; border-radius: 3px; background: var(--wine-deep); }
.note-image img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: contain; transition: transform 450ms var(--motion-ease); }
.note-open,.notes-hint { display: none; }
.note-caption { display: block; padding-top: 10px; min-height: 30px; font-size: .6875rem; line-height: 1.5; color: var(--rose-light); }
.note-caption .ui-icon { display: none; }
#sobre a:focus-visible { outline-color: var(--sky); }
/* Four readable process cards, followed by questions in the same paper spread. */
#processo,#faq { margin-inline: var(--sheet-edge); padding-inline: var(--sheet-inset); border: 0; background: var(--paper); color: var(--wine); }
#processo { display: block; padding-block: 56px 35px; border-radius: 10px 10px 0 0; }
#processo .section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; position: static; }
#processo h2,#faq h2 { font-size: clamp(2.5rem,3.8vw,4rem); line-height: 1.05; }
#processo .process-intro { max-width: 37ch; margin: 0; }
#processo .process-intro p { font-size: .9375rem; line-height: 1.75; color: var(--wine-deep); }
#processo .process-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; padding: 0; margin: 34px 0 0; list-style: none; border: 0; }
#processo li.process-step { position: relative; display: block; min-width: 0; padding: 25px 22px; background: var(--paper); border: 1px solid var(--rose); border-radius: var(--card-radius); transition: background 220ms,transform 300ms var(--motion-ease); }
#processo li:last-child { background: var(--butter); border-color: var(--butter); }
#processo li::before { display: none; }
#processo .step-number { display: block; color: var(--brick); margin: 0 0 27px; font: 400 2.5rem/1 Georgia,serif; letter-spacing: -.06em; }
#processo li h3 { font-size: 1rem; font-weight: 500; line-height: 1.4; margin: 0 0 13px; min-height: 2.8em; letter-spacing: -.02em; }
#processo li p { color: var(--wine-deep); font-size: .875rem; line-height: 1.75; max-width: 38ch; }
#faq { display: block; padding-block: 38px 64px; border-radius: 0 0 10px 10px; }
#faq .section-heading { text-align: center; margin: 0 auto 26px; }
#faq h2 { font-size: clamp(2.25rem,3.3vw,3.5rem); }
#faq .faq-list { max-width: 840px; width: 100%; margin: auto; padding: 0; border: 0; border-top: 1px solid var(--rose); background: transparent; }
#faq .faq-list details { border: 0; border-bottom: 1px solid var(--rose); }
#faq .faq-list summary { min-height: 64px; padding: 18px 2px; gap: 20px; font-size: .9375rem; font-weight: 400; line-height: 1.5; }
#faq .faq-list summary > span { border: 0; border-radius: 0; width: 24px; height: 24px; flex-basis: 24px; background: transparent; }
#faq .faq-list details[open] summary > span { background: transparent; color: var(--brick); }
#faq .faq-answer { padding: 0 38px 24px 2px; }
#faq .faq-answer p { font-size: .9375rem; color: var(--wine-deep); line-height: 1.75; }
/* An image-and-type closing card, inspired by the framing of reference one. */
#contato { padding: var(--journey-space) var(--sheet-edge) 26px; border: 0; background: var(--wine); color: var(--wine); }
#contato::before { display: none; }
#contato .contact-panel { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); width: 100%; max-width: 1120px; margin: auto; padding: 12px; background: var(--paper); color: var(--wine); border: 0; border-radius: 8px; box-shadow: none; }
#contato .contact-portrait { display: block; position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; border-radius: 3px; background: var(--rose-light); }
#contato .contact-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
#contato .contact-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(32px,4.6vw,68px); gap: 0; text-align: left; }
#contato .contact-copy .chapter-label { color: var(--brick); margin-bottom: 23px; }
#contato h2 { color: var(--wine); font-size: clamp(2.6rem,4vw,4.1rem); line-height: 1.04; }
#contato h2 em { display: block; margin-top: 4px; color: var(--wine); }
#contato .contact-description { max-width: 34ch; margin: 23px 0 0; color: var(--wine-deep); font-size: 1rem; line-height: 1.75; }
#contato .contact-actions { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
#contato .contact-invitation { padding-top: 28px; }
#contato .button { min-height: 54px; padding: 12px 23px; margin: 0; border-radius: 4px; background: var(--wine); color: var(--paper); font-size: .875rem; font-weight: 500; gap: 30px; }
#contato .button-icon { border: 0; width: 22px; height: 22px; }
#contato .contact-email { margin-top: 23px; color: var(--wine-deep); font-size: .75rem; }
#contato .contact-email span { display: block; color: var(--wine); margin: 4px 0 0; font-size: .8125rem; }
.site-footer { padding: 0 var(--sheet-edge) 24px; background: var(--wine); color: var(--paper); }
.site-footer .footer-panel { max-width: 1120px; margin: auto; padding: 24px 0 0; border: 0; border-top: 1px solid var(--rose); background: none; color: inherit; }
.site-footer .footer-top { display: flex; justify-content: space-between; align-items: center; flex-direction: row; padding: 0 0 24px; border: 0; gap: 24px; }
.site-footer .footer-top > .brand { display: inline-flex; font-size: 2.65rem; color: var(--paper); }
.site-footer .footer-social { display: flex; width: auto; gap: 28px; }
.site-footer .footer-social a { font-size: .75rem; color: var(--paper); }
.site-footer .footer-bottom { border-color: var(--rose); color: var(--rose-light); padding-top: 15px; gap: 12px; font-size: .6875rem; }
.site-footer .motion-toggle { border: 0; color: var(--rose-light); font-size: .6875rem; padding-inline: 0; }
.site-footer a:focus-visible { outline-color: var(--sky); }
:is(.service-image,.project-visual) > .peek-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity 260ms; transform: none; }
#projetos .project-visual > .peek-media { object-fit: contain; transform: none; }
.peek-active .peek-media.is-ready { opacity: 1; }
.project-preview { border-radius: 6px; color: var(--wine); background: var(--paper); }
.project-preview::backdrop { background: rgb(75 24 31 / .9); }
.preview-layout { gap: 30px; }
.preview-contact { font-weight: 500; border-radius: 4px; }
.button { position: relative; isolation: isolate; overflow: hidden; transition: background 200ms,color 200ms,transform 220ms; }
.button::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--rose-light); transform: scaleX(0); transform-origin: left; transition: transform 350ms var(--motion-ease); }
.button:focus-visible::before { transform: scaleX(1); }
.button-wine:focus-visible { color: var(--wine); }
.menu-toggle .ui-icon { display: inline-block; vertical-align: middle; margin-left: 8px; }
@media (hover:hover) and (pointer:fine) {
  #solucao .service-row:hover { transform: translateY(-4px); border-color: var(--brick); box-shadow: none; }
  .service-art:hover .service-view { opacity: 1; transform: none; }
  #solucao .service-cta:hover > span { transform: translate(2px,-2px); }
  .note-post:hover .note-image img { transform: scale(1.025); }
  #processo li:hover { background: var(--rose-light); transform: translateY(-3px); }
  .orbit-navigation button:hover { background: var(--rose-light); }
  .button:hover,.story-intro .hero-actions .button:hover { transform: none; box-shadow: none; }
  .button:hover::before { transform: scaleX(1); }
  .button-wine:hover { color: var(--wine); }
}
@media (max-width:1199px) {
  #solucao { display: block; }
  #solucao .services-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 20px 50px; margin-bottom: 32px; }
  #solucao .services-heading .chapter-label { flex-basis: 100%; margin: 0; }
  #solucao .services-heading > p:last-child { margin: 0; max-width: 35ch; }
  #solucao .service-body { padding: 24px 20px 18px; }
  #solucao .service-body h3 { font-size: 1.6rem; }
  .personal-notes { grid-template-columns: 1fr; gap: 25px; }
  .notes-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .notes-heading h3 { max-width: none; }
  .notes-profile { margin: 0; }
  #processo .process-list { grid-template-columns: 1fr 1fr; }
  #processo li h3 { min-height: 0; }
  .site-header .main-nav { gap: 20px; }
}
@media (min-width:701px) and (max-width:959px) {
  #solucao .service-list { grid-template-columns: 1fr; }
  #solucao .service-row { display: grid; grid-template-columns: 1fr 1.3fr; }
  #solucao .service-image,#solucao .service-image > img:not(.peek-media) { height: 100%; }
  #sobre { column-gap: 35px; }
  #sobre .about-copy h2 { font-size: 3.1rem; }
  #sobre .about-copy > p:not(.chapter-label) { font-size: .9375rem; }
}
@media (max-width:760px) {
  :root { --sheet-edge: 12px; --sheet-inset: 20px; }
  .menu-enabled .site-header .main-nav.is-open { max-height: calc(100svh - 88px); overflow-y: auto; overscroll-behavior: contain; }
  html:not(.menu-enabled) .site-header { position: relative; inset: auto; background: var(--wine); gap: 16px; }
  html:not(.menu-enabled) .site-header .main-nav { column-gap: 20px; row-gap: 0; }
  #solucao { padding-block: 36px 24px; }
  #solucao .services-heading { display: block; margin-bottom: 26px; }
  #solucao .services-heading .chapter-label { margin-bottom: 18px; }
  #solucao .services-heading h2 { font-size: clamp(2.45rem,9vw,3.4rem); }
  #solucao .services-heading > p:last-child { margin-top: 20px; max-width: 36ch; }
  #solucao .service-body h3 { font-size: 1.8rem; }
  #solucao .service-description { font-size: .9375rem; }
  #solucao .service-scope { font-size: .75rem; }
  #solucao .service-cta { font-size: .8125rem; }
  .service-view { opacity: 1; transform: none; }
  #projetos { padding-block: 6px 26px; }
  #projetos.portfolio-curved .work-heading { margin: 18px auto 0; }
  #projetos .work-heading h2 { font-size: clamp(2rem,8.2vw,3rem); }
  #projetos .orbit-title { font-size: 1.4rem; }
  #projetos .project.is-selected .project-open { opacity: 1; transform: none; }
  #sobre { grid-template-columns: 1fr; gap: 32px; padding: 56px 32px; }
  #sobre .about-copy h2 { font-size: clamp(3rem,11vw,4rem); }
  #sobre .about-copy > p:not(.chapter-label) { font-size: .9375rem; margin-top: 22px; }
  #sobre .about-visual { width: min(100%,330px); justify-self: center; }
  #sobre .about-photo figcaption { flex-wrap: wrap; gap: 5px 12px; }
  .personal-notes { padding-top: 27px; gap: 23px; }
  .notes-heading { display: block; }
  .notes-heading h3 { font-size: 2rem; }
  .notes-profile { margin-top: 12px; }
  .notes-track { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  #processo { padding-block: 36px 20px; }
  #processo .section-heading { display: block; }
  #processo h2 { font-size: clamp(2.4rem,8.5vw,3.4rem); }
  #processo .process-intro { margin-top: 20px; }
  #processo .process-list { grid-template-columns: 1fr; gap: 14px; margin-top: 27px; }
  #processo li.process-step { display: grid; grid-template-columns: 35px minmax(0,1fr); gap: 10px 16px; padding: 24px 20px; }
  #processo .step-number { grid-row: 1/3; margin: 0; font-size: 2rem; }
  #processo li h3 { min-height: 0; margin: 0; }
  #processo li p { grid-column: 2; }
  #faq { padding-block: 28px 34px; }
  #faq h2 { font-size: clamp(2.1rem,8vw,3rem); }
  #faq .faq-list summary { font-size: .9375rem; }
  #faq .faq-answer { padding-right: 0; }
  #contato { padding-block: 48px 24px; }
  #contato .contact-panel { grid-template-columns: 1fr; padding: 8px; }
  #contato .contact-portrait { aspect-ratio: 1.35; }
  #contato .contact-portrait img { object-position: 50% 27%; }
  #contato .contact-copy { padding: 29px 22px 32px; }
  #contato h2 { font-size: clamp(2.3rem,8.5vw,3.4rem); }
  #contato .contact-copy .chapter-label { margin-bottom: 19px; }
  #contato .contact-description { font-size: .9375rem; }
  #contato .button { gap: 18px; padding-inline: 18px; }
  .site-footer { padding-inline: 32px; }
  .site-footer .footer-top { flex-wrap: wrap; gap: 22px; }
  .site-footer .footer-social { gap: 20px; }
  .site-footer .footer-bottom { justify-content: flex-start; gap: 12px 20px; }
}
@media (max-width:700px) { #solucao .service-list { grid-template-columns: 1fr; gap: 20px; } }
@media (prefers-reduced-motion:reduce) {
  #solucao .service-row:hover,#processo li.process-step:hover,.note-post:hover .note-image img { transform: none; }
}
html[data-motion="reduced"] #solucao .service-row:hover,
html[data-motion="reduced"] #processo li.process-step:hover,
html[data-motion="reduced"] .note-post:hover .note-image img { transform: none; }
@media (forced-colors:active) {
  #solucao .service-row,#processo li.process-step,#faq .faq-list,#contato .contact-panel { border: 1px solid CanvasText; }
}
/* The hero keeps its geometry and choreography; only the design colours change. */
.story-intro::before { background: var(--wine); }
.story-intro .hero-actions .button::before { background: var(--butter); }

/* Explicit colour avoids the browser's default black in gallery controls. */
.preview-thumbnails button { color:var(--wine); }

/* Keep the cover predominantly wine and cream; reserve rose for emphasis. */
.hero-masthead,.opening-screen,.opening-skip { color:var(--paper); }
.site-header .main-nav a,.hero-social a { color:var(--paper); }
.story-intro h1,.story-animated .story-intro h1 { color:var(--paper); }
.story-intro h1 em,.story-animated .story-intro h1 em { color:var(--rose); }
.story-intro .hero-description,.story-animated .hero-description { color:var(--paper); }
.story-intro .hero-actions .button { background:var(--paper); color:var(--wine); }
@media (max-width:760px) { #contato .contact-portrait img { object-position:50% 0%; } }

/* The cloud paper, service spread and portfolio share one continuous edge.
   Keep card positions, the sticky scene and its timing untouched. */
.card-story { background: var(--wine); }
.story-animated .story-paper { inset-inline: var(--sheet-edge); }
/* Static and reduced-motion layouts continue the same cream surface. */
.card-story:not(.story-animated) .story-cards,
.card-story:not(.story-animated) .story-outro { margin-inline: var(--sheet-edge); background: var(--paper); }
.card-story:not(.story-animated) .story-cards { padding-inline: max(12px, calc(var(--gutter) - var(--sheet-edge))); }

/* Atmospheric handoff: a wider feather, without extending the scroll or moving content. */
.story-animated { --cloud-feather: clamp(120px, 20svh, 220px); }
.story-animated .story-paper {
  top: calc(-1 * var(--cloud-feather));
  height: calc(200% + var(--cloud-feather));
  mask-image: linear-gradient(to bottom, transparent 0, #00000005 calc(var(--cloud-feather) * .22), #0000001a calc(var(--cloud-feather) * .55), #00000059 var(--cloud-feather), #000000b8 calc(var(--cloud-feather) * 1.45), #000000f0 calc(var(--cloud-feather) * 1.8), #000 calc(var(--cloud-feather) * 2));
}
.story-animated .story-clouds-back::before {
  content: ''; position: absolute; pointer-events: none;
  left: var(--sheet-edge); right: var(--sheet-edge);
  top: calc(var(--cloud-feather) * -1.15);
  height: calc(var(--cloud-feather) * 2.3);
  background: radial-gradient(ellipse at 28% 52%, rgb(247 243 232 / .3), rgb(247 243 232 / .1) 36%, transparent 70%), radial-gradient(ellipse at 76% 44%, rgb(247 243 232 / .24), transparent 68%);
  mask-image: linear-gradient(to bottom, transparent, #000 30% 60%, transparent);
}
.story-animated .story-clouds-front .cloud-piece {
  filter: saturate(.35) brightness(1.03);
  mask-image: linear-gradient(to right, transparent, #000 20% 80%, transparent), linear-gradient(to bottom, transparent, #000 14% 46%, #000000ad 66%, #00000038 84%, transparent 100%);
}
.story-animated .story-clouds-back .cloud-piece {
  mask-image: linear-gradient(to right, transparent, #000 18% 82%, transparent), linear-gradient(to bottom, transparent, #000 14% 48%, #00000085 72%, transparent 100%);
}

/* Scroll-reveal v3. The reading zone is fully opaque; no blur, zoom or rotation. */
.scroll-motion-ready [data-scroll-item] { translate: 0 var(--scroll-y, 0px); opacity: var(--scroll-opacity, 1); }
/* Keyboard focus and the motion preference always reveal the complete target. */
.scroll-motion-ready [data-scroll-item]:focus-within { translate: none !important; opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) {
  .scroll-motion-ready [data-scroll-item] { translate: none !important; opacity: 1 !important; }
}
html[data-motion="reduced"] [data-scroll-item] { translate: none !important; opacity: 1 !important; }
