@font-face {
    font-family: "Lianhua Display";
    src: url("fonts/lianhua-display-subset.woff2") format("woff2");
    font-display: swap;
    font-style: normal;
    font-weight: 400;
}

:root {
    --display: "Lianhua Display", "Songti SC", "STSong", serif;
    --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
    --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
    --night: #100e12;
    --night-soft: #151219;
    --panel: #1a171e;
    --panel-warm: #20181e;
    --ink: #eee9e1;
    --ink-soft: #b9afa4;
    --muted: #90857d;
    --gold: #d2a954;
    --gold-light: #eed892;
    --gold-deep: #b2873b;
    --rose: #a77b78;
    --jade: #769287;
    --line: rgba(222, 184, 102, 0.16);
    --line-soft: rgba(238, 233, 225, 0.09);
    --content: 1080px;
    --pad: clamp(22px, 5vw, 72px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--night);
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--night);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.82;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
a,
button {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
}

svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

h1,
h2,
h3,
p,
blockquote,
figure {
    margin-top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 500;
    top: 12px;
    left: 12px;
    padding: 8px 12px;
    color: #17131a;
    background: var(--gold-light);
    border-radius: 4px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

#ambientCanvas {
    position: fixed;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ambient-glow {
    position: fixed;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 680px;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 10%, rgba(210, 169, 84, 0.08), transparent 62%);
}

main,
.site-footer {
    position: relative;
    z-index: 1;
}

.section {
    padding: 118px var(--pad);
}

.section-inner {
    width: min(100%, var(--content));
    margin: 0 auto;
}

