/* sitewide.css */

/* ---------- base - 08/28/26 ---------- */
*, *::before, *::after {box-sizing: border-box;}
* {margin: 0; padding: 0;}
html {font-size: 16px; scroll-behavior: smooth; scrollbar-gutter: stable;}
body {background: #fff; color: #5c4d2c; font-family: 'Source Sans 3', system-ui, 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 400; line-height: 1.6;}
h1, h2, h3, h4, h5, h6 {color: #8e430c; font-weight: 500; line-height: 1.25;}
h2, h3, h4, h5, h6 {margin-bottom: .625em;}
p, h1, h2, h3, h4, h5, h6 {overflow-wrap: break-word;}
p {line-height: 1.5; margin-bottom: 1.5em;}
ul, ol {margin-left: 1.125em;}
li {line-height: 1.25; margin-bottom: .5em;}
a {color: #5c4d2c; text-decoration: underline;}
a:hover {text-decoration: none;}
b, strong {font-weight: 700;}
img, picture, video {display: block; max-width: 100%; height: auto;}
svg {display: block; max-width: 100%;}
input, button, textarea, select {font: inherit;}

/* ---------- accessibility - 08/28/26 ---------- */
.skip-link {position: absolute; left: -9999px; top: 0; z-index: 200; padding: 10px 16px; background: #fff; color: #222; border: 1px solid #222;}
.skip-link:focus {left: 8px; top: 8px;}
.visually-hidden /* sr-only */ {position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0;}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {outline: 2px solid #644821; outline-offset: 4px;}
@media (prefers-reduced-motion: reduce)
{html {scroll-behavior: auto;}}

/* KELLYCUNNANE.COM */

/* ---------- outer wrapper ---------- */
.page {max-width: 1920px; margin: 0 auto; overflow-x: clip;}
.site-header, .site-footer, .site-nav {background: rgba(248, 231, 194, 1);}
/* ---------- header shell ---------- */
.site-header {position: relative; padding: 25px 60px; border-bottom: 1px solid #ad9152;}
.site-header__inner {display: flex; align-items: center; justify-content: space-between; gap: 48px; max-width: 1680px; margin: 0 auto;}
/* ---------- logo ---------- */
.site-header__logo {display: block; flex: 0 1 400px; min-width: 300px; line-height: 0;}
.site-header__logo img, .site-header__logo svg {display: block; width: 100%; height: auto;}
/* ---------- decorative bands ---------- */
.header-band, .footer-band {height: clamp(35px, 1.56rem + 2.09vw, 50px); background: #8c361b url(/_img/ele/ele-bdr-560.png) repeat-x center / auto 100%;}
.footer-band {transform: scaleY(-1);}
/* ---------- navigation (horizontal) ---------- */
.site-nav {flex: 0 0 auto;}
.site-nav ul {display: flex; align-items: center; gap: 2rem; margin: 0; padding: 0; list-style: none;}
.site-nav a {display: inline-block; padding: 4px 0 6px; font-size: 1.125rem; line-height: 1.4; white-space: nowrap; text-decoration: none; border-bottom: 1px solid #c9b489; transition: color .2s ease, border-color .2s ease;}
.site-nav a:hover, .site-nav a:focus-visible {color: #8e430c; border-bottom-color: #8e430c;}

@media (min-width: 1080px) {.site-nav a {font-size: 1.25rem;}}

main { min-height: 76vh; padding-bottom: 60px;}

/* ---------- buttons ---------- */
.btn {display: inline-block; padding: 12px 24px; background: #a9582b; color: #fff; font-size: 1.0625rem; line-height: 1.3; text-align: center; text-decoration: none; border-radius: 4px; transition: background-color .2s ease, color .2s ease;}
.btn:hover, .btn:focus-visible {background: #e1ae39; color: #4a3d23;}
.btn--line {padding: 11px 23px; background: transparent; color: #a9582b; border: 1px solid #a9582b; transition: background-color .2s ease, color .2s ease, border-color .2s ease;}
.btn--line:hover, .btn--line:focus-visible {background: #e1ae39; color: #4a3d23; border-color: #e1ae39;}

/* ---------- toggle button ---------- */
.nav-toggle {display: none; position: relative; flex: 0 0 auto; width: 44px; height: 44px; margin: 0; padding: 0; background: none; border: 0; cursor: pointer;}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {position: absolute; left: 50%; width: 26px; height: 2px; background: #5c4d2c; /*background: #644821;*/
transform: translateX(-50%); transition: transform .3s ease, opacity .2s ease, top .3s ease;}
.nav-toggle__bars {top: 21px;}
.nav-toggle__bars::before, .nav-toggle__bars::after {content: ""; left: 0; transform: none;}
.nav-toggle__bars::before {top: -8px;}
.nav-toggle__bars::after {top: 8px;}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {background: transparent;}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {top: 0; transform: rotate(45deg);}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {top: 0; transform: rotate(-45deg);}

/* FOOTER */
.site-footer {padding: 44px 60px;}
.site-footer__inner {max-width: 1680px; margin: 0 auto; text-align: center;}
.site-footer__nav ul {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2rem; margin: 0; padding: 0; list-style: none;}
.site-footer__nav a {display: inline-block; padding: 4px 0 6px; font-size: 1.0625rem; line-height: 1.4; white-space: nowrap; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease;}
.site-footer__nav a:hover, .site-footer__nav a:focus-visible {color: #8e430c; border-bottom-color: #8e430c;}
.site-footer__legal {max-width: 46em; margin: 1.2em auto 0; font-size: .9375rem; line-height: 1.6; text-wrap: balance;}
.site-footer__legal a {text-decoration: none;}
.site-footer__legal a:hover {text-decoration: underline;}
@media (max-width: 900px) {
.site-header__inner {flex-direction: column; justify-content: center; gap: 20px;}
.site-header__logo {flex: 0 1 auto; width: 100%; max-width: 400px; min-width: 0;}
}
@media (max-width: 768px) {
.site-header {padding: 22px 25px;}
.site-footer {padding: 34px 25px;}
.site-footer__nav a {font-size: 1rem;}
.site-footer__legal {font-size: .875rem;
}
}

/* ---------- toggle menu ---------- */
@media (max-width: 540px) {
.site-header__inner {flex-direction: row; justify-content: space-between; gap: 16px;}
.site-header__logo {flex: 0 1 400px; max-width: calc(100% - 60px);}
.nav-toggle {display: block; margin-right: -10px;}
.site-nav {position: absolute; top: 100%; right: 0; z-index: 100; width: min(320px, 85%); padding: 10px 25px 30px; border-left: 1px solid #ad9152; border-bottom: 1px solid #ad9152; visibility: hidden; transform: translateX(100%); transition: none;}
.site-nav.has-transitions {transition: transform .3s ease, visibility 0s linear .3s;}
.site-nav.is-open {visibility: visible; transform: translateX(0);}
.site-nav.has-transitions.is-open {transition: transform .3s ease, visibility 0s linear 0s;}
.site-nav ul {flex-direction: column; align-items: flex-start; gap: 1.5rem;}
}
 @media (max-width: 480px) {
.header-band, .footer-band {height: 1px; background: #8c361b;}
.footer-band {transform: none;}
}
 @media (prefers-reduced-motion: reduce) {
.site-nav, .site-nav.has-transitions, .site-nav.has-transitions.is-open, .site-nav a, .site-footer__nav a, .btn, .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {transition-duration: .01ms; transition-delay: 0s;}
}

/* IMAGE ZOOM - SITEWIDE */
.iz-thumb {display: inline-block; margin: 0 12px 12px 0; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0;}
.iz-thumb img {display: block;}
.iz-box {position: fixed; top: 50%; left: 50%; z-index: 1000; max-width: 90vw; background: #000000; box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -50%) scale(0.92); transition: opacity 0.18s ease-out, transform 0.18s ease-out, visibility 0.18s;}
.iz-box.iz-open {opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, -50%) scale(1);}
@media (prefers-reduced-motion: reduce) {
.iz-box {transition: none; transform: translate(-50%, -50%);}
.iz-box.iz-open {transform: translate(-50%, -50%);}
}
.iz-large {display: block; max-width: 90vw; max-height: 72vh; width: auto; height: auto;}
.iz-caption {margin: 0; padding: 8px 12px; background: #000000; color: #ffffff; font-family: sans-serif; font-size: 14px; line-height: 1.3;}
.iz-close {position: absolute; top: 0; right: 0; width: 34px; height: 34px; margin: 0; padding: 0; border: 0; background: #000000; color: #ffffff; font-family: sans-serif; font-size: 22px; line-height: 34px; text-align: center; cursor: pointer;}
.iz-close:hover, .iz-close:focus {background: #333333; outline: none;}

