/* Owner screenshot: use one frame and normal-flow rows instead of colliding absolute labels. */
:root{--casa-gutter:max(32px,calc((100% - 1400px)/2))}
.header{padding-inline:var(--casa-gutter)}
.section-pad{padding-inline:var(--casa-gutter)}
.hero{display:grid;grid-template-rows:auto 1fr auto;row-gap:32px;height:auto;min-height:820px;padding:30px var(--casa-gutter) 28px}
.hero .hero-top,.hero .hero-copy,.hero .hero-bottom{position:relative;inset:auto;width:100%;max-width:none}
.hero .hero-top{align-self:start;min-height:52px}
.hero .hero-copy{align-self:center;padding-block:18px 12px}
.hero .hero-copy h1{font-size:clamp(68px,6.6vw,108px);max-width:17ch}
.hero .hero-copy>p:not(.eyebrow){max-width:390px}
.hero .hero-bottom{align-self:end}
.hero .chapter-tabs{max-width:none}
.hero .mode-switch{border-radius:12px}
.hero .mode-switch button{border-radius:8px}
.hero .chapter-tabs img{border-radius:5px}
@media(min-width:1700px){.hero{min-height:880px;row-gap:38px}.hero .hero-copy h1{font-size:112px}}
@media(max-width:760px){:root{--casa-gutter:24px}.hero{min-height:0;row-gap:28px;padding-top:24px;padding-bottom:30px}.hero .hero-copy{padding-block:22px 6px}.hero .hero-copy h1{font-size:clamp(56px,11vw,78px);max-width:13ch}.hero .hero-copy>p:not(.eyebrow){max-width:330px}.hero .hero-top{gap:14px;min-height:52px}.hero .chapter-tabs{gap:10px}}
@media(max-width:370px){:root{--casa-gutter:20px}.hero .hero-copy h1{font-size:54px}.hero .hero-top>.eyebrow{max-width:117px}.hero .chapter-tabs{gap:8px}}
