Download frontend/styles.css from build-small-hackathon/compliment-forest: direct link, hf CLI and curl.
- Browser
- Download file 22 kB
-
https://huggingface.co/spaces/build-small-hackathon/compliment-forest/resolve/main/frontend/styles.css
- Command line
-
hf download hf://spaces/build-small-hackathon/compliment-forest/frontend/styles.css
-
curl -L -o styles.css https://huggingface.co/spaces/build-small-hackathon/compliment-forest/resolve/main/frontend/styles.css
22 kB
| :root { | |
| --paper: #f5f0df; | |
| --paper-light: #fbf8ed; | |
| --ink: #243c31; | |
| --ink-soft: #4c574f; | |
| --moss: #53683d; | |
| --moss-dark: #3f5634; | |
| --sage: #8fa184; | |
| --sage-light: #c8cfb7; | |
| --rose: #c98f83; | |
| --honey: #e4b75e; | |
| --line: rgba(82, 104, 61, 0.48); | |
| --serif: | |
| "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville, | |
| Georgia, serif; | |
| --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; | |
| } | |
| * { | |
| box-sizing: border-box; | |
| } | |
| html { | |
| min-width: 320px; | |
| min-height: 100%; | |
| background: var(--paper); | |
| } | |
| body { | |
| min-height: 100vh; | |
| margin: 0; | |
| overflow-x: hidden; | |
| color: var(--ink); | |
| background: | |
| radial-gradient( | |
| circle at 22% 18%, | |
| rgba(255, 255, 255, 0.58), | |
| transparent 35% | |
| ), | |
| radial-gradient( | |
| circle at 83% 71%, | |
| rgba(207, 213, 186, 0.18), | |
| transparent 32% | |
| ), | |
| var(--paper); | |
| font-family: var(--sans); | |
| text-rendering: optimizeLegibility; | |
| } | |
| button, | |
| input, | |
| select, | |
| textarea { | |
| font: inherit; | |
| } | |
| button { | |
| color: inherit; | |
| } | |
| .paper-grain { | |
| position: fixed; | |
| z-index: -1; | |
| inset: 0; | |
| pointer-events: none; | |
| opacity: 0.28; | |
| background-image: url("/assets/paper-texture.svg"); | |
| } | |
| .site-header { | |
| display: flex; | |
| align-items: center; | |
| width: min(calc(100% - 64px), 1380px); | |
| height: 104px; | |
| margin: 0 auto; | |
| } | |
| .brand { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 16px; | |
| padding: 0; | |
| border: 0; | |
| background: transparent; | |
| font-family: var(--serif); | |
| font-size: 1.42rem; | |
| cursor: pointer; | |
| } | |
| .brand-mark { | |
| width: 54px; | |
| height: 54px; | |
| overflow: visible; | |
| fill: none; | |
| stroke: #6f825b; | |
| stroke-width: 1.7; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| } | |
| .brand-mark ellipse { | |
| fill: rgba(111, 130, 91, 0.5); | |
| stroke-width: 1; | |
| } | |
| .view { | |
| width: min(calc(100% - 64px), 1380px); | |
| margin: 0 auto; | |
| } | |
| .entry-view { | |
| display: grid; | |
| grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.2fr); | |
| align-items: center; | |
| min-height: calc(100vh - 174px); | |
| } | |
| .entry-copy { | |
| z-index: 2; | |
| max-width: 570px; | |
| padding: 38px 0 72px 34px; | |
| } | |
| .entry-copy h1, | |
| .path-header h1 { | |
| margin: 0; | |
| color: var(--ink); | |
| font-family: var(--serif); | |
| font-weight: 400; | |
| letter-spacing: -0.045em; | |
| } | |
| .entry-copy h1 { | |
| font-size: clamp(4.2rem, 7vw, 7.25rem); | |
| line-height: 0.82; | |
| } | |
| .intro { | |
| max-width: 540px; | |
| margin: 34px 0 42px; | |
| color: var(--ink-soft); | |
| font-size: clamp(1.25rem, 1.7vw, 1.7rem); | |
| line-height: 1.48; | |
| } | |
| #forest-form { | |
| display: grid; | |
| gap: 10px; | |
| } | |
| .eyebrow, | |
| .step-kicker { | |
| margin: 0 0 12px; | |
| color: var(--moss-dark); | |
| font-size: 0.84rem; | |
| font-weight: 700; | |
| letter-spacing: 0.12em; | |
| text-transform: uppercase; | |
| } | |
| .step-tracker { | |
| display: grid; | |
| grid-template-columns: repeat(5, 1fr); | |
| gap: 8px; | |
| padding: 0; | |
| margin: 0 0 24px; | |
| list-style: none; | |
| } | |
| .step-tracker li { | |
| position: relative; | |
| min-height: 36px; | |
| padding: 10px 8px; | |
| border: 1px solid rgba(83, 104, 61, 0.2); | |
| border-radius: 999px; | |
| color: rgba(36, 60, 49, 0.55); | |
| background: rgba(251, 248, 237, 0.48); | |
| font-size: 0.72rem; | |
| font-weight: 700; | |
| text-align: center; | |
| } | |
| .step-tracker li.is-current, | |
| .step-tracker li.is-complete { | |
| border-color: rgba(83, 104, 61, 0.58); | |
| color: var(--ink); | |
| background: rgba(200, 207, 183, 0.34); | |
| } | |
| .form-step { | |
| display: grid; | |
| gap: 12px; | |
| animation: stepIn 260ms ease both; | |
| } | |
| .form-step[hidden] { | |
| display: none; | |
| } | |
| .form-step h2 { | |
| margin: 0; | |
| font-family: var(--serif); | |
| font-size: clamp(2rem, 3.1vw, 3.1rem); | |
| font-weight: 400; | |
| line-height: 1.04; | |
| letter-spacing: -0.035em; | |
| } | |
| .step-help { | |
| margin: 0 0 8px; | |
| color: var(--ink-soft); | |
| line-height: 1.5; | |
| } | |
| #forest-form fieldset { | |
| min-width: 0; | |
| padding: 0; | |
| margin: 8px 0 18px; | |
| border: 0; | |
| } | |
| #forest-form legend { | |
| margin-bottom: 10px; | |
| color: #26382f; | |
| font-weight: 700; | |
| } | |
| #forest-form label { | |
| margin-top: 12px; | |
| color: #26382f; | |
| font-size: 1.02rem; | |
| font-weight: 600; | |
| } | |
| #forest-form input, | |
| #forest-form select, | |
| #forest-form textarea { | |
| width: 100%; | |
| border: 1.5px solid rgba(48, 78, 62, 0.8); | |
| border-radius: 5px; | |
| outline: 0; | |
| color: var(--ink); | |
| background: rgba(251, 248, 237, 0.58); | |
| box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.35); | |
| font-size: 1.14rem; | |
| transition: | |
| border-color 180ms ease, | |
| box-shadow 180ms ease, | |
| background 180ms ease; | |
| } | |
| #forest-form input { | |
| height: 58px; | |
| padding: 0 18px; | |
| } | |
| #forest-form select { | |
| height: 58px; | |
| padding: 0 48px 0 18px; | |
| appearance: none; | |
| background-image: | |
| linear-gradient(45deg, transparent 50%, var(--moss) 50%), | |
| linear-gradient(135deg, var(--moss) 50%, transparent 50%); | |
| background-position: | |
| calc(100% - 23px) 25px, | |
| calc(100% - 17px) 25px; | |
| background-repeat: no-repeat; | |
| background-size: 6px 6px; | |
| } | |
| #forest-form textarea { | |
| min-height: 128px; | |
| padding: 16px 18px; | |
| line-height: 1.45; | |
| resize: vertical; | |
| } | |
| #forest-form input::placeholder, | |
| #forest-form textarea::placeholder { | |
| color: rgba(68, 78, 72, 0.55); | |
| } | |
| #forest-form input:focus, | |
| #forest-form select:focus, | |
| #forest-form textarea:focus { | |
| border-color: var(--moss); | |
| background: rgba(255, 253, 245, 0.88); | |
| box-shadow: 0 0 0 4px rgba(83, 104, 61, 0.14); | |
| } | |
| .primary-button { | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| gap: 16px; | |
| min-height: 58px; | |
| padding: 14px 30px; | |
| border: 1px solid rgba(47, 67, 39, 0.72); | |
| border-radius: 5px; | |
| color: #fffdf3; | |
| background: var(--moss); | |
| box-shadow: 0 7px 22px rgba(63, 86, 52, 0.12); | |
| font-family: var(--serif); | |
| font-size: 1.45rem; | |
| cursor: pointer; | |
| transition: | |
| transform 160ms ease, | |
| background 160ms ease, | |
| box-shadow 160ms ease; | |
| } | |
| .primary-button svg { | |
| width: 30px; | |
| height: 20px; | |
| fill: none; | |
| stroke: currentColor; | |
| stroke-width: 1.7; | |
| stroke-linecap: round; | |
| stroke-linejoin: round; | |
| } | |
| .primary-button:hover:not(:disabled) { | |
| transform: translateY(-2px); | |
| background: var(--moss-dark); | |
| box-shadow: 0 11px 28px rgba(63, 86, 52, 0.2); | |
| } | |
| .primary-button:disabled { | |
| cursor: wait; | |
| opacity: 0.62; | |
| } | |
| .grow-button { | |
| width: 100%; | |
| margin-top: 20px; | |
| min-height: 68px; | |
| font-size: 1.82rem; | |
| } | |
| .step-actions { | |
| display: flex; | |
| justify-content: flex-end; | |
| gap: 16px; | |
| margin-top: 18px; | |
| } | |
| .split-actions { | |
| justify-content: space-between; | |
| } | |
| .split-actions .grow-button { | |
| width: auto; | |
| min-width: min(100%, 280px); | |
| margin-top: 0; | |
| } | |
| .choice-grid { | |
| display: grid; | |
| gap: 12px; | |
| } | |
| .choice-grid.two-column { | |
| grid-template-columns: repeat(2, minmax(0, 1fr)); | |
| } | |
| .choice-grid.three-column { | |
| grid-template-columns: repeat(3, minmax(0, 1fr)); | |
| } | |
| .choice-card { | |
| position: relative; | |
| display: grid; | |
| gap: 5px; | |
| min-height: 104px; | |
| padding: 16px 16px 16px 46px; | |
| margin: 0; | |
| border: 1.5px solid rgba(48, 78, 62, 0.34); | |
| border-radius: 14px; | |
| background: rgba(251, 248, 237, 0.56); | |
| box-shadow: inset 0 0 24px rgba(255, 255, 255, 0.22); | |
| cursor: pointer; | |
| transition: | |
| transform 160ms ease, | |
| border-color 160ms ease, | |
| background 160ms ease, | |
| box-shadow 160ms ease; | |
| } | |
| .choice-card.compact { | |
| min-height: 66px; | |
| align-content: center; | |
| } | |
| #forest-form .choice-card input { | |
| position: absolute; | |
| top: 18px; | |
| left: 17px; | |
| width: 17px; | |
| height: 17px; | |
| padding: 0; | |
| border: 0; | |
| border-radius: 50%; | |
| background: transparent; | |
| box-shadow: none; | |
| accent-color: var(--moss); | |
| } | |
| .choice-card span { | |
| color: var(--ink); | |
| font-family: var(--serif); | |
| font-size: 1.18rem; | |
| font-weight: 400; | |
| line-height: 1.12; | |
| } | |
| .choice-card small { | |
| color: var(--ink-soft); | |
| font-size: 0.82rem; | |
| font-weight: 500; | |
| line-height: 1.35; | |
| } | |
| .choice-card:has(input:checked) { | |
| border-color: rgba(63, 86, 52, 0.88); | |
| background: rgba(200, 207, 183, 0.3); | |
| box-shadow: 0 8px 22px rgba(63, 86, 52, 0.1); | |
| } | |
| .choice-card:hover { | |
| transform: translateY(-1px); | |
| border-color: rgba(63, 86, 52, 0.62); | |
| } | |
| .status-region { | |
| min-height: 28px; | |
| margin-top: 18px; | |
| color: var(--moss-dark); | |
| font-size: 0.98rem; | |
| line-height: 1.5; | |
| } | |
| .status-region:not(:empty)::before { | |
| display: inline-block; | |
| width: 7px; | |
| height: 7px; | |
| margin: 0 10px 1px 2px; | |
| border-radius: 50%; | |
| background: var(--honey); | |
| box-shadow: 0 0 10px rgba(228, 183, 94, 0.75); | |
| content: ""; | |
| animation: breathe 1.7s ease-in-out infinite; | |
| } | |
| .status-region.is-error { | |
| max-width: 570px; | |
| padding: 14px 16px; | |
| border-left: 3px solid var(--rose); | |
| color: #5e3934; | |
| background: rgba(201, 143, 131, 0.12); | |
| } | |
| .entry-art { | |
| position: relative; | |
| align-self: stretch; | |
| min-height: 680px; | |
| margin: -78px -120px -10px -100px; | |
| overflow: hidden; | |
| } | |
| .entry-art::after { | |
| position: absolute; | |
| inset: 0; | |
| pointer-events: none; | |
| background: | |
| linear-gradient(90deg, var(--paper) 0%, transparent 22%), | |
| linear-gradient(0deg, var(--paper) 0%, transparent 12%); | |
| content: ""; | |
| } | |
| .entry-art img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| object-position: 56% 50%; | |
| mix-blend-mode: multiply; | |
| } | |
| .experience-view { | |
| min-height: calc(100vh - 174px); | |
| padding: 0 24px 48px; | |
| } | |
| .path-header { | |
| max-width: 980px; | |
| margin: -14px auto 36px; | |
| text-align: center; | |
| } | |
| .path-header h1 { | |
| font-size: clamp(3rem, 5vw, 5.3rem); | |
| line-height: 1.05; | |
| } | |
| #clearing-progress { | |
| margin: 18px 0 4px; | |
| color: var(--ink-soft); | |
| font-size: 1rem; | |
| letter-spacing: 0.08em; | |
| } | |
| .art-style-label { | |
| min-height: 20px; | |
| margin: 0 0 10px; | |
| color: var(--moss-dark); | |
| font-family: var(--serif); | |
| font-size: 1rem; | |
| } | |
| .progress-dots { | |
| display: flex; | |
| justify-content: center; | |
| gap: 18px; | |
| min-height: 18px; | |
| } | |
| .progress-dot { | |
| width: 14px; | |
| height: 14px; | |
| border-radius: 50%; | |
| background: rgba(143, 161, 132, 0.24); | |
| transition: | |
| transform 180ms ease, | |
| background 180ms ease; | |
| } | |
| .progress-dot.is-complete { | |
| background: rgba(143, 161, 132, 0.7); | |
| } | |
| .progress-dot.is-current { | |
| transform: scale(1.1); | |
| background: var(--moss-dark); | |
| } | |
| .soundscape-player { | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| gap: 28px; | |
| width: min(100%, 900px); | |
| margin: -12px auto 30px; | |
| padding: 16px 20px; | |
| border: 1px solid rgba(83, 104, 61, 0.3); | |
| border-radius: 8px; | |
| background: rgba(251, 248, 237, 0.58); | |
| box-shadow: 0 8px 30px rgba(63, 86, 52, 0.06); | |
| } | |
| .soundscape-note { | |
| margin: 5px 0 0; | |
| color: var(--ink-soft); | |
| font-family: var(--serif); | |
| font-size: 1rem; | |
| } | |
| .soundscape-player audio { | |
| width: min(420px, 48vw); | |
| height: 42px; | |
| accent-color: var(--moss); | |
| } | |
| .clearing { | |
| display: grid; | |
| grid-template-columns: minmax(460px, 1.05fr) minmax(430px, 0.95fr); | |
| gap: clamp(52px, 7vw, 118px); | |
| align-items: center; | |
| width: min(100%, 1240px); | |
| margin: 0 auto; | |
| } | |
| .clearing-art { | |
| position: relative; | |
| min-height: 610px; | |
| margin: 0; | |
| } | |
| .image-wash { | |
| position: absolute; | |
| inset: 10% 2% 2%; | |
| border-radius: 48% 52% 55% 45%; | |
| background: | |
| radial-gradient( | |
| circle at 43% 45%, | |
| rgba(182, 197, 190, 0.45), | |
| transparent 43% | |
| ), | |
| radial-gradient( | |
| circle at 48% 76%, | |
| rgba(121, 141, 100, 0.2), | |
| transparent 45% | |
| ); | |
| filter: blur(13px); | |
| } | |
| .clearing-art img { | |
| position: absolute; | |
| z-index: 1; | |
| inset: 0; | |
| width: 100%; | |
| height: 100%; | |
| border-radius: 44% 48% 45% 50%; | |
| object-fit: cover; | |
| mix-blend-mode: multiply; | |
| mask-image: radial-gradient( | |
| ellipse 66% 76% at center, | |
| black 54%, | |
| transparent 100% | |
| ); | |
| } | |
| .clearing-copy { | |
| max-width: 570px; | |
| padding: 18px 0 32px; | |
| } | |
| .section-label { | |
| margin: 0; | |
| color: var(--moss-dark); | |
| font-size: 0.79rem; | |
| font-weight: 650; | |
| letter-spacing: 0.2em; | |
| text-transform: uppercase; | |
| } | |
| .scene-title { | |
| font: 600 14px "Avenir Next", Arial, sans-serif; | |
| letter-spacing: 0.16em; | |
| text-transform: uppercase; | |
| color: #3f5634; | |
| margin: 0 0 6px; | |
| } | |
| .scene-intro { | |
| font: italic 19px/1.5 "Iowan Old Style", Georgia, serif; | |
| color: #4c574f; | |
| margin: 0 0 18px; | |
| } | |
| .narration { | |
| font: 21px/1.7 "Iowan Old Style", Georgia, serif; | |
| color: #243c31; | |
| margin: 0 0 28px; | |
| } | |
| .narration p { | |
| margin: 0 0 14px; | |
| } | |
| .narration p:last-child { | |
| margin-bottom: 0; | |
| } | |
| .carried-question, | |
| .spell-section { | |
| padding: 26px 2px; | |
| border-top: 2px solid var(--line); | |
| } | |
| #reflection, | |
| .spell { | |
| margin: 10px 0 0; | |
| font-family: var(--serif); | |
| font-size: clamp(1.35rem, 2.1vw, 2rem); | |
| line-height: 1.28; | |
| } | |
| .spell-section { | |
| padding-bottom: 20px; | |
| } | |
| .spell { | |
| margin-bottom: 14px; | |
| } | |
| .copy-button { | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 9px; | |
| min-height: 42px; | |
| padding: 8px 17px; | |
| border: 1.4px solid var(--moss-dark); | |
| border-radius: 5px; | |
| background: rgba(251, 248, 237, 0.55); | |
| cursor: pointer; | |
| } | |
| .copy-button svg { | |
| width: 20px; | |
| height: 20px; | |
| fill: none; | |
| stroke: currentColor; | |
| stroke-width: 1.6; | |
| } | |
| .path-actions { | |
| display: grid; | |
| gap: 10px; | |
| margin-top: 18px; | |
| } | |
| .save-button { | |
| background: #6b7048; | |
| } | |
| .text-button { | |
| justify-self: center; | |
| padding: 10px 18px; | |
| border: 0; | |
| color: var(--moss-dark); | |
| background: transparent; | |
| font-size: 1.02rem; | |
| cursor: pointer; | |
| } | |
| .text-button:hover { | |
| text-decoration: underline; | |
| text-underline-offset: 4px; | |
| } | |
| footer { | |
| width: min(100% - 40px, 1380px); | |
| margin: 0 auto; | |
| padding: 16px 0 24px; | |
| color: rgba(54, 65, 58, 0.78); | |
| font-size: 0.78rem; | |
| text-align: center; | |
| } | |
| .fireflies { | |
| position: fixed; | |
| z-index: 4; | |
| inset: 0; | |
| pointer-events: none; | |
| } | |
| .fireflies i { | |
| position: absolute; | |
| width: 5px; | |
| height: 5px; | |
| border-radius: 50%; | |
| background: rgba(244, 199, 92, 0.8); | |
| box-shadow: 0 0 12px rgba(244, 199, 92, 0.85); | |
| animation: drift 8s ease-in-out infinite; | |
| } | |
| .fireflies i:nth-child(1) { | |
| top: 31%; | |
| left: 78%; | |
| } | |
| .fireflies i:nth-child(2) { | |
| top: 65%; | |
| left: 69%; | |
| animation-delay: -2s; | |
| } | |
| .fireflies i:nth-child(3) { | |
| top: 43%; | |
| left: 91%; | |
| animation-delay: -4s; | |
| } | |
| .fireflies i:nth-child(4) { | |
| top: 76%; | |
| left: 85%; | |
| animation-delay: -6s; | |
| } | |
| .fireflies i:nth-child(5) { | |
| top: 56%; | |
| left: 53%; | |
| animation-delay: -3s; | |
| } | |
| [hidden] { | |
| display: none ; | |
| } | |
| button:focus-visible, | |
| input:focus-visible, | |
| select:focus-visible, | |
| textarea:focus-visible { | |
| outline: 3px solid rgba(228, 183, 94, 0.72); | |
| outline-offset: 4px; | |
| } | |
| @keyframes drift { | |
| 0%, | |
| 100% { | |
| opacity: 0.35; | |
| transform: translate(0, 0); | |
| } | |
| 45% { | |
| opacity: 1; | |
| transform: translate(9px, -14px); | |
| } | |
| } | |
| @keyframes breathe { | |
| 0%, | |
| 100% { | |
| transform: scale(0.84); | |
| opacity: 0.62; | |
| } | |
| 50% { | |
| transform: scale(1.2); | |
| opacity: 1; | |
| } | |
| } | |
| @keyframes stepIn { | |
| from { | |
| transform: translateY(8px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |
| @media (max-width: 1040px) { | |
| .entry-view { | |
| grid-template-columns: minmax(400px, 0.9fr) 1.1fr; | |
| } | |
| .entry-art { | |
| margin-left: -150px; | |
| } | |
| .clearing { | |
| gap: 48px; | |
| } | |
| } | |
| @media (max-height: 820px) and (min-width: 761px) { | |
| .site-header { | |
| height: 72px; | |
| } | |
| .brand { | |
| gap: 11px; | |
| font-size: 1.08rem; | |
| } | |
| .brand-mark { | |
| width: 40px; | |
| height: 40px; | |
| } | |
| .entry-view { | |
| min-height: calc(100vh - 112px); | |
| } | |
| .entry-copy { | |
| padding-top: 12px; | |
| padding-bottom: 18px; | |
| } | |
| .entry-copy h1 { | |
| font-size: clamp(3.8rem, 5.8vw, 5rem); | |
| line-height: 0.8; | |
| } | |
| .intro { | |
| margin: 16px 0 13px; | |
| font-size: 1.12rem; | |
| line-height: 1.38; | |
| } | |
| #forest-form { | |
| gap: 5px; | |
| } | |
| #forest-form label { | |
| margin-top: 6px; | |
| font-size: 0.87rem; | |
| } | |
| #forest-form input { | |
| height: 46px; | |
| } | |
| #forest-form textarea { | |
| min-height: 64px; | |
| padding-top: 11px; | |
| padding-bottom: 11px; | |
| } | |
| .grow-button { | |
| min-height: 48px; | |
| margin-top: 7px; | |
| font-size: 1.35rem; | |
| } | |
| .status-region { | |
| min-height: 20px; | |
| margin-top: 8px; | |
| font-size: 0.85rem; | |
| } | |
| .entry-art { | |
| min-height: 570px; | |
| } | |
| .experience-view { | |
| min-height: calc(100vh - 112px); | |
| padding-bottom: 6px; | |
| } | |
| .path-header { | |
| margin: -18px auto 12px; | |
| } | |
| .path-header h1 { | |
| font-size: clamp(2.8rem, 4.2vw, 3.5rem); | |
| } | |
| #clearing-progress { | |
| margin: 8px 0 6px; | |
| font-size: 0.82rem; | |
| } | |
| .art-style-label { | |
| margin-bottom: 5px; | |
| font-size: 0.88rem; | |
| } | |
| .soundscape-player { | |
| margin-bottom: 12px; | |
| padding: 9px 14px; | |
| } | |
| .progress-dots { | |
| gap: 14px; | |
| min-height: 12px; | |
| } | |
| .progress-dot { | |
| width: 11px; | |
| height: 11px; | |
| } | |
| .clearing { | |
| grid-template-columns: minmax(390px, 0.9fr) minmax(520px, 1.1fr); | |
| gap: 42px; | |
| } | |
| .clearing-art { | |
| min-height: 475px; | |
| } | |
| .clearing-copy { | |
| max-width: 640px; | |
| padding: 0 0 8px; | |
| } | |
| .scene-title { | |
| margin: 7px 0 4px; | |
| font-size: 12px; | |
| } | |
| .scene-intro { | |
| margin-bottom: 12px; | |
| font-size: 16px; | |
| line-height: 1.4; | |
| } | |
| .narration { | |
| margin-bottom: 15px; | |
| font-size: 17px; | |
| line-height: 1.55; | |
| } | |
| .carried-question, | |
| .spell-section { | |
| padding: 10px 2px; | |
| } | |
| #reflection, | |
| .spell { | |
| margin-top: 6px; | |
| font-size: 1.2rem; | |
| } | |
| .spell { | |
| margin-bottom: 8px; | |
| } | |
| .copy-button { | |
| min-height: 36px; | |
| padding: 6px 14px; | |
| } | |
| .path-actions { | |
| gap: 4px; | |
| margin-top: 8px; | |
| } | |
| .path-actions .primary-button { | |
| min-height: 45px; | |
| padding-top: 8px; | |
| padding-bottom: 8px; | |
| font-size: 1.25rem; | |
| } | |
| .text-button { | |
| padding-top: 5px; | |
| padding-bottom: 5px; | |
| font-size: 0.9rem; | |
| } | |
| footer { | |
| padding-top: 7px; | |
| padding-bottom: 9px; | |
| font-size: 0.7rem; | |
| } | |
| } | |
| @media (max-width: 760px) { | |
| .site-header, | |
| .view { | |
| width: min(calc(100% - 36px), 720px); | |
| } | |
| .step-tracker { | |
| grid-template-columns: 1fr; | |
| } | |
| .step-tracker li:not(.is-current) { | |
| display: none; | |
| } | |
| .choice-grid.two-column, | |
| .choice-grid.three-column { | |
| grid-template-columns: 1fr; | |
| } | |
| .step-actions, | |
| .split-actions { | |
| flex-direction: column-reverse; | |
| align-items: stretch; | |
| } | |
| .split-actions .grow-button { | |
| width: 100%; | |
| } | |
| .brand { | |
| gap: 10px; | |
| font-size: 1.05rem; | |
| } | |
| .brand-mark { | |
| width: 38px; | |
| height: 38px; | |
| } | |
| .view { | |
| width: min(calc(100% - 36px), 720px); | |
| } | |
| .entry-view { | |
| display: flex; | |
| flex-direction: column; | |
| min-height: auto; | |
| } | |
| .entry-copy { | |
| width: 100%; | |
| min-width: 0; | |
| max-width: none; | |
| padding: 34px 0 24px; | |
| } | |
| .entry-copy h1 { | |
| max-width: 100%; | |
| font-size: clamp(2.8rem, 11.5vw, 3.5rem); | |
| letter-spacing: -0.055em; | |
| } | |
| #forest-form, | |
| #forest-form input, | |
| #forest-form select, | |
| #forest-form textarea { | |
| min-width: 0; | |
| max-width: 100%; | |
| } | |
| .intro { | |
| margin: 28px 0 30px; | |
| font-size: 1.2rem; | |
| } | |
| .entry-art { | |
| order: -1; | |
| align-self: auto; | |
| width: calc(100% + 36px); | |
| min-height: 310px; | |
| margin: -26px -18px -65px; | |
| opacity: 0.92; | |
| } | |
| .entry-art::after { | |
| background: | |
| linear-gradient(0deg, var(--paper) 0%, transparent 42%), | |
| linear-gradient(90deg, var(--paper) 0%, transparent 14%); | |
| } | |
| .entry-art img { | |
| object-position: 66% 52%; | |
| } | |
| .grow-button { | |
| font-size: 1.48rem; | |
| } | |
| .experience-view { | |
| padding: 0 0 32px; | |
| } | |
| .path-header { | |
| margin: 10px auto 24px; | |
| } | |
| .path-header h1 { | |
| font-size: clamp(2.75rem, 13vw, 4.5rem); | |
| } | |
| .soundscape-player { | |
| align-items: stretch; | |
| flex-direction: column; | |
| gap: 12px; | |
| margin: -10px auto 24px; | |
| } | |
| .soundscape-player audio { | |
| width: 100%; | |
| } | |
| .clearing { | |
| display: block; | |
| } | |
| .clearing-art { | |
| min-height: 390px; | |
| margin: -6px -10px 4px; | |
| } | |
| .clearing-copy { | |
| max-width: none; | |
| padding: 8px 0 20px; | |
| } | |
| .scene-title { | |
| font-size: 13px; | |
| } | |
| .scene-intro { | |
| font-size: 17px; | |
| } | |
| .narration { | |
| font-size: 19px; | |
| line-height: 1.65; | |
| } | |
| #reflection, | |
| .spell { | |
| font-size: 1.55rem; | |
| } | |
| footer { | |
| padding-bottom: 22px; | |
| } | |
| } | |
| @media (prefers-reduced-motion: reduce) { | |
| *, | |
| *::before, | |
| *::after { | |
| scroll-behavior: auto ; | |
| animation-duration: 0.01ms ; | |
| animation-iteration-count: 1 ; | |
| transition-duration: 0.01ms ; | |
| } | |
| .fireflies { | |
| display: none; | |
| } | |
| } | |