.eyebrow {
    margin-bottom: 15px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 28px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button svg {
    width: 17px;
    height: 17px;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.quiet-link:focus-visible,
.audio-button:focus-visible,
.ask-link:focus-visible,
.scenario-tabs button:focus-visible,
.prompt-list button:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 4px;
}

.button-gold {
    color: #1c1713;
    background: linear-gradient(135deg, #f0d98f 0%, #d3aa54 58%, #b98a34 100%);
    box-shadow: 0 10px 34px rgba(195, 144, 50, 0.18);
}

.button-gold:hover {
    box-shadow: 0 13px 38px rgba(195, 144, 50, 0.24);
}

.button-quiet {
    color: var(--gold-light);
    border-color: rgba(222, 184, 102, 0.3);
    background: rgba(222, 184, 102, 0.03);
}

/* Hero: one person, one name, one promise. */
.hero {
    position: relative;
    height: clamp(590px, calc(100svh - 150px), 760px);
    min-height: 590px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(222, 184, 102, 0.09);
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    left: 50%;
    pointer-events: none;
    transform: translateX(-50%);
}

.hero::before {
    top: 11%;
    width: min(72vw, 720px);
    height: min(72vw, 720px);
    border: 1px solid rgba(222, 184, 102, 0.045);
    border-radius: 50%;
}

.hero::after {
    bottom: 0;
    width: min(86%, 820px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(222, 184, 102, 0.28), transparent);
}

.hero-inner {
    width: min(calc(100% - (var(--pad) * 2)), 660px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 52px;
    text-align: center;
    animation: hero-arrive 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.portrait-orbit {
    position: relative;
    width: 158px;
    height: 158px;
    display: grid;
    place-items: center;
    margin-bottom: 27px;
}

.portrait-orbit img {
    position: relative;
    z-index: 3;
    width: 132px;
    height: 132px;
    padding: 3px;
    border: 1px solid rgba(238, 216, 146, 0.72);
    border-radius: 50%;
    object-fit: cover;
    background: #201a20;
    box-shadow: 0 0 0 5px rgba(210, 169, 84, 0.035), 0 18px 52px rgba(0, 0, 0, 0.46), 0 0 38px rgba(210, 169, 84, 0.12);
    animation: portrait-float 4.8s ease-in-out infinite;
    will-change: transform;
}

.orbit {
    position: absolute;
    z-index: 1;
    inset: 4px;
    border: 1px solid rgba(222, 184, 102, 0.26);
    border-radius: 50%;
}

.orbit-one {
    animation: orbit-turn 18s linear infinite;
}

.orbit-one::after {
    content: "";
    position: absolute;
    top: 14px;
    left: 17px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 10px rgba(238, 216, 146, 0.7);
}

.orbit-two {
    inset: -5px 14px 15px -2px;
    opacity: 0.48;
    transform: rotate(22deg);
    animation: orbit-breathe 5s ease-in-out infinite;
}

.orbit-star {
    position: absolute;
    z-index: 2;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 8px rgba(238, 216, 146, 0.8);
}

.star-one { top: 8px; right: 33px; }
.star-two { right: 3px; bottom: 45px; opacity: 0.55; }

.hero h1 {
    margin-bottom: 6px;
    color: var(--gold-light);
    font-family: var(--display);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.24;
    text-shadow: 0 0 34px rgba(210, 169, 84, 0.12);
}

.hero-promise {
    position: relative;
    margin-bottom: 26px;
    color: var(--ink-soft);
    font-size: 15px;
    letter-spacing: 3px;
}

.hero-promise::after {
    content: "";
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
}

.hero-copy {
    max-width: 570px;
    margin-bottom: 30px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 17px;
    line-height: 2;
}

.hero-actions,
.closing-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.quiet-link {
    position: relative;
    padding: 8px 3px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 600;
}

.quiet-link::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 3px;
    left: 3px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0.36);
    transform-origin: center;
    transition: transform 180ms ease;
}

.quiet-link:hover::after {
    transform: scaleX(1);
}

.scroll-cue {
    position: absolute;
    z-index: 3;
    bottom: 18px;
    left: 50%;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    transform: translateX(-50%);
}

.scroll-cue span {
    width: 1px;
    height: 24px;
    overflow: hidden;
    background: rgba(222, 184, 102, 0.16);
}

.scroll-cue span::after {
    content: "";
    display: block;
    width: 1px;
    height: 10px;
    background: var(--gold);
    animation: cue 1700ms ease-in-out infinite;
}

/* Meet Lotus */
.meet {
    padding-top: 72px;
    background: rgba(21, 18, 25, 0.94);
}

.center-heading {
    max-width: 800px;
    margin: 0 auto 64px;
    text-align: center;
}

.center-heading.narrow {
    max-width: 710px;
}

.section-mark {
    position: relative;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 0 auto 21px;
    border: 1px solid rgba(222, 184, 102, 0.26);
    border-radius: 50%;
}

.section-mark::before,
.section-mark::after,
.section-mark i {
    content: "";
    position: absolute;
}

.section-mark::before {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(222, 184, 102, 0.34);
    border-radius: 50%;
}

.section-mark::after {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 9px rgba(238, 216, 146, 0.72);
}

.section-mark i {
    width: 56px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(222, 184, 102, 0.28), transparent);
}

.center-heading h2,
.today-heading h2,
.dialogue-heading h2,
.voices-heading h2,
.closing h2 {
    margin-bottom: 24px;
    color: var(--ink);
    font-family: var(--display);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.55;
}

.heading-copy,
.today-heading > p:last-child,
.dialogue-heading > p {
    color: var(--ink-soft);
    font-size: 16px;
}

.heading-copy {
    max-width: 740px;
    margin: 0 auto;
}

.meet-statement {
    max-width: 780px;
    margin: 0 auto 60px;
    padding: 32px 36px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center;
}

.meet-statement p {
    margin-bottom: 16px;
    color: var(--ink-soft);
}

.meet-statement strong {
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
}

.essence-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.essence-row article {
    min-width: 0;
    padding: 36px 34px 40px;
}

.essence-row article + article {
    border-left: 1px solid var(--line-soft);
}

.essence-row article > span {
    display: block;
    margin-bottom: 21px;
    color: var(--gold-deep);
    font-family: Georgia, serif;
    font-size: 12px;
}

.essence-row h3 {
    margin-bottom: 12px;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 21px;
    font-weight: 500;
}

.essence-row p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Today */
.today {
    background: rgba(16, 14, 18, 0.97);
}

.today-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(470px, 1.25fr);
    gap: 80px;
    align-items: start;
}

