@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Serif+SC:wght@400;500;600;700&display=swap');

:root {
  --ink: #1d2f28;
  --ink-deep: #14231e;
  --paper: #f1eee7;
  --paper-bright: #f7f5f0;
  --sand: #d9c9ac;
  --sand-deep: #baa47f;
  --moss: #788772;
  --sage: #a8b2a1;
  --mist: #ccd4ca;
  --line: rgba(29, 47, 40, .2);
  --white-line: rgba(247, 245, 240, .25);
  --display: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --mono: 'DM Mono', 'SFMono-Regular', monospace;
  --shell: min(1180px, calc(100vw - 112px));
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html :where([id]) { scroll-margin-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.is-menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.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; }
.shell { width: var(--shell); margin-inline: auto; position: relative; z-index: 2; }
.section-dark { background: var(--ink); color: var(--paper-bright); }
.section-ink { background: var(--ink-deep); color: var(--paper-bright); }
.section-paper { background: var(--paper); color: var(--ink); }
.section-sand { background: var(--sand); color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; color: rgba(29, 47, 40, .62); font-family: var(--mono); font-size: 11px; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; display: inline-block; background: currentColor; }
.eyebrow--light { color: rgba(247, 245, 240, .65); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.04em; }
h1 em, h2 em, h3 em { color: var(--sand); font-style: normal; }
.body-copy { max-width: 380px; margin: 0 0 16px; color: rgba(29, 47, 40, .7); font-size: 17px; line-height: 2; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 20; height: 3px; background: transparent; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: var(--sand-deep); transition: width .1s linear; }

/* Header */
.site-header { position: fixed; z-index: 15; top: 0; left: 0; right: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 40px; color: var(--paper-bright); transition: padding .4s var(--ease), background .4s, color .4s; }
.site-header.is-scrolled { padding-block: 16px; background: rgba(20, 35, 30, .88); backdrop-filter: blur(14px); mix-blend-mode: normal; }
.brand-mark { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-logo { display: block; width: 58px; height: 58px; object-fit: contain; }
.brand-mark__seal { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid currentColor; border-radius: 50%; font-family: var(--display); font-size: 15px; line-height: 1; }
.brand-mark__wordmark { display: flex; flex-direction: column; gap: 0; line-height: 1; }
.brand-mark__wordmark strong { font-family: var(--display); font-size: 16px; font-weight: 500; }
.brand-mark__wordmark small, .footer-brand small { margin-top: 5px; font-family: var(--mono); font-size: 7px; letter-spacing: .13em; opacity: .62; }
.desktop-nav { display: flex; gap: 25px; align-items: center; font-size: 13px; }
.nav-link { position: relative; padding-block: 5px; opacity: .68; transition: opacity .25s, color .25s; }
.nav-link::after { position: absolute; content: ''; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { opacity: 1; }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { right: 0; }
.header-course-link { justify-self: end; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; opacity: .85; }
.header-course-link span, .text-link span, .button span { display: inline-block; transition: transform .3s var(--ease); }
.header-course-link:hover span, .text-link:hover span, .button:hover span { transform: translate(3px, -3px); }
.menu-toggle, .mobile-menu { display: none; }

/* Shared components */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 33px; min-width: 164px; padding: 14px 16px 14px 20px; border: 1px solid transparent; cursor: pointer; font-size: 13px; line-height: 1; transition: background .3s, color .3s, border .3s, transform .3s, box-shadow .3s; }
.button:active { transform: translateY(1px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--sand-deep); outline-offset: 4px; }
.button--light { background: var(--paper-bright); color: var(--ink); }
.button--light:hover { background: var(--sand); box-shadow: 0 9px 25px rgba(0, 0, 0, .16); }
.button--ghost-light { border-color: rgba(247,245,240,.5); color: var(--paper-bright); }
.button--ghost-light:hover { background: rgba(247,245,240,.12); border-color: var(--paper-bright); }
.button--dark { background: var(--ink); color: var(--paper-bright); }
.button--dark:hover { background: var(--ink-deep); box-shadow: 0 9px 25px rgba(29, 47, 40, .2); }
.button--outline-dark { border-color: var(--ink); }
.button--outline-dark:hover { background: rgba(29, 47, 40, .1); }
.text-link { display: inline-flex; align-items: center; gap: 14px; border-bottom: 1px solid rgba(29,47,40,.45); padding-bottom: 5px; font-size: 13px; }
.text-link:hover { border-color: currentColor; }
.text-link--light { border-color: rgba(247,245,240,.5); }
.photo-placeholder { position: relative; overflow: hidden; isolation: isolate; }
.placeholder-caption { position: absolute; z-index: 4; bottom: 17px; left: 18px; color: rgba(247,245,240,.72); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.photo-placeholder::after { position: absolute; inset: 0; content: ''; z-index: 3; background: linear-gradient(180deg, transparent 50%, rgba(20,35,30,.35) 100%); pointer-events: none; }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .85s var(--ease), transform .85s var(--ease); transition-delay: var(--delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.section-heading { padding-top: 145px; padding-bottom: 70px; }
.section-heading h2 { margin: 23px 0 18px; font-size: clamp(38px, 5vw, 66px); line-height: 1.24; }
.section-heading > p { max-width: 420px; margin-bottom: 0; color: rgba(29,47,40,.66); font-size: 16px; line-height: 2; }
.section-heading--split { display: flex; align-items: end; justify-content: space-between; gap: 60px; }

/* Hero */
.hero { min-height: 100svh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,35,30,.45), rgba(20,35,30,.04)), url('assets/optimized/hero-walk.jpg') center 45% / cover no-repeat; }
.hero-media__video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media__wash { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(20,35,30,.86) 0%, rgba(20,35,30,.58) 45%, rgba(20,35,30,.05) 100%), linear-gradient(0deg, rgba(20,35,30,.52), transparent 38%); }
.hero-media__grain { position: absolute; z-index: 2; inset: -50%; opacity: .16; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.hero-media__label { position: absolute; z-index: 4; top: 50%; right: 6%; display: flex; align-items: center; gap: 10px; transform: rotate(90deg) translateX(50%); transform-origin: right center; color: rgba(247,245,240,.58); font-family: var(--mono); font-size: 8px; letter-spacing: .14em; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #c58c64; box-shadow: 0 0 0 5px rgba(197,140,100,.16); animation: breathe 2.4s ease-in-out infinite; }
.hero-media__frame { position: absolute; z-index: 3; border: 1px solid rgba(247,245,240,.18); transform: rotate(-8deg); }
.hero-media__frame--one { width: 35vw; height: 29vw; right: 8%; bottom: 12%; }
.hero-media__frame--two { width: 21vw; height: 16vw; right: 23%; bottom: 24%; transform: rotate(7deg); }
.hero-media__frame--three { width: 11vw; height: 8vw; right: 14%; top: 22%; transform: rotate(18deg); }
.hero-content { padding-top: 8vh; }
.hero-content h1 { max-width: 800px; margin: 30px 0 28px; color: var(--paper-bright); font-size: clamp(50px, 7.2vw, 100px); line-height: 1.17; }
.hero-content h1 em { color: var(--sand); }
.hero-lead { margin-bottom: 20px; color: rgba(247,245,240,.72); font-family: var(--display); font-size: clamp(17px, 1.8vw, 23px); line-height: 1.8; }
.hero-lead strong { color: var(--paper-bright); font-weight: 500; letter-spacing: .1em; }
.hero-tagline { margin-bottom: 40px; color: rgba(247,245,240,.53); font-size: 13px; letter-spacing: .14em; }
.hero-tagline i, .trinity-motto i { padding-inline: 10px; color: var(--sand); font-style: normal; }
.hero-actions { display: flex; gap: 12px; }
.hero-side-note { position: absolute; right: 40px; bottom: 116px; color: rgba(247,245,240,.5); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; line-height: 1.6; writing-mode: vertical-rl; }
.scroll-cue { position: absolute; left: 50%; bottom: 33px; display: flex; align-items: center; gap: 14px; color: rgba(247,245,240,.7); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; transform: translateX(-50%); }
.scroll-cue__line { width: 55px; height: 1px; background: currentColor; }
@keyframes breathe { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }

/* Rhythm */
.rhythm { padding-bottom: 140px; }
.rhythm-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(60px, 10vw, 150px); padding-top: 145px; }
.rhythm-intro h2 { margin: 26px 0 36px; font-size: clamp(36px, 4vw, 57px); line-height: 1.38; }
.rhythm-intro h2 em { color: var(--sand-deep); }
.rhythm-visual { min-height: 540px; background: linear-gradient(180deg, rgba(29,47,40,.02), rgba(29,47,40,.17)), url('assets/optimized/rhythm-walk.jpg') center 36% / cover no-repeat; }
.placeholder-sun { position: absolute; width: 220px; height: 220px; top: 80px; right: 11%; border-radius: 50%; background: radial-gradient(circle, rgba(244,222,174,.75), rgba(225,195,143,.08) 68%, transparent 69%); filter: blur(1px); }
.placeholder-window { position: absolute; width: 46%; height: 78%; left: 11%; top: 14%; border: 7px solid rgba(247,245,240,.48); box-shadow: 0 0 0 1px rgba(29,47,40,.15); transform: perspective(500px) rotateY(-12deg); }
.placeholder-window::before, .placeholder-window::after { position: absolute; content: ''; background: rgba(247,245,240,.42); }
.placeholder-window::before { width: 1px; top: 0; bottom: 0; left: 50%; }
.placeholder-window::after { height: 1px; left: 0; right: 0; top: 52%; }
.placeholder-plant { position: absolute; bottom: -10px; right: 18%; width: 25%; height: 42%; border-radius: 50% 50% 5% 5%; background: radial-gradient(ellipse at 50% 60%, #3d5d4c 0 22%, transparent 23%), repeating-conic-gradient(from 20deg at 48% 68%, rgba(48,82,64,.9) 0 5deg, transparent 5deg 15deg); filter: blur(.2px); transform: rotate(-8deg); }
.rhythm-signals { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal-item { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 23px 20px 26px 0; border-right: 1px solid var(--line); }
.signal-item:not(:first-child) { padding-left: 20px; }
.signal-item:last-child { border: 0; }
.signal-item span { grid-row: span 2; color: var(--sand-deep); font-family: var(--mono); font-size: 10px; }
.signal-item strong { font-family: var(--display); font-size: 20px; font-weight: 500; }
.signal-item small { color: rgba(29,47,40,.58); font-size: 12px; }
.rhythm-close { padding-top: 115px; text-align: center; }
.rhythm-close p { margin-bottom: 26px; color: rgba(29,47,40,.64); font-family: var(--display); font-size: 18px; }
.rhythm-close h3 { margin-bottom: 0; font-size: clamp(31px, 4vw, 50px); line-height: 1.5; }
.rhythm-close h3 em { color: var(--sand-deep); }

/* About */
.about { padding: 150px 0 130px; }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(50px, 10vw, 145px); align-items: center; }
.about-visual { min-height: 560px; background: linear-gradient(180deg, rgba(29,47,40,.02), rgba(29,47,40,.18)), url('assets/optimized/about-table.jpg') center 52% / cover no-repeat; }
.courtyard-sky { position: absolute; inset: 0 0 45%; background: linear-gradient(180deg, #a6c2c4, #ced5c3); }
.courtyard-ground { position: absolute; inset: 49% -10% -13%; background: linear-gradient(110deg, #ae9d79, #735f45 54%, #b9aa82); transform: rotate(-6deg); }
.courtyard-tree { position: absolute; z-index: 2; width: 45%; height: 57%; bottom: 29%; background: radial-gradient(ellipse at 50% 44%, #2e5440 0 29%, transparent 30%), radial-gradient(ellipse at 20% 38%, #496c50 0 20%, transparent 21%), radial-gradient(ellipse at 78% 22%, #264636 0 22%, transparent 23%); }
.courtyard-tree--left { left: -7%; transform: rotate(-10deg); }
.courtyard-tree--right { right: -2%; bottom: 34%; transform: scale(.8) rotate(17deg); }
.about-copy h2 { margin: 27px 0 4px; color: var(--paper-bright); font-size: clamp(68px, 8vw, 114px); line-height: .93; }
.about-copy h2 em { color: var(--sand); }
.about-year { display: flex; align-items: baseline; gap: 13px; color: var(--sand); font-family: var(--mono); font-size: 18px; letter-spacing: .08em; }
.about-year span { color: rgba(247,245,240,.52); font-family: var(--sans); font-size: 12px; letter-spacing: 0; }
.about-statement { margin: 58px 0 17px; color: rgba(247,245,240,.88); font-family: var(--display); font-size: 20px; line-height: 1.95; white-space: pre-line; }
.about-note { color: var(--sand); font-size: 13px; letter-spacing: .1em; }
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 115px; border-top: 1px solid var(--white-line); }
.pillar { display: flex; flex-direction: column; min-height: 133px; padding: 25px 25px 0 0; border-right: 1px solid var(--white-line); }
.pillar + .pillar { padding-left: 25px; }
.pillar:last-child { border: 0; }
.pillar span { margin-bottom: 8px; color: var(--sand); font-family: var(--mono); font-size: 10px; }
.pillar strong { color: var(--paper-bright); font-family: var(--display); font-size: 20px; font-weight: 500; }
.pillar small { margin-top: auto; color: rgba(247,245,240,.45); font-size: 12px; }

/* Trinity */
.trinity { padding-bottom: 132px; }
.trinity-card { min-height: 500px; padding: 25px 28px 28px; color: var(--paper-bright); position: relative; overflow: hidden; }
.trinity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trinity-card--body { background: #6f8572; }
.trinity-card--heart { background: #9c7d64; }
.trinity-card--wisdom { background: #506b66; }
.trinity-card::before { position: absolute; content: ''; width: 410px; height: 410px; right: -140px; top: 56px; border: 1px solid rgba(247,245,240,.35); border-radius: 50%; }
.trinity-card::after { position: absolute; content: ''; width: 260px; height: 260px; right: -45px; top: 130px; border: 1px solid rgba(247,245,240,.22); border-radius: 50%; }
.trinity-card__top { position: relative; z-index: 2; display: flex; justify-content: space-between; color: rgba(247,245,240,.65); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.trinity-card__top span:last-child { color: var(--paper-bright); font-family: var(--display); font-size: 17px; }
.trinity-orb { position: relative; z-index: 2; display: grid; place-items: center; width: 135px; height: 135px; margin: 73px 0 50px; border: 1px solid rgba(247,245,240,.65); border-radius: 50%; font-family: var(--display); font-size: 48px; box-shadow: 0 0 0 11px rgba(247,245,240,.08), 0 0 0 22px rgba(247,245,240,.04); }
.trinity-card h3 { position: relative; z-index: 2; margin: 0 0 12px; color: var(--paper-bright); font-size: 31px; }
.trinity-card p { position: relative; z-index: 2; margin-bottom: 34px; color: rgba(247,245,240,.74); font-size: 13px; line-height: 1.9; }
.trinity-card__mark { position: absolute; z-index: 2; bottom: 28px; left: 28px; color: rgba(247,245,240,.66); font-size: 12px; }
.trinity-quote { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 85px; }
.trinity-quote p { margin: 0; text-align: center; color: var(--ink); font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.9; white-space: pre-line; }
.quote-line { width: 65px; height: 1px; background: var(--sand-deep); }
.trinity-motto { margin: 55px auto 0; color: rgba(29,47,40,.54); font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-align: center; }

/* Path */
.path { padding-bottom: 140px; }
.path-list { display: flex; flex-direction: column; gap: 12px; }
.path-card { display: grid; grid-template-columns: 120px 1fr auto; gap: 35px; align-items: center; min-height: 220px; padding: 30px 35px 30px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease), background .4s, border-color .4s; }
.path-card:last-child { border-bottom: 1px solid var(--line); }
.path-card:hover { padding-left: 26px; background: rgba(247,245,240,.25); border-color: transparent; }
.path-card__number { align-self: start; padding-top: 5px; color: rgba(29,47,40,.45); font-family: var(--mono); font-size: 14px; }
.path-card__content .eyebrow { margin-bottom: 15px; }
.path-card__content h3 { margin-bottom: 10px; font-size: 30px; }
.path-card__content > p:not(.eyebrow) { max-width: 530px; margin-bottom: 15px; color: rgba(29,47,40,.66); font-size: 14px; }
.path-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.path-card__tags span { padding: 4px 10px; border: 1px solid rgba(29,47,40,.25); color: rgba(29,47,40,.66); font-size: 11px; }
.round-arrow { display: grid; place-items: center; width: 47px; height: 47px; border: 1px solid rgba(29,47,40,.36); border-radius: 50%; font-size: 16px; transition: background .3s, color .3s, transform .3s; }
.round-arrow:hover { background: var(--ink); color: var(--paper-bright); transform: rotate(8deg); }

/* Heart house */
.heart-house { position: relative; overflow: hidden; padding: 150px 0 37px; }
.house-background { position: absolute; inset: 0; background: radial-gradient(circle at 80% 12%, rgba(113,136,111,.44), transparent 28%), linear-gradient(135deg, #162b23, #1d3b30 55%, #304d3f); }
.house-background::before { position: absolute; content: ''; inset: 0; opacity: .15; background-image: linear-gradient(110deg, transparent 0 47%, rgba(247,245,240,.4) 47.2%, transparent 47.6%), linear-gradient(75deg, transparent 0 60%, rgba(247,245,240,.28) 60.3%, transparent 60.6%); }
.house-background span { position: absolute; border: 1px solid rgba(247,245,240,.16); border-radius: 50%; }
.house-background span:nth-child(1) { width: 570px; height: 570px; right: -140px; top: -230px; }
.house-background span:nth-child(2) { width: 360px; height: 360px; right: -35px; top: -120px; }
.house-background span:nth-child(3) { width: 200px; height: 200px; right: 45px; top: -40px; }
.house-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: clamp(60px, 12vw, 180px); }
.house-copy h2 { margin: 27px 0 35px; color: var(--paper-bright); font-size: clamp(70px, 8vw, 112px); line-height: .94; }
.house-copy h2 em { color: var(--sand); }
.house-lead { margin-bottom: 25px; color: var(--paper-bright); font-family: var(--display); font-size: 23px; line-height: 1.8; white-space: pre-line; }
.house-body { max-width: 340px; margin-bottom: 40px; color: rgba(247,245,240,.6); font-size: 16px; line-height: 2; }
.house-visual { min-height: 550px; background: linear-gradient(180deg, rgba(20,35,30,.04), rgba(20,35,30,.28)), url('assets/optimized/house-dialogue.jpg') center 46% / cover no-repeat; }
.path-mist { position: absolute; border-radius: 50%; background: rgba(205,218,196,.28); filter: blur(14px); }
.path-mist--one { width: 80%; height: 32%; left: -12%; bottom: 4%; transform: rotate(-11deg); }
.path-mist--two { width: 67%; height: 21%; right: -8%; top: 28%; transform: rotate(14deg); }
.path-lantern { position: absolute; z-index: 2; bottom: 22%; left: 50%; width: 44px; height: 120px; border-radius: 48% 48% 10% 10%; background: linear-gradient(90deg, rgba(196,143,87,.3), #d3a96b 48%, rgba(196,143,87,.35)); box-shadow: 0 0 80px 18px rgba(223,174,103,.3); transform: translateX(-50%); }
.path-lantern::after { position: absolute; content: ''; left: -70px; right: -70px; bottom: -2px; height: 1px; background: rgba(247,245,240,.35); }
.house-footer { display: flex; justify-content: space-between; margin-top: 115px; padding-top: 21px; border-top: 1px solid var(--white-line); color: rgba(247,245,240,.48); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }

/* Stories */
.stories { padding-bottom: 145px; }
.stories-grid { display: grid; grid-template-columns: 1.25fr .875fr .875fr; gap: 15px; }
.story-card { border: 1px solid rgba(29,47,40,.14); background: var(--paper-bright); transition: transform .4s var(--ease), box-shadow .4s; }
.story-card:hover { transform: translateY(-7px); box-shadow: 0 20px 42px rgba(29,47,40,.1); }
.story-card__image { min-height: 240px; display: flex; flex-direction: column; justify-content: end; padding: 22px; color: rgba(247,245,240,.85); }
.story-card--large .story-card__image { min-height: 315px; }
.story-card__image > span, .story-card__image > small { position: relative; z-index: 5; }
.story-card__image > span { font-family: var(--display); font-size: 17px; }
.story-card__image > small { font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.photo-placeholder--tea { background: linear-gradient(180deg, rgba(20,35,30,.02), rgba(20,35,30,.26)), url('assets/optimized/story-practice.jpg') center 37% / cover no-repeat; }
.photo-placeholder--walk { background: linear-gradient(180deg, rgba(20,35,30,.02), rgba(20,35,30,.26)), url('assets/optimized/story-walk.jpg') center 45% / cover no-repeat; }
.photo-placeholder--light { background: linear-gradient(180deg, rgba(20,35,30,.02), rgba(20,35,30,.26)), url('assets/optimized/story-table.jpg') center 52% / cover no-repeat; }
.photo-placeholder--tea::before, .photo-placeholder--walk::before, .photo-placeholder--light::before { content: none; }
.story-card__body { min-height: 190px; padding: 23px 24px 25px; }
.story-index { color: var(--sand-deep); font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.story-card h3 { margin: 14px 0 5px; font-size: 22px; }
.story-card__body p { margin-bottom: 21px; color: rgba(29,47,40,.58); font-size: 15px; line-height: 1.8; }

/* Mentor */
.mentor { padding: 145px 0 155px; }
.mentor-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(70px, 12vw, 180px); }
.mentor-visual { min-height: 630px; background: linear-gradient(180deg, rgba(20,35,30,.04), rgba(20,35,30,.25)), url('assets/optimized/mentor-garden.jpg') center 36% / cover no-repeat; }
.portrait-glow { position: absolute; width: 70%; height: 80%; top: 7%; left: 14%; border-radius: 50%; background: radial-gradient(ellipse, rgba(218,205,165,.7), rgba(218,205,165,.06) 60%, transparent 61%); filter: blur(10px); }
.portrait-silhouette { position: absolute; z-index: 2; bottom: -5%; left: 31%; width: 38%; height: 77%; border-radius: 48% 48% 0 0; background: linear-gradient(110deg, rgba(23,52,41,.7), rgba(58,78,61,.75) 42%, rgba(26,49,40,.92)); filter: blur(.2px); }
.portrait-silhouette::before { position: absolute; content: ''; width: 40%; aspect-ratio: 1; top: -21%; left: 30%; border-radius: 50%; background: #4c6356; }
.portrait-silhouette::after { position: absolute; content: ''; top: 10%; left: 20%; width: 60%; height: 1px; background: rgba(247,245,240,.23); transform: rotate(-20deg); }
.mentor-copy h2 { margin: 27px 0 28px; color: var(--paper-bright); font-size: clamp(68px, 8vw, 112px); line-height: .94; }
.mentor-copy h2 em { color: var(--sand); }
.mentor-role { margin-bottom: 46px; color: var(--sand); font-family: var(--display); font-size: 19px; line-height: 1.8; white-space: pre-line; }
.mentor-quote { margin-bottom: 23px; color: var(--paper-bright); font-family: var(--display); font-size: 23px; line-height: 1.9; white-space: pre-line; }
.mentor-note { max-width: 330px; margin-bottom: 38px; color: rgba(247,245,240,.48); font-size: 12px; line-height: 1.9; }

/* Invite/footer */
.invite { position: relative; overflow: hidden; padding: 160px 0 150px; text-align: center; }
.invite-content { position: relative; }
.invite .eyebrow { justify-content: center; }
.invite h2 { margin: 28px 0 25px; font-size: clamp(43px, 6vw, 78px); line-height: 1.35; }
.invite h2 em { color: var(--sand-deep); }
.invite-content > p:not(.eyebrow):not(.invite-motto) { margin-bottom: 37px; color: rgba(29,47,40,.65); font-family: var(--display); font-size: 17px; line-height: 2; white-space: pre-line; }
.invite-actions { display: flex; justify-content: center; gap: 12px; }
.invite-motto { margin: 80px 0 0; color: rgba(29,47,40,.45); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; }
.invite-orbit { position: absolute; border: 1px solid rgba(29,47,40,.14); border-radius: 50%; pointer-events: none; }
.invite-orbit--one { width: 760px; height: 760px; top: -345px; left: calc(50% - 380px); }
.invite-orbit--two { width: 1060px; height: 1060px; top: -490px; left: calc(50% - 530px); border-color: rgba(29,47,40,.08); }
.site-footer { padding: 60px 0 23px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: start; padding-bottom: 72px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { display: block; width: 92px; height: 92px; object-fit: contain; }
.footer-brand > div { display: flex; flex-direction: column; line-height: 1; }
.footer-brand strong { font-family: var(--display); font-size: 17px; font-weight: 500; }
.footer-top > p { color: rgba(247,245,240,.65); font-family: var(--display); font-size: 14px; line-height: 1.9; }
.footer-links { display: flex; flex-direction: column; gap: 9px; justify-self: end; color: rgba(247,245,240,.55); font-size: 12px; }
.footer-links a:hover { color: var(--paper-bright); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid var(--white-line); color: rgba(247,245,240,.38); font-family: var(--mono); font-size: 9px; letter-spacing: .05em; }
.toast { position: fixed; z-index: 30; left: 50%; bottom: 28px; max-width: calc(100vw - 40px); padding: 12px 18px; border: 1px solid rgba(247,245,240,.2); background: rgba(20,35,30,.94); color: var(--paper-bright); font-size: 13px; box-shadow: 0 12px 35px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s, transform .3s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Ask Xingxue assistant */
.assistant-widget { position: fixed; z-index: 25; right: 28px; bottom: 28px; }
.assistant-trigger { display: inline-flex; align-items: center; gap: 9px; padding: 12px 16px; border: 1px solid rgba(247,245,240,.25); border-radius: 999px; background: rgba(20,35,30,.93); color: var(--paper-bright); cursor: pointer; font-size: 12px; box-shadow: 0 12px 30px rgba(20,35,30,.2); backdrop-filter: blur(12px); transition: background .3s, transform .3s, box-shadow .3s; }
.assistant-trigger:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(20,35,30,.28); }
.assistant-trigger__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 5px rgba(217,201,172,.15); }
.assistant-panel { position: absolute; right: 0; bottom: 56px; width: min(390px, calc(100vw - 40px)); max-height: min(720px, calc(100svh - 116px)); overflow-y: auto; padding: 21px; background: var(--paper-bright); color: var(--ink); border: 1px solid rgba(29,47,40,.16); box-shadow: 0 20px 55px rgba(20,35,30,.2); }
.assistant-panel[hidden] { display: none; }
.assistant-panel__head { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.assistant-kicker { color: var(--sand-deep); font-family: var(--mono); font-size: 8px; letter-spacing: .11em; }
.assistant-panel h2 { margin: 6px 0 0; font-size: 29px; }
.assistant-close { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 19px; line-height: 1; transition: background .25s, color .25s; }
.assistant-close:hover { background: var(--ink); color: var(--paper-bright); }
.assistant-intro { margin: 18px 0 13px; color: rgba(29,47,40,.62); font-size: 13px; line-height: 1.8; }
.assistant-direct { display: grid; grid-template-columns: 118px 1fr; gap: 16px; align-items: center; padding: 13px; border: 1px solid rgba(29,47,40,.16); background: #fff; }
.assistant-direct__qr { display: grid; place-items: center; width: 118px; height: 118px; }
.assistant-direct__qr img { display: block; width: 100%; height: 100%; object-fit: contain; }
.assistant-direct__body { min-width: 0; }
.assistant-direct__label { display: block; margin-bottom: 9px; color: var(--sand-deep); font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }
.assistant-direct__body strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 500; }
.assistant-direct__body p { margin: 8px 0 14px; color: rgba(29,47,40,.58); font-size: 12px; line-height: 1.7; }
.assistant-direct__body a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; }
.assistant-direct__body a span { transition: transform .25s; }
.assistant-direct__body a:hover span { transform: translate(3px, -3px); }
.assistant-section-label { margin: 18px 0 9px; color: rgba(29,47,40,.48); font-family: var(--mono); font-size: 9px; letter-spacing: .08em; }
.assistant-options { display: grid; gap: 8px; }
.assistant-options button { display: flex; justify-content: space-between; align-items: center; padding: 12px 13px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; text-align: left; font-size: 13px; transition: background .25s, color .25s, border .25s; }
.assistant-options button:hover, .assistant-options button.is-selected { border-color: var(--ink); background: var(--ink); color: var(--paper-bright); }
.assistant-options button span, .assistant-contact span { transition: transform .25s; }
.assistant-options button:hover span, .assistant-contact:hover span { transform: translate(3px, -3px); }
.assistant-answer { margin-top: 12px; padding: 13px; border-left: 2px solid var(--sand-deep); background: rgba(217,201,172,.2); color: rgba(29,47,40,.78); font-size: 13px; line-height: 1.9; }
.assistant-answer[hidden] { display: none; }
.assistant-contact { display: flex; justify-content: space-between; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); font-size: 12px; }

@media (max-width: 640px) {
  .assistant-widget { right: 18px; bottom: 18px; }
  .assistant-trigger { padding: 11px 14px; }
  .assistant-panel { right: -2px; bottom: 53px; padding: 18px; }
  .assistant-direct { grid-template-columns: 96px 1fr; gap: 12px; padding: 11px; }
  .assistant-direct__qr { width: 96px; height: 96px; }
  .assistant-direct__body strong { font-size: 18px; }
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 56px, 700px); }
  .site-header { grid-template-columns: 1fr auto; padding: 16px 28px; }
  .desktop-nav, .header-course-link { display: none; }
  .menu-toggle { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 5px; align-items: end; padding: 8px 0 8px 8px; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .3s, opacity .3s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 15px; padding: 100px 28px 50px; background: var(--ink-deep); color: var(--paper-bright); opacity: 0; pointer-events: none; transform: translateY(-15px); transition: opacity .3s, transform .3s; }
  .mobile-menu.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .mobile-menu a { padding: 8px 0; border-bottom: 1px solid var(--white-line); font-family: var(--display); font-size: 23px; }
  .hero-content h1 { font-size: clamp(48px, 9vw, 82px); }
  .hero-side-note { display: none; }
  .rhythm-grid, .about-grid, .house-grid, .mentor-grid { gap: 55px; }
  .about-grid, .house-grid, .mentor-grid { grid-template-columns: 1fr 1fr; }
  .about-visual, .mentor-visual, .house-visual { min-height: 480px; }
  .trinity-card { min-height: 450px; padding-inline: 20px; }
  .trinity-orb { width: 110px; height: 110px; margin-top: 60px; }
  .trinity-card__mark { left: 20px; }
  .path-card { grid-template-columns: 70px 1fr auto; gap: 18px; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 40px); }
  body { font-size: 17px; }
  .site-header { padding: 12px 20px; }
  .site-header.is-scrolled { padding-block: 13px; }
  .brand-mark__wordmark small { font-size: 6px; }
  .brand-logo { width: 45px; height: 45px; }
  .hero { min-height: 760px; }
  .hero-media { background: radial-gradient(circle at 75% 32%, rgba(173,181,155,.95) 0 7%, transparent 32%), linear-gradient(110deg, #13251f 6%, #2b4439 52%, #81917b 120%); }
  .hero-media__wash { background: linear-gradient(90deg, rgba(20,35,30,.9) 0%, rgba(20,35,30,.58) 72%, rgba(20,35,30,.08) 100%), linear-gradient(0deg, rgba(20,35,30,.7), transparent 50%); }
  .hero-media__label { right: -22px; top: 38%; }
  .hero-media__frame--one { width: 78vw; height: 62vw; right: -12%; bottom: 15%; }
  .hero-media__frame--two { width: 46vw; height: 35vw; right: 22%; bottom: 28%; }
  .hero-media__frame--three { width: 28vw; height: 21vw; right: 13%; top: 22%; }
  .hero-content { padding-top: 13vh; }
  .hero-content h1 { margin: 25px 0 23px; font-size: clamp(43px, 12vw, 70px); line-height: 1.28; }
  .hero-lead { font-size: 17px; }
  .hero-tagline { margin-bottom: 30px; font-size: 11px; letter-spacing: .08em; }
  .hero-actions { flex-direction: column; width: max-content; }
  .button { min-width: 178px; padding-block: 15px; }
  .scroll-cue { bottom: 25px; }
  .section-heading, .rhythm-grid { padding-top: 94px; }
  .section-heading { padding-bottom: 47px; }
  .section-heading--split, .rhythm-grid { display: flex; flex-direction: column; align-items: stretch; gap: 35px; }
  .section-heading h2 { font-size: 39px; }
  .section-heading--split > p { max-width: 100%; }
  .rhythm { padding-bottom: 90px; }
  .rhythm-intro h2 { margin: 22px 0 27px; font-size: 34px; }
  .rhythm-visual { min-height: 350px; }
  .placeholder-sun { width: 150px; height: 150px; top: 55px; }
  .rhythm-signals { grid-template-columns: repeat(2, 1fr); margin-top: 63px; }
  .signal-item { min-height: 100px; padding: 18px 12px 17px 0; }
  .signal-item:nth-child(2) { border-right: 0; }
  .signal-item:nth-child(3), .signal-item:nth-child(4) { border-top: 1px solid var(--line); }
  .signal-item:not(:first-child) { padding-left: 0; }
  .signal-item:nth-child(even) { padding-left: 15px; }
  .signal-item strong { font-size: 18px; }
  .rhythm-close { padding-top: 80px; }
  .rhythm-close p { font-size: 16px; }
  .rhythm-close h3 { font-size: 29px; }
  .about, .mentor { padding: 93px 0 90px; }
  .about-grid, .house-grid, .mentor-grid { display: flex; flex-direction: column; align-items: stretch; gap: 45px; }
  .about-visual, .house-visual, .mentor-visual { min-height: 390px; }
  .about-copy h2, .house-copy h2, .mentor-copy h2 { margin-top: 22px; font-size: 78px; }
  .about-statement { margin-top: 37px; font-size: 18px; }
  .about-pillars { grid-template-columns: 1fr; margin-top: 70px; }
  .pillar, .pillar + .pillar { min-height: 105px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--white-line); }
  .pillar:last-child { border-bottom: 0; }
  .pillar small { margin-top: 4px; }
  .trinity { padding-bottom: 90px; }
  .trinity-grid { grid-template-columns: 1fr; gap: 10px; }
  .trinity-card { min-height: 375px; }
  .trinity-orb { margin: 48px 0 37px; }
  .trinity-quote { margin-top: 60px; gap: 13px; }
  .quote-line { width: 24px; }
  .trinity-quote p { font-size: 18px; }
  .trinity-motto { margin-top: 42px; font-size: 9px; letter-spacing: .08em; }
  .path { padding-bottom: 90px; }
  .path-list { gap: 0; }
  .path-card { grid-template-columns: 40px 1fr; gap: 13px; padding: 28px 0; }
  .path-card:hover { padding-left: 0; background: transparent; }
  .path-card__content h3 { font-size: 25px; }
  .path-card__content > p:not(.eyebrow) { font-size: 14px; }
  .path-card .round-arrow { grid-column: 2; width: 41px; height: 41px; margin-top: -5px; }
  .heart-house { padding: 93px 0 27px; }
  .house-copy h2 { margin-bottom: 27px; }
  .house-lead { font-size: 20px; }
  .house-body { font-size: 15px; }
  .house-footer { flex-direction: column; gap: 8px; margin-top: 75px; line-height: 1.5; }
  .stories { padding-bottom: 90px; }
  .stories-grid { grid-template-columns: 1fr; gap: 14px; }
  .story-card--large .story-card__image, .story-card__image { min-height: 280px; }
  .story-card__body { min-height: auto; }
  .mentor-role { margin-bottom: 34px; font-size: 17px; }
  .mentor-quote { font-size: 21px; }
  .invite { padding: 100px 0 93px; }
  .invite h2 { font-size: 41px; }
  .invite-content > p:not(.eyebrow):not(.invite-motto) { font-size: 15px; }
  .invite-actions { flex-direction: column; align-items: center; }
  .invite-motto { margin-top: 57px; font-size: 9px; letter-spacing: .06em; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 38px 20px; padding-bottom: 45px; }
  .footer-top > p { grid-column: 1 / -1; grid-row: 2; }
  .footer-links { grid-column: 2; grid-row: 1; }
  .footer-bottom { flex-direction: column; gap: 7px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Readability pass: the smallest supporting text is two pixels larger for easier reading. */
.eyebrow { font-size: 13px; }
.brand-mark__wordmark small, .footer-brand small { font-size: 9px; }
.header-course-link { font-size: 13px; }
.placeholder-caption { font-size: 11px; }
.hero-media__label { font-size: 10px; }
.hero-side-note { font-size: 11px; }
.scroll-cue { font-size: 12px; }
.signal-item span { font-size: 12px; }
.signal-item small { font-size: 14px; }
.about-year span { font-size: 14px; }
.pillar span { font-size: 12px; }
.pillar small { font-size: 14px; }
.trinity-card__top { font-size: 11px; }
.trinity-card__mark { font-size: 14px; }
.trinity-motto { font-size: 14px; }
.path-card__tags span { font-size: 13px; }
.house-footer { font-size: 11px; }
.story-card__image > small { font-size: 10px; }
.story-index { font-size: 12px; }
.mentor-note { font-size: 14px; }
.invite-motto { font-size: 13px; }
.footer-links { font-size: 14px; }
.footer-bottom { font-size: 11px; }
.assistant-trigger { font-size: 14px; }
.assistant-kicker, .assistant-direct__label { font-size: 10px; }
.assistant-direct__body p, .assistant-direct__body a, .assistant-contact { font-size: 14px; }
.assistant-section-label { font-size: 11px; }

@media (max-width: 640px) {
  .hero-tagline { font-size: 13px; }
  .trinity-motto, .invite-motto { font-size: 11px; }
}
