/* TributYou 0.4.3 — one editorial grid, warm white and restrained gold. */
:root{--ty-page-width:1450px;--ty-gutter:clamp(20px,4vw,65px);--ty-cream:#f2eee6;--ty-cream-ink:#282623;--ty-gold:#d0b579;--ty-gold-ink:#806024}
body:not(.presentation) .wrap:not(.narrow),.home-container,.home-hero-inner,.tribute-hero-inner,.tribute-content{box-sizing:border-box;width:100%;max-width:var(--ty-page-width);padding-inline:var(--ty-gutter);margin-inline:auto}
body:not(.presentation) .wrap.narrow{max-width:680px} /* forms stay readable */
body:not(.presentation) .wrap.memorial{display:grid;gap:clamp(20px,3vw,42px)}
.memorial .mem-hero,.memorial .tribute-invite,.memorial .ty-candle-section{width:100%;max-width:none;margin:0;box-sizing:border-box}
.memorial .mem-hero{padding:clamp(32px,5vw,75px) clamp(20px,4vw,60px);background:var(--ty-cream);color:var(--ty-cream-ink);border:0}
.memorial .mem-hero h1{font-size:clamp(2.4rem,5vw,4.4rem);color:var(--ty-cream-ink)}
.memorial .mem-hero .eyebrow,.memorial .mem-hero .quote,.memorial .mem-hero p{color:#514a40}
.memorial .mem-hero .memorial-symbol{color:var(--ty-gold-ink)}
.memorial .mem-hero .public-cover{width:min(270px,65vw);background:transparent;padding:0}
body:not(.presentation) .memorial .mem-hero a:not(.btn){color:var(--ty-gold-ink)}
.memorial .tribute-invite{border:0;background:#191919}
.tribute-hero{padding-inline:0}.tribute-hero-inner{grid-template-columns:minmax(180px,330px) minmax(0,1fr)}
.tribute-content{padding-bottom:4rem}.tribute-life{background:var(--ty-cream);margin-top:32px}.tribute-biography{max-width:960px}
.tribute-section.condolence-book{max-width:none;margin:0;padding:clamp(26px,4vw,56px);background:var(--ty-cream);color:var(--ty-cream-ink);border:0}
.tribute-section.condolence-book h2,.tribute-section.condolence-book p,.tribute-section.condolence-book label{color:var(--ty-cream-ink)}
.tribute-section.condolence-book .memory{background:#e8e2d7;border:0;color:var(--ty-cream-ink)}
.tribute-section.condolence-book form{max-width:950px;margin-inline:auto}
body:not(.presentation) .tribute-section.condolence-book :is(input,textarea){background:#fffdf9;color:#282623;border-color:#c8c0b3;color-scheme:light}
/* Cream is used in whole sections, not a maze of light/dark outlines. */
.home-v2 .home-capabilities{background:var(--ty-cream);color:var(--ty-cream-ink)}
.home-v2 .home-capabilities :is(h2,h3,p){color:var(--ty-cream-ink)}
.home-v2 .home-capabilities :is(.eyebrow,.icon-medallion,svg){color:var(--ty-gold-ink)}
.home-v2 .home-journey,.hero-example .memory-paper{background:var(--ty-cream)}
.home-v2 .home-candles-simple{background:var(--ty-cream);color:var(--ty-cream-ink)}
.home-v2 .home-candles-simple :is(h2,p){color:var(--ty-cream-ink)}
.home-v2 .home-candles-simple .eyebrow{color:var(--ty-gold-ink)}
.plans-grid .plan-card{background:var(--ty-cream);color:var(--ty-cream-ink);border:0}
.plans-grid .plan-card :is(p,li,.eyebrow){color:#48433c}.plans-grid .plan-card h2,.plans-grid .plan-card li::before{color:var(--ty-gold-ink)}
.plans-grid .plan-card .plan-pending{border-color:#d6cfc2}.plans-grid .plan-card .eyebrow{color:var(--ty-gold-ink);font-weight:650}
body:not(.presentation) .eyebrow,.tribute-dates,.ty-price,.ty-candle-tile .ty-price{color:var(--ty-gold)}
.home-intro h1 em{color:var(--ty-gold)}.ty-price{font-weight:700;font-size:1.04em}
body:not(.presentation) .home-v2 .home-text-link,body:not(.presentation) .mem-card .catalog-link{color:var(--ty-gold)}
/* No new gold borders; only small text and icons. */
.studio-viewer .viewer-slide::before,.studio-viewer .viewer-slide::after{display:none}
.studio-viewer .viewer-slide{width:100%;max-width:none;min-height:100%;scroll-snap-align:start;scroll-snap-stop:always}
.studio-viewer .viewer-slides{scroll-snap-type:y mandatory;scroll-behavior:auto;touch-action:pan-y pinch-zoom}
.studio-viewer .viewer-slides.viewer-moving{scroll-snap-type:none}
.studio-viewer .viewer-slide-inner{max-width:100%}
.studio-viewer .viewer-active .viewer-slide-inner,.studio-viewer .viewer-active.viewer-opening>*{animation:none}
@media(max-width:640px){.tribute-hero-inner{grid-template-columns:1fr}.tribute-content{padding-bottom:2rem}.tribute-section.condolence-book{padding:24px 18px}.memorial .mem-hero{padding:30px 16px}.memorial .ty-candle-section{padding:22px 14px}}