.today-heading {
    position: sticky;
    top: 80px;
    padding-top: 14px;
}

.today-heading h2 {
    font-size: 38px;
}

.wisdom-panel {
    position: relative;
    overflow: hidden;
    padding: 42px 46px 0;
    border: 1px solid rgba(222, 184, 102, 0.18);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(34, 27, 32, 0.98), rgba(25, 22, 29, 0.98));
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.wisdom-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238, 216, 146, 0.65), transparent);
}

.wisdom-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--line-soft);
    color: var(--muted);
    font-size: 12px;
}

.wisdom-meta span {
    color: var(--gold);
    text-align: right;
}

.wisdom-panel blockquote {
    margin: 38px 0 42px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1.78;
}

.lotus-reading {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 18px;
    padding: 27px 0;
    border-top: 1px solid var(--line-soft);
    color: var(--ink-soft);
}

.lotus-reading > span {
    color: var(--gold);
    font-family: var(--serif);
}

.lotus-reading p {
    margin: 0;
}

.wisdom-actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    margin: 0 -46px;
    border-top: 1px solid var(--line-soft);
}

.audio-button,
.ask-link {
    min-height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    color: var(--ink-soft);
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.audio-button {
    border-right: 1px solid var(--line-soft);
}

.audio-button:disabled {
    cursor: wait;
    opacity: 0.55;
}

.audio-button svg,
.ask-link svg {
    width: 17px;
    height: 17px;
}

.ask-link {
    color: var(--gold-light);
}

.audio-wave {
    height: 16px;
    display: none;
    align-items: center;
    gap: 2px;
}

.audio-wave i {
    width: 2px;
    height: 5px;
    display: block;
    background: var(--gold);
    animation: wave 560ms ease-in-out infinite alternate;
}

.audio-wave i:nth-child(2) { animation-delay: 130ms; }
.audio-wave i:nth-child(3) { animation-delay: 260ms; }
.audio-button.is-playing .audio-wave { display: inline-flex; }

/* What she can hold */
.companionship {
    background: rgba(21, 18, 25, 0.95);
}

.moment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line-soft);
}

.moment {
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 20px;
    padding: 36px 34px 40px 0;
    border-bottom: 1px solid var(--line-soft);
}

.moment:nth-child(even) {
    padding-right: 0;
    padding-left: 34px;
    border-left: 1px solid var(--line-soft);
}

.moment-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(222, 184, 102, 0.2);
    border-radius: 50%;
    color: var(--gold);
}

.moment-icon svg {
    width: 20px;
    height: 20px;
}

.moment div > p {
    margin-bottom: 6px;
    color: var(--gold-deep);
    font-size: 12px;
}

.moment h3 {
    margin-bottom: 10px;
    color: var(--gold-light);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.moment div > span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.companion-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 34px;
    color: var(--ink-soft);
    font-size: 13px;
}

.companion-note i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gold-deep);
}

/* The original letter remains the emotional center. */
.letter {
    position: relative;
    overflow: hidden;
    padding: 130px var(--pad) 138px;
    border-top: 1px solid rgba(222, 184, 102, 0.15);
    border-bottom: 1px solid rgba(222, 184, 102, 0.15);
    background: #1c141a;
}

.letter-light {
    position: absolute;
    top: -35%;
    left: 50%;
    width: min(86vw, 900px);
    height: 100%;
    pointer-events: none;
    background: radial-gradient(ellipse, rgba(210, 169, 84, 0.09), transparent 68%);
    transform: translateX(-50%);
}

