@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:var(--modus-c-111310,#111310);--panel:var(--modus-c-1a1d18,#1a1d18);--line:var(--modus-b-30372a,#30372a);--ink:var(--modus-c-f0f0e6,#f0f0e6);--muted:var(--modus-c-a5ad9a,#a5ad9a);--accent:var(--modus-c-d7f48c,#d7f48c)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--bg);font:14px 'DM Sans',sans-serif;color:var(--ink)}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid var(--accent);outline-offset:6px}header,main,footer{max-width:1440px;margin:auto}.site-header{height:90px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:inline-flex;align-items:center;gap:10px;font:800 23px Manrope,sans-serif;letter-spacing:2px}.brandmark{font:italic 44px Manrope,sans-serif;color:var(--accent);letter-spacing:-8px;transform:rotate(-12deg);margin-right:6px}.branddot{color:var(--accent);margin-left:-9px}nav{display:flex;gap:30px;align-items:center;font-size:12px;color:var(--muted)}nav a:hover,footer>a:last-child:hover{color:var(--accent)}.nav-cta{color:var(--ink);border:1px solid var(--modus-b-546244,#546244);padding:12px 17px;border-radius:6px}.nav-cta span{margin-left:12px;color:var(--accent)}.hero{position:relative;min-height:610px;display:flex;align-items:center;padding:65px 5% 100px;isolation:isolate;overflow:hidden}.landscape{position:absolute;inset:0 0 0 23%;z-index:-1;-webkit-mask-image:linear-gradient(to right,transparent,var(--modus-c-000,#000) 35%);mask-image:linear-gradient(to right,transparent,var(--modus-c-000,#000) 35%)}.landscape img{width:100%;height:100%;object-fit:cover;object-position:center 45%;display:block}.landscape::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,var(--modus-c-111310,#111310) 0%,rgba(17,19,16,.3) 35%,rgba(17,19,16,.05) 75%,rgba(17,19,16,.3) 100%),linear-gradient(0deg,var(--modus-c-111310,#111310),transparent 32%,transparent 83%,rgba(17,19,16,.5))}.hero-content{max-width:660px}.eyebrow{font-size:10px;font-weight:500;letter-spacing:2.4px;color:var(--accent);margin:0 0 25px}h1{font-family:Manrope,sans-serif;font-size:clamp(45px,5.5vw,76px);font-weight:500;letter-spacing:-3.7px;line-height:1.13;margin:0 0 26px}h1 em,h2 em{font-family:Georgia,serif;color:var(--accent);font-weight:400}.hero-copy{font-size:15px;line-height:1.9;max-width:430px;color:var(--modus-c-c4cbb9,#c4cbb9);margin:0 0 28px}.button{display:inline-flex;align-items:center;gap:35px;background:var(--accent);color:var(--modus-c-1a2510,#1a2510);border-radius:7px;font-size:13px;font-weight:700;padding:11px 23px;min-height:40px;line-height:1.5;transition:background .15s,transform .15s}.button:hover{background:var(--modus-c-e7ffb4,#e7ffb4);transform:translateY(-2px)}.button span{font-size:20px;font-weight:400;line-height:1}.hero-note{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:10px;margin-top:18px}.hero-note>span{height:5px;width:5px;background:var(--accent);border-radius:50%}.hero-caption{position:absolute;right:6%;bottom:92px;font-size:10px;line-height:1.7;letter-spacing:2px;color:var(--modus-c-e0f6bd,#e0f6bd);text-shadow:0 1px 12px var(--modus-c-111310,#111310)}.scroll-link{position:absolute;bottom:28px;font-size:9px;letter-spacing:1.5px;color:var(--muted)}.scroll-link span{margin-left:18px;color:var(--accent)}.tool-section{padding:26px 5% 0}.section-intro{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:30px 0}.section-intro .eyebrow{margin:0;font-size:9px}.section-intro>p:last-child{margin:0;font:italic 17px Georgia,serif;color:var(--muted)}.tool{display:grid;grid-template-columns:1fr 1.05fr;gap:50px;border:1px solid var(--modus-b-3a4530,#3a4530);border-radius:16px;background:linear-gradient(115deg,var(--modus-c-20271b,#20271b),var(--modus-c-181e16,#181e16));padding:42px;align-items:center}.tool-label{display:flex;gap:7px;align-items:center;font-size:9px;letter-spacing:1.5px;color:var(--muted);margin-bottom:22px}.tool-label>span{height:5px;width:5px;background:var(--accent);border-radius:50%}h2{font:500 37px/1.22 Manrope,sans-serif;letter-spacing:-1.4px;margin:0 0 18px}h2 em{font-size:35px}.tool-copy>p{max-width:360px;line-height:1.85;color:var(--muted);font-size:13px}.capabilities{list-style:none;margin:22px 0 28px;padding:0;color:var(--modus-c-cbd5bf,#cbd5bf);font-size:12px;line-height:2.2}.capabilities li::before{content:'↗';display:inline-block;margin-right:12px;color:var(--accent)}.jam-preview{margin:0;padding:24px;background:var(--modus-c-11170f,#11170f);border:1px solid var(--modus-b-46533a,#46533a);border-radius:12px;box-shadow:0 15px 45px var(--modus-c-0a100b40,#0a100b40)}figcaption{display:flex;justify-content:space-between;color:var(--modus-c-a2b091,#a2b091);font-size:8px;letter-spacing:1px;gap:12px;margin-bottom:23px}.preview-chords{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.preview-chords>div{display:flex;flex-direction:column;border:1px solid var(--modus-b-3a4730,#3a4730);border-radius:7px;background:var(--modus-c-1c2618,#1c2618);padding:15px 10px}.preview-chords .active{border-color:var(--accent);background:var(--modus-c-314026,#314026)}.preview-chords small{color:var(--modus-c-96a789,#96a789);font-size:9px}.preview-chords strong{font:500 clamp(17px,1.7vw,24px) Manrope,sans-serif;letter-spacing:-1px;margin:22px 0 14px}.preview-chords div>span{color:var(--accent);font:14px Georgia,serif}.preview-scale{display:flex;gap:9px;padding:25px 0;border-bottom:1px solid var(--modus-b-303d27,#303d27)}.preview-scale>span{display:flex;align-items:center;justify-content:center;width:31px;height:31px;font-size:12px;color:var(--modus-c-d8e7c9,#d8e7c9);background:var(--modus-c-24321c,#24321c);border:1px solid var(--modus-b-526640,#526640);border-radius:50%}.preview-scale>span:first-child{background:var(--accent);color:var(--modus-c-17260d,#17260d);border-color:var(--accent)}.preview-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:8px;color:var(--modus-c-9aad89,#9aad89);letter-spacing:.5px;padding-top:20px}.beat-dots{display:flex;gap:5px}.beat-dots i{height:5px;width:5px;border-radius:50%;background:var(--modus-c-4b5d3c,#4b5d3c)}.beat-dots i:first-child{background:var(--accent)}.closing{padding:62px 5%;text-align:center}.closing p{margin:0;font:italic 25px/1.5 Georgia,serif;color:var(--modus-c-c6d0b9,#c6d0b9)}.closing p+p{color:var(--modus-c-88967b,#88967b);font-size:20px}footer{padding:25px 5% 30px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px}.footer-brand{font-size:16px;gap:8px}footer>a:last-child{font-size:11px}@media(max-width:1050px){.hero{min-height:560px}.tool{gap:28px;padding:30px}.jam-preview{padding:18px}.preview-chords{gap:5px}.preview-chords>div{padding:13px 7px}.preview-chords strong{font-size:19px}h2{font-size:32px}h2 em{font-size:30px}}@media(max-width:700px){.site-header{height:75px;padding:0 20px}.brand{font-size:20px}.brandmark{font-size:38px}nav{gap:12px;font-size:11px}nav>a:first-child{display:none}.nav-cta{padding:10px}.nav-cta span{margin-left:4px}.hero{min-height:610px;padding:65px 22px 100px;align-items:flex-start}.landscape{inset:90px 0 0 0;mask-image:linear-gradient(to bottom,transparent,var(--modus-c-000,#000) 20%);-webkit-mask-image:linear-gradient(to bottom,transparent,var(--modus-c-000,#000) 20%)}.landscape img{object-position:65% center}.landscape::after{background:linear-gradient(90deg,rgba(17,19,16,.8),rgba(17,19,16,.15)),linear-gradient(0deg,var(--modus-c-111310,#111310),transparent 40%,rgba(17,19,16,.5))}.hero-content{width:100%}h1{font-size:48px;letter-spacing:-2.7px}.hero .eyebrow{font-size:9px;letter-spacing:2px;margin-bottom:22px}.hero-copy{font-size:13px;max-width:285px;margin-bottom:25px}.hero-note{font-size:9px;max-width:250px;line-height:1.8}.hero-caption{right:20px;bottom:85px;font-size:8px}.scroll-link{bottom:30px}.tool-section{padding:0 20px}.section-intro{padding:22px 0;gap:20px;align-items:flex-start}.section-intro .eyebrow{font-size:8px;letter-spacing:1px}.section-intro>p:last-child{font-size:13px;text-align:right}.tool{grid-template-columns:1fr;gap:30px;padding:25px 20px}.tool-copy>p{max-width:none}.jam-preview{padding:17px}.preview-chords strong{font-size:19px}.preview-scale{gap:8px}.preview-scale>span{width:29px;height:29px}.preview-bottom{font-size:7px;letter-spacing:0}.closing{padding:45px 20px}.closing p{font-size:23px}.closing p+p{font-size:18px}footer{padding:23px 20px;flex-wrap:wrap;font-size:10px}footer>span{order:3;width:100%;font-size:10px}.button{padding:10px 20px;min-height:44px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}.button:hover{transform:none}}

.theory-entry{margin:24px 5% 0;padding:35px 38px;border:1px solid var(--modus-b-465638,#465638);border-radius:13px;background:var(--modus-c-1a2315,#1a2315);display:flex;justify-content:space-between;align-items:center;gap:30px}.theory-entry .eyebrow{margin-bottom:16px}.theory-entry h2{font-size:30px}.theory-entry h2 em{font-size:29px}.theory-entry p:last-child{max-width:550px;font-size:13px;line-height:1.8;color:var(--modus-c-a9bb98,#a9bb98);margin-bottom:0}.theory-entry .button{white-space:nowrap}@media(max-width:700px){.theory-entry{margin:20px 20px 0;padding:25px 20px;flex-direction:column;align-items:flex-start;gap:23px}.theory-entry h2,.theory-entry h2 em{font-size:28px}.site-header nav>a[href="teori.html"]{display:inline}}

.home-learning-link{display:block;color:var(--modus-c-cce7aa,#cce7aa);font-size:12px;margin-top:18px;line-height:1.8;max-width:390px}.home-learning-link:hover{color:var(--accent)}@media(max-width:700px){.home-learning-link{font-size:11px;max-width:265px}.hero{min-height:660px}}

.hero .rameau-quote{font-size:clamp(25px,2.6vw,34px);line-height:1.35;letter-spacing:-.8px;margin-bottom:11px;max-width:660px}.quote-translation{font-size:13px;line-height:1.8;color:var(--modus-c-c4cbb9,#c4cbb9);margin:0 0 13px}.quote-credit{font-size:9px;letter-spacing:1px;color:var(--modus-c-a8ba96,#a8ba96);margin:0 0 26px}.quote-credit span{color:var(--modus-c-d7f48c,#d7f48c);margin:0 4px}.quote-credit a:hover{color:var(--modus-c-d7f48c,#d7f48c)}.hero .quote-explanation{font-size:13px;max-width:410px;line-height:1.9;margin-bottom:25px}@media(max-width:700px){.hero .rameau-quote{font-size:clamp(23px,6vw,28px);letter-spacing:-.5px;margin-bottom:10px;max-width:380px}.quote-translation{font-size:12px;margin-bottom:12px}.quote-credit{font-size:9px;letter-spacing:.7px;margin-bottom:24px}.hero .quote-explanation{font-size:12px;max-width:290px}.hero:has(.rameau-quote){min-height:610px}}

.tool>*,.preview-chords>div{min-width:0}.tool h2{overflow-wrap:anywhere}.preview-chords{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:380px){.tool h2{font-size:28px}.jam-preview{padding:12px}}

.theory-entry .button{max-width:100%;white-space:normal}

/* Consistent, medium-weight CTA arrows, independent of the text font. */
.hero-actions .hero-action-arrow{width:24px;height:24px;flex:none;display:block}
/* Two clear starting points, with the guided path first. */
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;max-width:520px}
.hero-actions .button{min-height:44px;justify-content:space-between;gap:18px;padding:11px 17px;font-size:13px}
.hero-actions .button-secondary{background:var(--modus-c-1a1d18,#1a1d18);color:var(--modus-c-f0f0e6,#f0f0e6);border:1px solid var(--modus-b-718b52,#718b52)}
.hero-route-note{max-width:440px;font-size:12px;line-height:1.8;color:var(--muted);margin:16px 0 0}
html[data-theme=contrast] .hero-actions .button-secondary{background:#fff;color:#000;border:2px solid #000}
@media(max-width:520px){.hero-actions{flex-direction:column;align-items:stretch;max-width:320px}.hero-actions .button{width:100%}.hero-route-note{max-width:320px}}

/* MODUS home: restrained, subject-specific visual signatures. */
.theory-entry{position:relative;isolation:isolate;overflow:hidden;min-height:190px}
.theory-entry>div,.theory-entry>.button{position:relative;z-index:1}
.theory-entry>div{max-width:57%}
.theory-entry>.entry-art{position:absolute;right:clamp(200px,23%,300px);top:50%;transform:translateY(-50%);width:clamp(125px,15vw,180px);height:auto;color:var(--accent);opacity:.66;pointer-events:none;z-index:0}
.theory-entry>.entry-art-plus{opacity:.55;filter:drop-shadow(0 0 13px rgba(196,238,112,.12))}
@media(max-width:950px){.theory-entry>div{max-width:60%}.theory-entry>.entry-art{right:170px;width:125px;opacity:.36}}
@media(max-width:700px){.theory-entry{min-height:0}.theory-entry>div{max-width:100%}.theory-entry>.entry-art{top:30px;right:15px;transform:none;width:85px;opacity:.17}.theory-entry>.entry-art-plus{opacity:.18}}

/* Four featured areas in one desktop row; responsive 2-column tablet and 1-column mobile. */
.home-feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 5% 0;align-items:stretch}
.home-feature-grid>.theory-entry{margin:0;min-width:0;min-height:335px;padding:24px 20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:20px}
.home-feature-grid>.theory-entry>div{max-width:100%;width:100%}
.home-feature-grid>.theory-entry .eyebrow{font-size:10px;letter-spacing:.9px}
.home-feature-grid>.theory-entry h2,.home-feature-grid>.theory-entry h2 em{font-size:clamp(19px,1.75vw,25px);line-height:1.22;overflow-wrap:break-word}
.home-feature-grid>.theory-entry p:last-child{max-width:100%;font-size:12px;line-height:1.75}
.home-feature-grid>.theory-entry>.button{align-self:flex-start;max-width:100%;padding:10px 13px;font-size:12px;gap:12px;white-space:normal}
.home-feature-grid>.theory-entry>.entry-art{right:10px;top:8px;transform:none;width:72px;opacity:.13}
.home-feature-grid>.theory-entry>.entry-art-plus{opacity:.16}
@media(max-width:1199px){.home-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.home-feature-grid>.theory-entry{min-height:265px;padding:26px}.home-feature-grid>.theory-entry h2,.home-feature-grid>.theory-entry h2 em{font-size:clamp(23px,2.7vw,29px)}.home-feature-grid>.theory-entry>.entry-art{width:100px;opacity:.18}}
@media(max-width:700px){.home-feature-grid{grid-template-columns:1fr;margin:20px 20px 0;gap:16px}.home-feature-grid>.theory-entry{min-height:0;padding:25px 22px;gap:22px}.home-feature-grid>.theory-entry h2,.home-feature-grid>.theory-entry h2 em{font-size:28px}.home-feature-grid>.theory-entry>.entry-art{width:85px;opacity:.17}}

/* A quiet, first-person welcome after the tools; part of the story, not an ad. */
.founder-welcome{display:grid;grid-template-columns:minmax(185px,.48fr) minmax(0,1fr);gap:clamp(24px,5vw,85px);margin:76px 5% 15px;padding:clamp(32px,4.5vw,66px);border:1px solid var(--modus-b-465638,#465638);border-radius:14px;background:linear-gradient(135deg,var(--modus-c-1a2315,#1a2315),var(--modus-c-111310,#111310));position:relative;overflow:hidden}
.founder-welcome:after{content:'';position:absolute;right:0;bottom:0;width:180px;height:180px;background:radial-gradient(circle at 100% 100%,rgba(194,228,115,.07),transparent 75%);pointer-events:none}
.founder-welcome-side{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.founder-welcome-side .eyebrow{margin:0;color:var(--modus-c-d7f48c,#d7f48c);font-size:11px;line-height:1.6;letter-spacing:.11em}
.founder-welcome-mark{font:500 clamp(68px,9vw,120px)/1 Manrope,sans-serif;letter-spacing:-.09em;color:var(--modus-c-d7f48c,#d7f48c);opacity:.84;margin:12px 0 0}
.founder-welcome-mark span{color:var(--modus-c-eef5e4,#eef5e4)}
.founder-welcome-signature{margin:0;color:var(--modus-c-b5c5a5,#b5c5a5);font-size:13px;line-height:1.6}
.founder-welcome-content{max-width:760px}
.founder-welcome h2{font:500 clamp(29px,3vw,42px)/1.25 Manrope,sans-serif;letter-spacing:-.04em;margin:0 0 24px;color:var(--modus-c-eef5e4,#eef5e4)}
.founder-welcome h2 em{font-weight:500;color:var(--modus-c-d7f48c,#d7f48c)}
.founder-welcome-content p{font-size:17px;line-height:1.85;color:var(--modus-c-b9c8ab,#b9c8ab);margin:0 0 17px}
.founder-welcome-content .founder-welcome-lead{font-size:clamp(18px,1.65vw,21px);line-height:1.65;color:var(--modus-c-e4eed7,#e4eed7);margin-bottom:25px}
.founder-welcome-link{display:inline-flex;gap:12px;align-items:center;color:var(--modus-c-d7f48c,#d7f48c);font-size:14px;line-height:1.5;text-decoration:none;border-bottom:1px solid var(--modus-b-6b874c,#6b874c);padding:5px 0;margin-top:8px}
.founder-welcome-link:hover{border-color:currentColor}
.founder-welcome-link:focus-visible{outline:2px solid currentColor;outline-offset:4px}
@media(max-width:760px){.founder-welcome{grid-template-columns:1fr;gap:22px;margin:46px 20px 16px;padding:29px 24px}.founder-welcome-side{gap:5px}.founder-welcome-mark{display:none}.founder-welcome h2{margin-bottom:18px}.founder-welcome-content p{font-size:16px;line-height:1.75}.founder-welcome-content .founder-welcome-lead{font-size:18px;margin-bottom:21px}}

/* Footer balance: retain the MODUS mark at left and center the motto
   independently of optional editor and utility links at the right. */
footer:has(> .footer-brand){position:relative}
footer:has(> .footer-brand) > span:nth-child(2){position:absolute;left:50%;transform:translateX(-50%);width:max-content;max-width:46%;text-align:center}
@media(max-width:700px){footer:has(> .footer-brand) > span:nth-child(2){position:static;transform:none;order:3;width:100%;max-width:none;text-align:center}}
