TOUSE / src /styles.css
Samfredoly's picture
Add optimized background instrumental
1cbd113 verified
Raw History Blame Contribute Delete
32.3 kB
:root {
--ink: #2b1a16;
--muted: #7a5b52;
--paper: #f6ede6;
--lavender: #e4d2c8;
--lilac: #c9a99b;
--plum: #6b2c2b;
--coral: #a51f2b;
--coral-deep: #7e1823;
--gold: #b9824b;
--line: rgba(43,26,22,.18);
--glass: rgba(255,250,245,.58);
--serif: 'Cormorant Garamond', Georgia, serif;
--sans: 'Manrope', Arial, sans-serif;
--mono: 'DM Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: inherit; text-decoration: none; }
#app { min-height: 100vh; overflow: hidden; position: relative; background: radial-gradient(circle at 76% 14%, rgba(255,250,245,.86), transparent 25%), linear-gradient(140deg, #f2dfd2 0%, #f0e0d4 52%, #d7b9a8 100%); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 8; opacity: .085; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }
.ambient { position: fixed; border-radius: 999px; filter: blur(1px); pointer-events: none; z-index: 0; transform: translateY(var(--parallax-y, 0)); transition: transform .2s linear; }
.ambient-one { width: 38vw; height: 38vw; left: -16vw; top: 16vh; border: 1px solid rgba(255,255,255,.7); box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 0 0 56px rgba(255,255,255,.06); }
.ambient-two { width: 34vw; height: 34vw; right: -14vw; top: 53vh; background: rgba(139,65,62,.14); }
.site-header { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: center; width: min(1220px, calc(100% - 64px)); margin: 0 auto; padding: 28px 0 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: -.02em; font-weight: 800; }
.brand-mark { width: 30px; height: 30px; position: relative; display: grid; place-items: center; border: 1.5px solid var(--ink); border-radius: 50% 50% 46% 46%; transform: rotate(-10deg); }
.brand-mark::after { content: ''; position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--ink); border-radius: 50%; background: var(--paper); top: -5px; right: -2px; }
.brand-mark span { font-family: var(--serif); font-size: 15px; transform: rotate(10deg); }
.brand-copy { letter-spacing: -.06em; }
.brand-copy span { color: var(--coral); padding: 0 1px; }
.header-right { display: flex; align-items: center; gap: 23px; }
.chapter-label, .sound-toggle, .music-toggle, .micro-note, .scroll-cue, .side-note, .mini-kicker, .decision-status { font-family: var(--mono); font-size: 10px; letter-spacing: .03em; text-transform: uppercase; }
.chapter-label { color: var(--muted); }
.sound-toggle { display: flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--ink); padding: 8px 0; }
.sound-dot { width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; display: inline-block; }
.sound-toggle[aria-pressed='true'] .sound-dot { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 4px rgba(241,111,97,.16); }
.music-toggle { display: flex; align-items: center; gap: 7px; border: 0; background: none; color: var(--ink); padding: 8px 0; }
.music-dot { width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; display: inline-block; }
.music-toggle[aria-pressed='true'] .music-dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(185,130,75,.16); }
.journey-nav { position: sticky; top: 12px; z-index: 6; width: min(760px, calc(100% - 64px)); margin: 0 auto -43px; padding: 10px 16px 11px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid rgba(255,250,245,.76); border-radius: 999px; background: rgba(252,244,238,.72); box-shadow: 0 13px 28px rgba(90,45,40,.12); backdrop-filter: blur(16px); }
.journey-track { position: absolute; left: 16px; right: 16px; bottom: 7px; height: 1px; overflow: hidden; background: rgba(17,16,23,.12); pointer-events: none; }
.journey-track span { display: block; width: 25%; height: 100%; background: var(--coral); transition: width .7s cubic-bezier(.2,.8,.2,1); }
.journey-step { position: relative; z-index: 1; display: inline-flex; align-items: baseline; gap: 7px; border: 0; background: none; color: var(--muted); padding: 2px 7px 8px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; transition: color .25s ease, transform .25s ease; }
.journey-step span { color: var(--coral-deep); font-size: 8px; }
.journey-step b { font-weight: 500; }
.journey-step:hover, .journey-step.is-current { color: var(--ink); transform: translateY(-2px); }
.journey-step.is-current b { font-weight: 700; }
.section-pad { width: min(1220px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 1; }
.hero { min-height: 785px; display: grid; grid-template-columns: 47% 53%; align-items: center; padding-top: 42px; padding-bottom: 80px; }
.hero-copy { position: relative; z-index: 2; padding: 25px 0 0 7.5vw; }
.eyebrow { margin: 0 0 18px; font-family: var(--mono); font-size: 10px; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: 1px; }
.eyebrow-dot.coral { background: var(--coral); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 600; letter-spacing: -.065em; line-height: .86; }
h1 { font-size: clamp(76px, 9.4vw, 150px); max-width: 650px; }
h2 { font-size: clamp(58px, 7.2vw, 106px); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--plum); }
.headline-dot { color: var(--coral); }
.hero-lede { max-width: 430px; margin: 30px 0 28px; color: var(--muted); line-height: 1.65; font-size: 15px; }
.hero-actions { display: flex; align-items: center; gap: 17px; }
.button { border: 0; min-height: 49px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 999px; font-size: 12px; font-weight: 800; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.button:hover:not(:disabled) { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(17,16,23,.13); }
.button-dark { background: var(--ink); color: white; }
.button-coral { background: var(--coral); color: white; }
.button-coral:disabled { background: #c7b7b7; color: rgba(255,255,255,.78); box-shadow: none; }
.button-outline { border: 1px solid rgba(17,16,23,.35); background: transparent; color: var(--ink); }
.button-arrow { font-size: 18px; font-weight: 400; line-height: 0; }
.micro-note { color: var(--muted); }
.hero-art-wrap { position: relative; min-height: 590px; display: grid; place-items: center; transform: translateY(var(--parallax-y, 0)); transition: transform .18s linear; }
.hero-art-card { width: min(560px, 89%); aspect-ratio: 1 / 1.02; position: relative; border: 1px solid rgba(255,250,245,.82); border-radius: 28px; background: linear-gradient(145deg, rgba(255,250,245,.72), rgba(209,173,155,.46)); box-shadow: 0 34px 72px rgba(91,48,42,.22), inset 0 0 0 1px rgba(255,250,245,.5); overflow: hidden; transform: perspective(900px) rotate(2.5deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .22s ease-out, box-shadow .3s ease; }
.hero-art-card:hover { box-shadow: 0 42px 86px rgba(91,48,42,.28), inset 0 0 0 1px rgba(255,250,245,.5); }
.hero-art-card::before { content:''; position:absolute; inset: 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 21px; z-index: 1; pointer-events:none; }
.hero-art { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .92; filter: grayscale(.92) sepia(.82) saturate(.86) hue-rotate(334deg) contrast(1.08) brightness(1.08); }
.art-label { position: absolute; z-index: 2; color: rgba(17,16,23,.58); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.art-label-top { top: 26px; left: 31px; }
.art-caption { position: absolute; z-index: 2; bottom: 25px; left: 31px; right: 31px; display: flex; justify-content: space-between; color: rgba(17,16,23,.62); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 78%; height: 25%; transform: rotate(-21deg); }
.orbit-two { width: 92%; height: 47%; transform: rotate(67deg); opacity: .65; }
.float-heart { position: absolute; z-index: 3; color: var(--coral); font-family: var(--serif); }
.heart-a { top: 16%; right: 5%; font-size: 47px; transform: rotate(17deg); }
.heart-b { left: 4%; bottom: 21%; font-size: 38px; color: var(--gold); }
.scroll-cue { position: absolute; bottom: 30px; left: 7.5vw; display: flex; align-items: center; gap: 11px; color: var(--muted); }
.scroll-line { width: 42px; height: 1px; background: currentColor; display: inline-block; }
.journey-bridge { width: min(920px, calc(100% - 64px)); margin: -14px auto 12px; display: grid; grid-template-columns: auto minmax(50px, 1fr) auto auto; align-items: center; gap: 12px; color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.bridge-node { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--coral); border-radius: 50%; color: var(--coral-deep); background: rgba(255,255,255,.28); }
.bridge-line { height: 1px; position: relative; overflow: hidden; background: repeating-linear-gradient(90deg, rgba(17,16,23,.22) 0 7px, transparent 7px 13px); }
.bridge-line::after { content: ''; position: absolute; inset: 0; width: 33%; background: var(--coral); animation: bridge-flow 3.2s ease-in-out infinite; }
.bridge-arrow { color: var(--coral); font-size: 18px; animation: bridge-nudge 1.8s ease-in-out infinite; }
.motion-muted .bridge-line::after, .motion-muted .bridge-arrow { animation-play-state: paused; }
section[data-journey-section] { scroll-margin-top: 95px; }
.journey-pulse .story-content, .journey-pulse .promise-layout, .journey-pulse .name-card, .journey-pulse .consent-content { animation: chapter-pulse .9s cubic-bezier(.2,.8,.2,1); }
.story-strip { min-height: 800px; display: grid; grid-template-columns: 22% 56% 22%; align-items: center; padding-top: 100px; padding-bottom: 130px; }
.side-note { align-self: start; margin-top: 20px; color: var(--muted); writing-mode: vertical-rl; transform: rotate(180deg); }
.story-content { max-width: 630px; }
.story-content > p:not(.eyebrow) { max-width: 430px; margin: 30px 0 48px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.quote-card { max-width: 510px; min-height: 185px; padding: 27px 34px 22px; position: relative; border: 1px solid rgba(43,26,22,.14); background: rgba(255,250,245,.48); border-radius: 2px 28px 2px 28px; box-shadow: 13px 13px 0 rgba(164,91,79,.3); }
.quote-mark { position: absolute; left: 18px; top: 13px; color: var(--coral); font-family: var(--serif); font-size: 50px; line-height: .6; }
.quote-card p { margin: 20px 0 21px 13px; max-width: 350px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.05; }
.quote-signoff { margin-left: 14px; font-family: var(--mono); font-size: 9px; text-transform: uppercase; color: var(--muted); }
.story-sticker { justify-self: center; width: 135px; height: 135px; border-radius: 50%; background: var(--coral); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: .8; transform: rotate(10deg) translateY(var(--parallax-y, 0)); transition: transform .2s linear; box-shadow: 12px 17px 0 rgba(17,16,23,.08); }
.story-sticker span:nth-child(2) { font-family: var(--sans); font-size: 16px; margin: 10px 0; font-style: normal; }
.promise-section { padding-top: 100px; padding-bottom: 140px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 80px; margin-left: 12%; margin-bottom: 80px; }
.section-intro { max-width: 240px; margin: 0 9% 5px 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.promise-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; max-width: 1050px; margin: 0 auto; }
.promise-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.promise-note { min-height: 132px; padding: 33px 24px 22px; position: relative; border: 0; border-radius: 4px 25px 4px 25px; background: #edcbbb; color: var(--ink); text-align: left; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--serif); font-size: 25px; line-height: .96; transform: rotate(-1.5deg); transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.promise-note:nth-child(2) { background: #dfbcb0; transform: rotate(1.5deg); }
.promise-note:nth-child(3) { background: #ead7b5; transform: rotate(1deg); }
.promise-note:nth-child(4) { background: #d4b8aa; transform: rotate(-2deg); }
.promise-note:hover, .promise-note.is-selected { transform: translateY(-6px) rotate(0); box-shadow: 9px 12px 0 rgba(17,16,23,.1); }
.promise-note.is-selected { outline: 2px solid var(--coral); outline-offset: 3px; }
.promise-note.pop { animation: pop .3s ease; }
.promise-note span:nth-child(2) { max-width: 210px; }
.note-pin { width: 10px; height: 10px; border-radius: 50%; background: rgba(17,16,23,.25); position: absolute; top: 13px; left: 50%; transform: translateX(-50%); box-shadow: inset 0 1px 2px rgba(255,255,255,.6); }
.note-check { align-self: flex-end; font-family: var(--sans); font-size: 17px; }
.promise-note.is-selected .note-check { color: var(--coral-deep); }
.note-add { background: transparent!important; border: 1px dashed rgba(17,16,23,.28); transform: none; min-height: 86px; padding: 18px 20px; flex-direction: row; align-items: center; gap: 13px; font-family: var(--sans); font-size: 12px; line-height: 1.2; }
.note-add:hover { border-color: var(--coral); box-shadow: none; }
.plus { font-family: var(--serif); font-size: 32px; color: var(--coral); }
.glass-panel { background: rgba(255,250,245,.55); border: 1px solid rgba(255,250,245,.84); box-shadow: 0 22px 52px rgba(91,48,42,.15), inset 0 0 0 1px rgba(255,250,245,.28); backdrop-filter: blur(18px); }
.promise-summary { margin-top: 78px; padding: 26px; min-height: 335px; border-radius: 3px 30px 3px 30px; transform: rotate(2deg); }
.summary-top, .decision-topline { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.mini-kicker { color: var(--muted); }
.selected-count { font-family: var(--mono); font-size: 10px; color: var(--coral-deep); }
.bouquet { min-height: 175px; padding: 25px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.bouquet-empty { color: #a58a7e; font-family: var(--serif); font-style: italic; font-size: 20px; padding: 22px 0; }
.bouquet-pill { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; line-height: 1; }
.bouquet-pill i { width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: white; font-style: normal; font-family: var(--mono); font-size: 8px; }
.summary-rule { height: 1px; background: var(--line); }
.summary-copy { color: var(--muted); font-size: 11px; line-height: 1.6; max-width: 230px; }
.text-button { border: 0; background: none; padding: 0; color: var(--ink); font-size: 12px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.text-button span { color: var(--coral); font-size: 18px; }
.name-section { padding-top: 100px; padding-bottom: 140px; }
.name-card { max-width: 950px; min-height: 490px; margin: 0 auto; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; padding: 50px 70px; border-radius: 36px 4px 36px 4px; position: relative; overflow: hidden; }
.name-card::after { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; right: -105px; top: -98px; box-shadow: 0 0 0 25px rgba(255,255,255,.09), 0 0 0 54px rgba(255,255,255,.05); }
.name-card-art { width: 190px; height: 190px; display: grid; place-items: center; position: relative; z-index: 1; border-radius: 53% 47% 52% 48%; background: linear-gradient(145deg, rgba(255,250,245,.72), rgba(220,182,163,.76)); border: 1px solid rgba(255,250,245,.82); color: var(--coral); font-family: var(--serif); font-size: 110px; line-height: 1; transform: rotate(-10deg); box-shadow: 12px 17px 0 rgba(164,91,79,.25); }
.name-card-copy { position: relative; z-index: 1; max-width: 430px; }
.name-card-copy h2 { font-size: clamp(53px, 5vw, 76px); }
.name-card-copy > p:not(.eyebrow):not(.field-hint) { max-width: 360px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 24px 0 30px; }
.field-label { display: block; font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 9px; }
.input-row { display: flex; align-items: center; border-bottom: 1px solid var(--ink); max-width: 350px; }
.input-row input { width: 100%; border: 0; outline: 0; background: transparent; padding: 8px 0 12px; color: var(--ink); font-family: var(--serif); font-size: 31px; }
.input-row input::placeholder { color: #a69eaa; font-style: italic; }
.input-spark { color: var(--coral); font-size: 20px; }
.field-hint { color: var(--muted); font-family: var(--mono); font-size: 9px; margin: 10px 0 0; }
.apology-label { margin-top: 25px; }
.apology-text { display: block; width: min(100%, 430px); min-height: 96px; resize: vertical; border: 1px solid rgba(17,16,23,.2); border-radius: 2px 16px 2px 16px; outline: 0; background: rgba(255,255,255,.26); padding: 12px 14px; color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.1; }
.apology-text:focus { border-color: var(--coral); box-shadow: 4px 5px 0 rgba(241,111,97,.16); }
.apology-text::placeholder { color: #a69eaa; font-style: italic; }
.consent-section { min-height: 760px; display: grid; grid-template-columns: 100px 1fr 220px; gap: 55px; align-items: center; padding-top: 100px; padding-bottom: 150px; }
.consent-rail { display: flex; height: 420px; flex-direction: column; align-items: center; justify-content: space-between; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.rail-line { width: 1px; flex: 1; background: var(--line); }
.rail-line:first-child { margin-bottom: 20px; }
.rail-line:last-child { margin-top: 20px; }
.consent-content { max-width: 720px; }
.consent-content h2 { font-size: clamp(55px, 7vw, 100px); }
.consent-box { margin: 42px 0 28px; max-width: 620px; padding: 23px 25px 19px; border: 1px solid var(--line); border-radius: 3px 24px 3px 24px; background: rgba(255,255,255,.35); }
.consent-label { display: flex; gap: 15px; align-items: flex-start; font-family: var(--serif); font-size: 24px; line-height: 1.08; cursor: pointer; }
.consent-label input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { flex: 0 0 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--ink); color: transparent; font-family: var(--sans); font-size: 14px; line-height: 1; margin-top: 2px; transition: all .2s ease; }
.consent-label input:checked + .custom-check { color: white; background: var(--coral); border-color: var(--coral); }
.consent-foot { margin: 18px 0 0 38px; color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.sincerity-gate { width: min(620px, 100%); margin: 26px 0 21px; padding: 19px 21px 18px; position: relative; border: 1px dashed rgba(43,26,22,.32); background: rgba(255,246,235,.62); transform: rotate(-.7deg); }
.sincerity-gate::after { content: 'not scientific / still useful'; position: absolute; right: 17px; top: -10px; padding: 3px 6px; background: #edcbbb; color: var(--ink); font-family: var(--mono); font-size: 8px; text-transform: uppercase; transform: rotate(4deg); }
.sincerity-head { display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.sincerity-state { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; }
.sincerity-state.has-result { color: var(--coral-deep); }
.sincerity-explainer { max-width: 450px; margin: 13px 0 15px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.sincerity-gate .button { min-height: 40px; padding: 0 15px; font-size: 10px; }
.sincerity-result { margin-top: 16px; }
.sincerity-reading { display: flex; align-items: center; gap: 18px; padding-top: 14px; border-top: 1px solid rgba(17,16,23,.16); }
.sincerity-score { min-width: 86px; color: var(--coral-deep); font-family: var(--serif); font-size: 55px; font-weight: 600; letter-spacing: -.08em; line-height: .8; transform: rotate(-5deg); }
.sincerity-score span { margin-left: 3px; color: var(--muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0; }
.sincerity-body { flex: 1; }
.sincerity-body strong { display: block; font-family: var(--serif); font-size: 24px; line-height: 1; }
.sincerity-body p { max-width: 420px; margin: 7px 0 9px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.sincerity-signal { display: inline-block; color: var(--ink); font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }
.sincerity-source { display: block; margin-top: 8px; color: var(--coral-deep); font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .035em; }
.private-lock { padding-top: 14px; border-top: 1px solid rgba(17,16,23,.16); }
.private-lock strong { display: block; font-family: var(--serif); font-size: 28px; line-height: 1; }
.private-lock p { max-width: 430px; margin: 8px 0 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.private-key-row { display: flex; gap: 9px; align-items: stretch; max-width: 460px; }
.private-key-row input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--ink); outline: 0; background: transparent; color: var(--ink); padding: 8px 0; font-family: var(--mono); font-size: 11px; }
.private-key-row input:focus { border-color: var(--coral); }
.private-key-row .button { min-height: 38px; padding: 0 14px; font-size: 10px; white-space: nowrap; }
.private-key-status { display: block; margin-top: 9px; color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.private-dossier { margin-top: 20px; padding-top: 15px; border-top: 1px dashed rgba(17,16,23,.25); }
.private-answer { margin-top: 12px; padding: 10px 12px; background: rgba(255,255,255,.46); border-left: 2px solid var(--coral); }
.private-answer-label { color: var(--muted); font-family: var(--mono); font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.private-answer p { margin: 5px 0 0; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.05; }
.is-sealed .name-card-copy, .is-sealed .promise-notes, .is-sealed .promise-summary { filter: blur(5px); opacity: .42; pointer-events: none; user-select: none; }
.is-sealed { position: relative; }
.is-sealed::after { content: 'submitted / sealed for him'; position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); padding: 8px 12px; background: var(--ink); color: white; font-family: var(--mono); font-size: 9px; text-transform: uppercase; box-shadow: 5px 6px 0 rgba(241,111,97,.38); }
.unlock-hint { color: var(--muted); font-family: var(--mono); font-size: 9px; margin: 14px 0 0 4px; transition: color .2s ease; }
.unlock-hint.ready { color: var(--coral-deep); }
.consent-doodle { display: flex; flex-direction: column; gap: 8px; align-items: center; color: var(--coral); font-family: var(--serif); font-style: italic; font-size: 22px; transform: rotate(8deg) translateY(var(--parallax-y, 0)); transition: transform .2s linear; }
.consent-doodle span:last-child { color: var(--ink); font-family: var(--mono); font-style: normal; font-size: 9px; text-transform: uppercase; }
.decision-section { min-height: 670px; padding-top: 80px; padding-bottom: 140px; border-top: 1px solid rgba(17,16,23,.12); position: relative; }
.decision-status { color: var(--muted); }
.decision-status.is-open { color: var(--coral-deep); }
.decision-content { min-height: 450px; display: grid; place-items: center; text-align: center; }
.decision-lock { color: var(--muted); }
.decision-lock span { display: block; color: var(--coral); font-family: var(--serif); font-size: 80px; line-height: .7; margin-bottom: 30px; }
.decision-lock p { margin: 0 0 8px; font-family: var(--serif); color: var(--ink); font-size: 30px; }
.decision-lock small { font-size: 11px; }
.decision-open { width: min(700px, 100%); }
.decision-open h2, .decision-result h2 { font-size: clamp(56px, 7vw, 96px); }
.decision-lede, .decision-result > p:not(.eyebrow) { max-width: 500px; margin: 28px auto; color: var(--muted); line-height: 1.7; font-size: 14px; }
.decision-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.decision-note { color: var(--muted); font-family: var(--mono); font-size: 9px; text-transform: uppercase; margin-top: 25px; }
.decision-result { width: min(700px, 100%); }
.result-heart { color: var(--coral); font-family: var(--serif); font-size: 74px; line-height: .75; animation: float 2.8s ease-in-out infinite; }
.result-heart.muted { color: var(--lilac); }
.tiny-signoff { font-family: var(--serif); font-size: 21px; font-style: italic; color: var(--plum); margin: 23px 0; }
.burst-heart { position: absolute; left: 50%; top: 54%; color: var(--coral); font-family: var(--serif); font-size: 30px; pointer-events: none; animation: burst 1.7s ease-out var(--delay) forwards; }
.site-footer { display: flex; justify-content: space-between; gap: 25px; padding: 24px max(32px, calc((100% - 1220px) / 2)); border-top: 1px solid rgba(17,16,23,.13); font-family: var(--mono); font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.site-footer span:first-child { color: var(--ink); font-weight: 500; }
.toast { position: fixed; z-index: 12; left: 50%; bottom: 25px; transform: translate(-50%, 18px); background: var(--ink); color: white; border-radius: 999px; padding: 12px 19px; font-family: var(--mono); font-size: 10px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-in { animation: enter .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pop { 50% { transform: translateY(-11px) rotate(0); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes burst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(35deg) scale(1.2); } }
@keyframes bridge-flow { 0% { transform: translateX(-130%); } 55%,100% { transform: translateX(430%); } }
@keyframes bridge-nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes chapter-pulse { 0% { opacity: .55; transform: translateY(18px) scale(.985); } 55% { opacity: 1; transform: translateY(-4px) scale(1.008); } 100% { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
.ambient, .hero-art-wrap, .story-sticker, .consent-doodle { transform: none; }
}
@media (max-width: 850px) {
.site-header, .section-pad { width: min(100% - 36px, 680px); }
.journey-nav { width: calc(100% - 36px); margin-bottom: -32px; padding-inline: 10px; gap: 2px; }
.journey-step { gap: 4px; padding-inline: 4px; font-size: 8px; }
.journey-step b { display: none; }
.journey-bridge { width: calc(100% - 36px); margin-top: 0; }
.chapter-label { display: none; }
.hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding-top: 80px; }
.hero-copy { padding: 0; }
h1 { font-size: clamp(68px, 16vw, 120px); }
.hero-lede { margin-top: 24px; }
.hero-art-wrap { min-height: 500px; margin-top: 25px; }
.hero-art-card { width: min(540px, 90%); }
.scroll-cue { left: 0; bottom: 18px; }
.story-strip { min-height: auto; display: block; padding-top: 90px; padding-bottom: 100px; }
.side-note { writing-mode: initial; transform: none; margin: 0 0 28px; }
.story-sticker { position: absolute; right: 4%; bottom: 50px; width: 100px; height: 100px; font-size: 17px; }
.section-heading { display: block; margin-left: 0; margin-bottom: 55px; }
.section-intro { margin: 25px 0 0; max-width: 330px; }
.promise-layout { display: block; }
.promise-summary { margin-top: 45px; transform: rotate(-1deg); }
.name-card { padding: 48px 34px; grid-template-columns: 1fr; gap: 42px; }
.name-card-art { width: 135px; height: 135px; font-size: 80px; }
.consent-section { min-height: auto; display: block; padding-top: 90px; padding-bottom: 110px; }
.consent-rail { display: none; }
.consent-doodle { margin-top: 60px; }
}
@media (max-width: 520px) {
.site-header, .section-pad { width: calc(100% - 32px); }
.site-header { padding-top: 19px; }
.music-toggle span:last-child { display: none; }
.sound-toggle span:last-child { display: none; }
.hero { padding-top: 70px; }
.journey-nav { top: 8px; }
.journey-bridge { grid-template-columns: auto minmax(20px, 1fr) auto; gap: 8px; font-size: 7px; }
.journey-bridge .bridge-arrow { display: none; }
.hero-actions { align-items: flex-start; flex-direction: column; }
.hero-art-wrap { min-height: 355px; }
.art-label-top { top: 17px; left: 20px; }
.art-caption { bottom: 17px; left: 20px; right: 20px; font-size: 8px; }
.heart-a { top: 10%; right: 0; font-size: 35px; }
.heart-b { left: 0; bottom: 15%; font-size: 30px; }
.quote-card { padding: 22px 21px 18px; box-shadow: 8px 9px 0 rgba(164,91,79,.3); }
.quote-card p { font-size: 22px; margin-left: 8px; }
.quote-signoff { margin-left: 8px; }
.promise-notes { grid-template-columns: 1fr; gap: 14px; }
.promise-note { min-height: 107px; font-size: 23px; }
.promise-summary { min-height: 320px; padding: 21px; }
.name-section { padding-top: 55px; padding-bottom: 90px; }
.name-card { padding: 34px 24px 42px; }
.name-card-copy h2 { font-size: 54px; }
.apology-text { font-size: 19px; }
.consent-label { font-size: 21px; }
.consent-box { padding: 20px 17px 17px; }
.consent-foot { margin-left: 37px; line-height: 1.5; }
.sincerity-head { align-items: flex-start; flex-direction: column; gap: 7px; }
.sincerity-gate::after { top: -9px; right: 9px; font-size: 7px; }
.sincerity-reading { align-items: flex-start; gap: 13px; }
.sincerity-score { min-width: 70px; font-size: 47px; }
.private-key-row { flex-direction: column; align-items: stretch; }
.private-key-row .button { width: 100%; }
.decision-section { padding-top: 55px; padding-bottom: 100px; }
.decision-topline { align-items: flex-start; flex-direction: column; gap: 8px; }
.decision-actions { flex-direction: column; align-items: stretch; }
.decision-actions .button { width: 100%; }
.site-footer { padding: 21px 16px; flex-wrap: wrap; }
.site-footer span:nth-child(2) { order: 3; width: 100%; }
}