.letter-inner {
    position: relative;
    width: min(100%, 860px);
    margin: 0 auto;
    text-align: center;
}

.letter blockquote {
    margin: 36px 0 45px;
    color: var(--gold-light);
    font-family: var(--display);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.9;
    text-shadow: 0 0 32px rgba(210, 169, 84, 0.08);
}

.letter blockquote span {
    display: block;
}

.letter-sign {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 0;
    color: var(--muted);
    font-family: var(--serif);
}

.letter-sign::before {
    content: "";
    width: 38px;
    height: 1px;
    background: var(--gold-deep);
}

/* Dialogue */
.dialogue {
    background: rgba(16, 14, 18, 0.98);
}

.dialogue-heading {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: end;
    margin-bottom: 58px;
}

.dialogue-heading h2 {
    margin-bottom: 0;
}

.dialogue-heading > p {
    margin-bottom: 6px;
}

.dialogue-stage {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(26, 23, 30, 0.8);
}

.scenario-tabs {
    display: grid;
    align-content: start;
    border-right: 1px solid var(--line-soft);
}

.scenario-tabs button {
    min-height: 72px;
    padding: 0 24px;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--muted);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.scenario-tabs button[aria-selected="true"] {
    color: var(--gold-light);
    background: rgba(210, 169, 84, 0.055);
}

.conversation {
    min-height: 390px;
    display: grid;
    align-content: center;
    gap: 34px;
    padding: 50px 58px;
}

.message {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 20px;
}

.message > span {
    padding-top: 5px;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 13px;
}

.message p {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.85;
}

.message-lotus {
    padding-top: 32px;
    border-top: 1px solid var(--line-soft);
}

.message-lotus > span {
    color: var(--gold);
}

.message-lotus p {
    color: var(--ink);
    font-size: 21px;
}

.message small {
    grid-column: 2;
    display: block;
    margin-top: -10px;
    color: var(--muted);
    font-size: 13px;
}

.prompt-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 36px;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.prompt-list button {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 24px;
    border: 0;
    color: var(--ink-soft);
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.prompt-list button + button {
    border-left: 1px solid var(--line-soft);
}

.prompt-list svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* Voices */
.voices {
    background: rgba(21, 18, 25, 0.97);
}

.voices-layout {
    display: grid;
    grid-template-columns: minmax(270px, 0.72fr) minmax(520px, 1.28fr);
    gap: 90px;
    align-items: start;
}

.voices-heading {
    position: sticky;
    top: 80px;
}

.voices-heading h2 {
    margin-bottom: 0;
    font-size: 38px;
}

.voice-list {
    border-top: 1px solid var(--line-soft);
}

.voice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 24px;
    padding: 31px 0 34px;
    border-bottom: 1px solid var(--line-soft);
}

.voice blockquote {
    margin-bottom: 0;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.9;
}

.voice figcaption {
    align-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    text-align: right;
}

.voice-avatar {
    width: 38px;
    height: 38px;
    display: block;
    flex: 0 0 38px;
    overflow: hidden;
    border: 1px solid rgba(238, 216, 146, 0.24);
    border-radius: 50%;
    background-color: #4a4042;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.26);
}

.voice-avatar-deer {
    background-image: url("images/voice-xiaolu-28.jpg");
}

.voice-avatar-clear {
    background-image: url("images/voice-qinghuan-65.jpg");
}

.voice-avatar-fish {
    background-image: url("images/voice-xiaoyu-31.jpg");
}

/* Closing */
.closing {
    position: relative;
    overflow: hidden;
    padding-top: 136px;
    padding-bottom: 132px;
    background: #121015;
    text-align: center;
}

.closing-orbit {
    position: absolute;
    top: 54px;
    left: 50%;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(222, 184, 102, 0.14);
    border-radius: 50%;
    transform: translateX(-50%);
}

