@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');
:root{--forest:#1d352e;--ink:#263a33;--sand:#d9c4a0;--cream:#f6f4ef;--muted:#777e78}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:'DM Sans',Arial,sans-serif;background:#fff}a{color:inherit;text-decoration:none}.topbar{height:78px;padding:0 7vw;display:flex;align-items:center;justify-content:space-between;background:#fff;position:sticky;top:0;z-index:10}.brand{font-weight:700;letter-spacing:.2em;font-size:17px}.brand span{color:#b58b51}.topbar nav{display:flex;gap:34px;font-size:13px;color:#58635d}.topbar nav a:hover,footer a:hover{color:#b58b51}.menu-toggle{display:none;background:none;border:0;font-size:25px}.hero{background:var(--forest);color:white;min-height:620px;width:100%;max-width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;padding:65px 7vw;gap:4vw;overflow:hidden}.hero-copy{max-width:600px;min-width:0}.eyebrow{font-size:10px;letter-spacing:.22em;font-weight:700;color:#b58b51;margin:0 0 24px}.hero h1{font-size:clamp(54px,6.5vw,92px);line-height:.98;letter-spacing:-.055em;margin:0 0 28px}.hero h1 em,.intro-section h2 em,.chapter h2 em,.contact h2 em{font-family:'Playfair Display',serif;color:var(--sand);font-weight:500}.intro{font-size:16px;line-height:1.9;color:#e4e9e5;max-width:510px;margin-bottom:34px}.button{display:inline-block;background:var(--sand);color:#1e302a;padding:17px 28px;font-size:12px;font-weight:700;letter-spacing:.03em}.hero-photo{height:470px;min-width:0;width:100%;overflow:hidden;border-radius:2px}.hero-photo img{width:100%;height:100%;object-fit:cover}.intro-section{padding:125px 15vw 115px;max-width:1200px}.intro-section h2,.chapter h2,.contact h2{font:500 clamp(38px,4.4vw,62px)/1.12 'Playfair Display',serif;margin:0 0 26px}.intro-section h2 em,.chapter h2 em{color:#9c7950}.body-copy{max-width:620px;color:var(--muted);line-height:1.9;font-size:16px}.section{padding:85px 8vw}.adventures,.project{background:var(--cream)}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:36px;gap:30px}.section-heading h2{font:500 48px 'Playfair Display',serif;margin:0}.section-heading>p{max-width:330px;color:var(--muted);font-size:14px;line-height:1.7}.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.story{position:relative;height:390px;overflow:hidden;background:#ddd}.story-large{grid-row:span 2;height:800px}.story img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.story:hover img{transform:scale(1.035)}.story:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.7))}.story-caption{position:absolute;z-index:1;bottom:28px;left:30px;color:white}.story-caption span,.project-content>span{font-size:9px;letter-spacing:.2em;font-weight:700;color:#e5c99e}.story-caption h3{font:500 28px 'Playfair Display',serif;margin:8px 0}.story-caption p{font-size:12px;margin:0;color:#eee}.chapter{display:grid;grid-template-columns:1fr 1fr;gap:8vw;align-items:center}.chapter-image{height:570px}.chapter-image img{width:100%;height:100%;object-fit:cover}.chapter-copy p:not(.eyebrow){color:var(--muted);line-height:1.9;font-size:15px}.mini-pair{display:flex;gap:60px;margin-top:35px}.mini-pair div{display:grid;gap:7px}.mini-pair strong{font:500 22px 'Playfair Display',serif}.mini-pair span{font-size:12px;color:var(--muted)}.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.project-card{background:white;min-height:440px}.project-card>img{width:100%;height:220px;object-fit:cover}.project-content{padding:27px}.project-content>span{color:#a47c4e}.project-content h3{font:500 27px 'Playfair Display',serif;margin:10px 0}.project-content p{font-size:13px;line-height:1.8;color:var(--muted)}.project-content a{display:inline-block;margin-top:10px;font-size:12px;font-weight:700;border-bottom:1px solid var(--sand);padding-bottom:4px}.text-card{padding-top:20px}.project-mark{height:180px;margin:0 27px;background:var(--forest);color:var(--sand);display:grid;place-items:center;font:italic 100px 'Playfair Display',serif}.project-mark.warm{background:#d9c4a0;color:var(--forest)}.next-trip{background:var(--forest);color:white;display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:360px}.next-trip img{width:100%;height:360px;object-fit:cover}.next-trip div{padding:45px 9vw}.next-trip h2{font:500 44px 'Playfair Display',serif;margin:0 0 14px}.next-trip div>p:last-child{font-size:14px;color:#d5ded8;line-height:1.8}.gallery{background:white}.gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.gallery-grid img{width:100%;height:290px;object-fit:cover}.contact{background:#1d352e;color:white;text-align:center;padding:100px 20px}.contact h2{font-size:58px}.contact>p:not(.eyebrow){color:#d5ded8;max-width:450px;margin:0 auto 30px;line-height:1.8;font-size:14px}.contact h2 em{display:inline-block}.button.light{background:var(--sand)}footer{padding:30px 7vw;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted)}footer p{margin:0}
@media(max-width:800px){.topbar{height:68px;padding:0 6vw}.menu-toggle{display:block}.topbar nav{display:none;position:absolute;top:68px;left:0;right:0;background:white;padding:22px 6vw;flex-direction:column;gap:20px}.topbar nav.open{display:flex}.hero{grid-template-columns:1fr;padding:65px 7vw;gap:35px}.hero-photo{height:330px;order:-1}.hero h1{font-size:60px}.intro-section{padding:85px 8vw}.section{padding:65px 7vw}.section-heading{display:block}.section-heading>p{margin-top:16px}.feature-grid{grid-template-columns:1fr}.story,.story-large{height:380px;grid-row:auto}.chapter{grid-template-columns:1fr;gap:35px}.chapter-image{height:390px}.project-grid{grid-template-columns:1fr}.project-card{min-height:0}.next-trip{grid-template-columns:1fr}.next-trip img{height:270px}.next-trip div{padding:50px 8vw}.gallery-grid{grid-template-columns:repeat(2,1fr)}.gallery-grid img{height:230px}footer{gap:15px;flex-wrap:wrap}footer p{order:3;width:100%}}


.music-feature{display:grid;grid-template-columns:.8fr 1.2fr;background:#eee9df;margin:0;padding:0;min-height:280px}
.music-art{background:linear-gradient(145deg,#263f35,#142a24);color:#dfc9a5;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px;position:relative;overflow:hidden}
.music-art:before,.music-art:after{content:"";position:absolute;border:1px solid rgba(224,201,165,.25);border-radius:50%;width:250px;height:250px}
.music-art:after{width:190px;height:190px}
.music-note{font:italic 112px 'Playfair Display',serif;z-index:1;line-height:1}
.music-label{font-size:9px;letter-spacing:.25em;margin-top:15px;z-index:1}
.music-copy{padding:48px 8vw;align-self:center}
.music-copy .eyebrow{margin-bottom:12px}
.music-copy h2{font:500 42px 'Playfair Display',serif;margin:0 0 10px;color:var(--forest)}
.music-copy>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.7;max-width:470px}
.audio-controls{display:flex;align-items:center;gap:18px;margin-top:22px;max-width:520px}
.audio-play{border:0;background:var(--forest);color:#fff;padding:13px 18px;display:flex;align-items:center;gap:10px;font:600 12px 'DM Sans',sans-serif;cursor:pointer}
.audio-play:hover{background:#315548}
.audio-time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:42px}
.audio-volume{width:100px;accent-color:var(--forest)}
.audio-note{font-size:10px!important;color:#858b85!important;margin-top:12px}
@media(max-width:800px){.music-feature{grid-template-columns:1fr}.music-art{min-height:170px}.music-note{font-size:75px}.music-copy{padding:36px 8vw}.music-copy h2{font-size:36px}.audio-controls{gap:12px}.audio-volume{width:75px}}

/* Ymerberg v1.2: music module and layout safeguards */
.music-feature{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);width:100%;max-width:100%;background:#eee9df;min-height:280px;overflow:hidden}
.music-art{background:linear-gradient(145deg,#263f35,#142a24);color:#dfc9a5;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:280px;position:relative;overflow:hidden}
.music-art:before,.music-art:after{content:"";position:absolute;border:1px solid rgba(224,201,165,.25);border-radius:50%;width:250px;height:250px}
.music-art:after{width:190px;height:190px}
.music-note{font:italic 112px 'Playfair Display',serif;z-index:1;line-height:1}
.music-label{font-size:9px;letter-spacing:.25em;margin-top:15px;z-index:1}
.music-copy{padding:48px clamp(24px,8vw,110px);align-self:center;min-width:0}
.music-copy .eyebrow{margin-bottom:12px}
.music-copy h2{font:500 42px 'Playfair Display',serif;margin:0 0 10px;color:var(--forest)}
.music-copy>p:not(.eyebrow){color:var(--muted);font-size:14px;line-height:1.7;max-width:470px}
.audio-controls{display:flex;align-items:center;gap:16px;margin-top:22px;max-width:520px;flex-wrap:wrap}
.audio-play{border:0;border-radius:0;background:var(--forest);color:#fff;padding:13px 18px;display:flex;align-items:center;gap:10px;font:600 12px 'DM Sans',sans-serif;cursor:pointer}
.audio-play:hover{background:#315548}
.audio-time{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums;min-width:42px}
.audio-volume{width:100px;accent-color:var(--forest);cursor:pointer}
.audio-note{font-size:10px!important;color:#858b85!important;margin-top:12px}
@media(max-width:800px){
 .hero{grid-template-columns:minmax(0,1fr);padding:45px 7vw;gap:28px}
 .hero-photo{height:330px;order:-1}
 .music-feature{grid-template-columns:minmax(0,1fr)}
 .music-art{min-height:160px}
 .music-note{font-size:75px}
 .music-copy{padding:36px 8vw}
 .music-copy h2{font-size:36px}
 .audio-controls{gap:12px}
 .audio-volume{width:75px}
}

/* v1.3: use native audio controls for reliable mobile playback */
.ymerberg-audio{display:block;width:100%;max-width:440px;height:46px;margin-top:22px;accent-color:var(--forest)}
.ymerberg-audio::-webkit-media-controls-panel{background-color:#f4f0e8}
.audio-note{font-size:10px!important;color:#858b85!important;margin-top:12px}
@media(max-width:800px){
 .ymerberg-audio{width:100%;max-width:100%;height:48px}
 .music-copy{padding:32px 7vw}
}

/* Ymerberg identity and bilingual switch */
.brand{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}
.brand-symbol{display:block;width:31px;height:42px;object-fit:contain;object-position:center}
.brand-word{font-weight:700;letter-spacing:.2em;font-size:16px;color:var(--ink)}
.brand-dot{color:#b58b51}
.language-toggle{border:1px solid #d8d2c7;background:transparent;color:var(--ink);padding:8px 11px;font:600 10px 'DM Sans',sans-serif;letter-spacing:.12em;cursor:pointer;margin-left:26px;min-width:38px}
.language-toggle:hover{background:var(--cream)}
.topbar{gap:18px}
.topbar nav{margin-left:auto}
@media(max-width:800px){
 .topbar{gap:12px}
 .brand-symbol{width:26px;height:36px}
 .brand-word{font-size:14px}
 .language-toggle{margin-left:0;padding:7px 9px}
}

.brand-lockup{display:flex;flex-direction:column;gap:2px}
.brand-tagline{font-size:7px;letter-spacing:.16em;color:#7b746b;font-weight:700}
@media(max-width:800px){.brand-tagline{font-size:6px}}

/* v1.5: brand logos and expanded photo archive */
.project-logo{height:180px;margin:20px 27px 0;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid #eee9df;padding:22px}
.project-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.project-logo.relagogen-logo{background:#fff;padding:18px}
.gallery-grid img{display:block;width:100%;height:290px;object-fit:cover;background:#eee}
@media(max-width:800px){.project-logo{height:150px;margin:18px 22px 0}.gallery-grid img{height:230px}}
