/*
Theme Name: Haven Hills Congregate Living
Description: A custom responsive theme with editable starter pages and a native WordPress menu.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: haven-hills
*/
:root{--ink:#213c33;--forest:#19372d;--paper:#f8f5ed;--linen:#eee9dc;--copper:#ad674b;--muted:#4c6056;--white:#fffdf6;--width:1200px}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 system-ui,sans-serif}
a{color:inherit;text-underline-offset:.2em}
a:focus-visible,summary:focus-visible{outline:3px solid var(--copper);outline-offset:5px}
img{max-width:100%;height:auto;vertical-align:middle}
h1,h2,h3{font-family:Georgia,serif;font-weight:400;line-height:1.08;letter-spacing:-.035em;margin:0 0 .45em}
h1{font-size:clamp(2.8rem,6vw,6rem)}
h2{font-size:clamp(2rem,4vw,3.9rem)}
h3{font-size:clamp(1.45rem,2.5vw,2rem)}
p{margin:0 0 1em}
.hh-wrap{width:min(var(--width),calc(100% - 3rem));margin-inline:auto}
.hh-skip{position:absolute;top:0;left:.5rem;transform:translateY(-150%);z-index:5;padding:.7rem;background:white}
.hh-skip:focus{transform:none}
.hh-header{position:relative;z-index:2;background:var(--paper);border-bottom:1px solid #ded9cc}
.hh-bar{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem}
.hh-brand{font:1.55rem Georgia,serif;text-decoration:none}
.custom-logo{width:245px;max-height:78px;object-fit:contain;object-position:left}
.hh-nav ul{list-style:none;display:flex;align-items:center;gap:clamp(1.1rem,3vw,2.65rem);margin:0;padding:0}
.hh-nav a{display:block;padding:.6rem 0;text-decoration:none;font-size:.95rem;font-weight:600}
.hh-nav a:hover,.hh-nav .current-menu-item>a{text-decoration:underline;text-decoration-color:var(--copper)}
.hh-nav li{position:relative}
.hh-nav .sub-menu{display:none;position:absolute;right:0;top:100%;min-width:13rem;background:var(--paper);padding:.5rem 1rem;border:1px solid #ded9cc}
.hh-nav li:hover>.sub-menu,.hh-nav li:focus-within>.sub-menu{display:block}
.hh-mobile{display:none}
.hh-hero{min-height:clamp(460px,48vw,720px);position:relative;isolation:isolate;display:grid;align-items:center;color:var(--white);background:var(--forest);margin:0}
.hh-hero>.hh-hero-image{position:absolute;inset:0;margin:0;z-index:-2}
.hh-hero-image img{width:100%;height:100%;object-fit:cover;object-position:57% center}
.hh-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,35,26,.93),rgba(12,35,26,.67) 37%,rgba(12,35,26,.12) 78%)}
.hh-hero-copy{width:min(var(--width),calc(100% - 3rem));margin-inline:auto;padding-block:4.5rem}
.hh-hero h1{max-width:14ch;font-size:clamp(2.65rem,5.5vw,5.3rem);text-wrap:balance}
.hh-hero-copy>p:not(.hh-label){max-width:36ch;font-size:clamp(1rem,2vw,1.2rem);color:#f3efe3}
.hh-label{font-size:.77rem;font-weight:750;letter-spacing:.15em;text-transform:uppercase}
.hh-hero .hh-label{color:#f3d0ad}
.hh-section{width:min(var(--width),calc(100% - 3rem));margin-inline:auto;padding-block:clamp(3.25rem,7vw,7rem)}
.hh-columns{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,6vw,6rem);align-items:center}
.hh-columns figure{margin:0}
.hh-columns img{width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:3px}
.hh-section p,.hh-article p{max-width:68ch}
.hh-band{background:var(--linen)}
.hh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:2rem 0}
.hh-card{padding:1.6rem;background:var(--paper);border-top:3px solid var(--copper)}
.hh-card p{margin:0}
.hh-article{width:min(780px,calc(100% - 3rem));margin-inline:auto;padding-block:4.5rem}
.hh-article h2{font-size:clamp(1.65rem,3vw,2.6rem);margin-top:1.2em}
.hh-footer{background:var(--forest);color:var(--white);padding-block:2.25rem}
.hh-footer-inner{display:flex;justify-content:space-between;gap:1rem;align-items:center}
.hh-footer p{margin:0}
@media(max-width:800px){
 .hh-desktop{display:none}
 .hh-mobile{display:block}
 .hh-mobile summary{cursor:pointer;font-weight:700}
 .hh-mobile ul{display:block;position:absolute;top:100%;right:0;left:0;padding:1rem 1.5rem;background:var(--paper);border-bottom:1px solid #ded9cc}
 .hh-mobile .sub-menu{display:block;position:static;padding:0 0 0 1rem;border:0}
 .hh-bar{min-height:78px}
 .custom-logo{width:205px}
 .hh-columns,.hh-grid{grid-template-columns:1fr}
 .hh-hero::after{background:linear-gradient(90deg,rgba(12,35,26,.87),rgba(12,35,26,.46))}
 .hh-footer-inner{align-items:flex-start;flex-direction:column}
}
.wp-block-button__link{border-radius:2px;padding:.75rem 1.1rem;background:var(--forest);color:var(--white);font-weight:700;text-decoration:none}
.hh-hero .wp-block-button__link{background:#f6e6cf;color:var(--forest)}
.wp-block-button__link:hover{filter:brightness(.93)}
.hh-article .wp-block-buttons{margin-block:1.25rem}