.closing-orbit::before,
.closing-orbit::after,
.closing-orbit i {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.closing-orbit::before {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(222, 184, 102, 0.17);
}

.closing-orbit::after {
    width: 4px;
    height: 4px;
    background: var(--gold);
    box-shadow: 0 0 12px rgba(238, 216, 146, 0.72);
}

.closing-orbit i {
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(222, 184, 102, 0.28), transparent);
}

.closing-inner {
    max-width: 800px;
}

.closing h2 {
    margin-bottom: 37px;
    font-size: 43px;
}

.closing small {
    display: block;
    margin-top: 30px;
    color: var(--muted);
    font-size: 11px;
}

.site-footer {
    padding: 38px var(--pad) calc(34px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-soft);
    background: #0d0c0f;
}

.footer-inner {
    width: min(100%, var(--content));
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 32px;
    align-items: center;
    margin: 0 auto;
}

.footer-inner p {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 0;
}

.footer-inner strong {
    color: var(--gold-light);
    font-family: var(--display);
    font-size: 22px;
    font-weight: 400;
}

.footer-inner p span,
.footer-inner small,
.footer-inner nav {
    color: var(--muted);
    font-size: 11px;
}

.footer-inner nav {
    display: flex;
    gap: 20px;
}

.footer-inner a:hover {
    color: var(--gold-light);
}

.page-toast {
    position: fixed;
    z-index: 300;
    bottom: calc(24px + env(safe-area-inset-bottom));
    left: 50%;
    max-width: calc(100% - 40px);
    padding: 10px 16px;
    border: 1px solid rgba(222, 184, 102, 0.18);
    border-radius: 6px;
    color: var(--ink);
    background: rgba(28, 23, 29, 0.96);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.page-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 680ms cubic-bezier(0.16, 1, 0.3, 1), transform 680ms cubic-bezier(0.16, 1, 0.3, 1);
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes hero-arrive {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes portrait-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes orbit-turn {
    to { transform: rotate(360deg); }
}

@keyframes orbit-breathe {
    0%, 100% { opacity: 0.34; transform: rotate(22deg) scale(0.98); }
    50% { opacity: 0.58; transform: rotate(22deg) scale(1.02); }
}

@keyframes cue {
    0% { opacity: 0; transform: translateY(-11px); }
    45% { opacity: 1; }
    100% { opacity: 0; transform: translateY(24px); }
}

@keyframes wave {
    to { height: 13px; }
}

@media (max-width: 900px) {
    .section {
        padding-top: 94px;
        padding-bottom: 98px;
    }

    .today-layout,
    .voices-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .today-heading,
    .voices-heading {
        position: static;
    }

    .dialogue-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dialogue-heading > p {
        max-width: 640px;
    }
}

@media (max-width: 767px) {
    :root {
        --pad: 22px;
    }

    body {
        font-size: 15px;
        line-height: 1.78;
    }

    .section {
        padding-top: 78px;
        padding-bottom: 84px;
    }

    .hero {
        height: clamp(520px, calc(100svh - 150px), 700px);
        min-height: 0;
    }

    .hero-inner {
        width: calc(100% - 44px);
        padding: 22px 0 38px;
    }

    .portrait-orbit {
        width: 132px;
        height: 132px;
        margin-bottom: 19px;
    }

    .portrait-orbit img {
        width: 108px;
        height: 108px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-promise {
        margin-bottom: 23px;
        font-size: 13px;
    }

    .hero-copy {
        margin-bottom: 23px;
        font-size: 14px;
        line-height: 1.85;
    }

    .button {
        min-height: 46px;
        padding: 0 20px;
        font-size: 14px;
    }

    .scroll-cue {
        display: none;
    }

    .meet {
        padding-top: 58px;
    }

    .center-heading {
        margin-bottom: 48px;
    }

    .center-heading h2,
    .today-heading h2,
    .dialogue-heading h2,
    .voices-heading h2,
    .closing h2 {
        font-size: 31px;
        line-height: 1.62;
    }

    .heading-copy,
    .today-heading > p:last-child,
    .dialogue-heading > p {
        font-size: 14px;
    }

    .meet-statement {
        margin-bottom: 44px;
        padding: 26px 0;
    }

    .meet-statement strong {
        font-size: 16px;
    }

    .essence-row {
        grid-template-columns: 1fr;
    }

    .essence-row article {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 12px;
        padding: 25px 0 28px;
    }

    .essence-row article + article {
        border-top: 1px solid var(--line-soft);
        border-left: 0;
    }

    .essence-row article > span {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .essence-row h3,
    .essence-row p {
        grid-column: 2;
    }

    .essence-row h3 {
        margin-bottom: 8px;
        font-size: 20px;
    }

    .wisdom-panel {
        padding: 30px 24px 0;
    }

    .wisdom-panel blockquote {
        margin: 29px 0 34px;
        font-size: 25px;
        line-height: 1.76;
    }

    .lotus-reading {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
        padding: 24px 0;
    }

    .wisdom-actions {
        grid-template-columns: 1fr;
        margin: 0 -24px;
    }

    .audio-button {
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }

    .moment-grid {
        grid-template-columns: 1fr;
    }

    .moment,
    .moment:nth-child(even) {
        padding: 28px 0 31px;
        border-left: 0;
    }

    .moment:nth-child(even) {
        border-top: 0;
    }

    .moment h3 {
        font-size: 21px;
    }

    .companion-note {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding-top: 26px;
    }

    .companion-note i {
        display: none;
    }

    .letter {
        padding: 96px 22px 104px;
    }

    .letter blockquote {
        margin: 28px 0 38px;
        font-size: 28px;
        line-height: 1.92;
    }

    .dialogue-heading {
        margin-bottom: 42px;
    }

    .dialogue-stage {
        grid-template-columns: 1fr;
    }

    .scenario-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }

    .scenario-tabs button {
        min-height: 54px;
        padding: 8px 6px;
        border-bottom: 0;
        font-size: 13px;
        text-align: center;
    }

    .scenario-tabs button + button {
        border-left: 1px solid var(--line-soft);
    }

    .conversation {
        min-height: 0;
        gap: 28px;
        padding: 31px 20px 35px;
    }

    .message {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 10px;
    }

    .message p,
    .message-lotus p {
        font-size: 17px;
    }

    .message small {
        grid-column: 2;
        font-size: 12px;
    }

    .prompt-list {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .prompt-list button + button {
        border-top: 1px solid var(--line-soft);
        border-left: 0;
    }

    .voice {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .voice figcaption {
        justify-content: flex-start;
        text-align: left;
    }

    .closing {
        padding-top: 122px;
        padding-bottom: 96px;
    }

    .closing h2 {
        margin-bottom: 30px;
    }

    .closing-actions {
        width: min(100%, 310px);
        flex-direction: column;
        margin: 0 auto;
    }

    .closing-actions .button {
        width: 100%;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-inner nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 360px) {
    :root { --pad: 18px; }

    .hero {
        height: 455px;
    }

    .hero-inner {
        width: calc(100% - 36px);
        padding-bottom: 24px;
    }

    .portrait-orbit {
        width: 112px;
        height: 112px;
        margin-bottom: 13px;
    }

    .portrait-orbit img {
        width: 92px;
        height: 92px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-promise {
        margin-bottom: 18px;
    }

    .hero-copy {
        margin-bottom: 17px;
        font-size: 13px;
        line-height: 1.72;
    }

    .hero-actions {
        gap: 11px;
    }

    .button {
        min-height: 43px;
        padding-inline: 16px;
        font-size: 13px;
    }

    .quiet-link {
        font-size: 13px;
    }

    .meet {
        padding-top: 48px;
    }

    .letter blockquote {
        font-size: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
