@charset "UTF-8";
/* Keystone Waters — local, framework-free website */

:root {
  --blue: #0B2D5B;
  --navy: #0B2D5B;
  --ink: #f5f8fb;
  --text: #e3edf3;
  --white: #ffffff;
  --paper: #0B2D5B;
  --line: var(--gold);
  --water: #7BA4C9;
  --shoreline: #7BA4C9;
  --gold: #C9A45C;
  --font-family: "Newsreader", Georgia, serif;
  --width: 1320px;
  --radius-small: 4px;
  --radius-control: 6px;
  --radius-card: 8px;
  --radius-photo: 8px;
  --shadow-soft: 0 8px 22px #00132026;
  --shadow-raised: 0 12px 32px #00132033;
  --shadow-floating: 0 20px 48px #00132040;
  --surface-raised: #123b55;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; background: #0B2D5B; color-scheme: dark; }
body { position: relative; isolation: isolate; margin: 0; background: var(--navy); color: var(--ink); font: 18px/1.7 var(--font-family); -webkit-font-smoothing: antialiased; font-optical-sizing: auto; }
/* Motion belongs to the homepage hero and footers; content uses quiet navy surfaces. */
.hero-video, .footer-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0B2D5B; pointer-events: none; }
.hero-video { z-index: -3; }
.footer-video { z-index: -2; }
img, video { display: block; width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2 { line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: clamp(38px, 4.4vw, 66px); }
h3 { line-height: 1.25; letter-spacing: -.015em; }
p + p { margin-top: 20px; }
::selection { background: var(--blue); color: white; }
:focus-visible { outline: 3px solid #719faf; outline-offset: 5px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.wrap { width: min(var(--width), calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 110px; }
.kicker { font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.body-copy { color: var(--text); }
.body-copy p + p { margin-top: 18px; }
.lead { font-size: 20px; line-height: 1.6; letter-spacing: -.018em; }
.arrow { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; line-height: 1; }
/* Keystone controls: matte surfaces, restrained elevation, and clear states. */
.kw-button {
  --button-face: #fff;
  --button-hover: #e8f1f6;
  --button-ink: #0B2D5B;
  --button-border: #ffffffb3;
  --button-shadow: #00132026;
  --button-radius: var(--radius-control);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  max-width: 100%;
  min-height: 54px;
  padding: 13px 21px;
  border: 1px solid var(--button-border);
  border-radius: var(--button-radius);
  background: var(--button-face);
  color: var(--button-ink);
  box-shadow: 0 2px 4px #0B2D5B08, 0 6px 16px var(--button-shadow);
  font: 500 17px/1.5 var(--font-family);
  text-align: left;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease,
    transform .18s ease, box-shadow .18s ease;
}
.kw-button:hover {
  color: var(--button-ink);
  background: var(--button-hover);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px #0B2D5B0a, 0 10px 20px var(--button-shadow);
}
.kw-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 3px var(--button-shadow);
}
.kw-button:focus-visible { outline: 3px solid #72a9bf; outline-offset: 4px; }
.kw-button .arrow {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  background: transparent;
  font-size: 14px;
  transition: transform .18s ease;
}
.kw-button:hover .arrow { transform: translateX(2px); }
.kw-button--light {
  --button-face: #fff;
  --button-hover: #f3f7f9;
  --button-ink: var(--blue);
  --button-border: #d7e2e8;
  --button-shadow: #0B2D5B08;
}
.kw-button--glass {
  --button-face: #ffffff0d;
  --button-hover: #ffffff1c;
  --button-ink: #fff;
  --button-border: #ffffff45;
  --button-shadow: #0017271f;
}
.kw-button--compact { --button-radius: var(--radius-control); min-height: 44px; padding: 10px 15px; font-size: 12px; gap: 16px; }
.kw-button--icon { --button-radius: var(--radius-control); justify-content: center; width: 46px; height: 46px; min-height: 46px; padding: 0; }

/* Cards retain their layout and breathing room with a quieter material finish. */
.kw-card {
  --card-face: var(--surface-raised);
  --card-ink: var(--ink);
  --card-copy: #e0ebf1;
  --card-muted: #c1d6e2;
  --card-rule: #ffffff26;
  --card-border: #ffffff30;
  --card-shadow: #00132026;
  --card-radius: var(--radius-card);
  position: relative;
  min-width: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  background: var(--card-face);
  color: var(--card-ink);
  box-shadow: 0 2px 4px #0B2D5B05, 0 10px 28px var(--card-shadow);
}
.kw-card:focus-within {
  border-color: #9bb6c6;
  box-shadow: 0 0 0 3px #0B2D5B08, 0 12px 30px var(--card-shadow);
}
.kw-card--blue {
  --card-face: #0B2D5B;
  --card-ink: #fff;
  --card-copy: #d2e0e8;
  --card-muted: #bbd3df;
  --card-rule: #ffffff26;
  --card-border: #ffffff1f;
  --card-shadow: #031e3226;
}
.kw-card--compact { --card-radius: var(--radius-control); }
.skip-link { position: absolute; left: 20px; top: -80px; padding: 10px 20px; background: #0B2D5B; color: #fff; z-index: 60; }
.skip-link:focus { top: 12px; }

/* A quiet masthead lets the original identity lead. */
.masthead { border-bottom: 1px solid var(--gold); background: #0B2D5B; position: relative; z-index: 20; box-shadow: none; }
.masthead--overlay { position: absolute; inset: 0 0 auto; border: 0; background: transparent; color: #fff; }
.masthead-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { flex: 0 0 144px; }
.brand img { height: 84px; object-fit: contain; }
.main-nav { display: flex; align-items: center; flex-shrink: 0; gap: 28px; font-size: 18px; font-weight: 500; white-space: nowrap; }
.main-nav a:not(.kw-button) { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
.main-nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); }
.main-nav a:not(.kw-button):hover { color: #fff; text-decoration: underline; text-underline-offset: 7px; }
.main-nav .nav-contact { margin-left: 8px; min-height: 52px; padding: 13px 18px; font-size: 16px; gap: 18px; }
.menu-toggle .fa-solid { font-size: 16px; }
.mobile-nav .kw-button { align-self: flex-start; margin-top: 12px; min-height: 50px; padding: 13px 18px; font-size: 16px; }
.mobile-nav .kw-button > .fa-solid { font-size: 13px; }
.menu-toggle { display: none; min-width: 108px; min-height: 48px; font-size: 16px; }
.mobile-nav { display: none; }

/* A single landscape: the lake photograph fades over the moving water. */
.home-hero { --masthead-height: 104px; position: relative; isolation: isolate; overflow: hidden; background: #0B2D5B; color: #fff; }
.hero-photograph {
  --hero-photo-opacity: 1;
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  margin: 0;
  z-index: -2;
  opacity: var(--hero-photo-opacity);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #00000026 34%, #00000099 48%, #000 66%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 22%, #00000026 34%, #00000099 48%, #000 66%);
  animation: hero-photo-reveal 1.2s ease-out both;
}
.hero-photograph img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #031b2ee0, #031b2e66 112px, transparent 230px),
    linear-gradient(0deg, #041c3180, transparent 48%),
    linear-gradient(90deg, #051e32c7 0%, #051e3299 36%, #051e3233 72%, #051e3226);
  pointer-events: none;
}
.hero-content { display: flex; flex-direction: column; justify-content: space-between; min-height: calc(660px + var(--masthead-height)); gap: 58px; padding-block: calc(88px + var(--masthead-height)) 32px; }
.hero-copy { width: 68%; max-width: 820px; }
.hero-copy .kicker { margin-bottom: 25px; font-size: 12px; color: #d0e2ec; letter-spacing: .1em; }
.hero-copy h1 { font-size: clamp(60px, 5.8vw, 86px); font-weight: 400; line-height: 1.04; letter-spacing: -.025em; }
.hero-copy h1 span { display: block; color: #e1edf2; }
.hero-copy .intro { max-width: 500px; margin-top: 26px; font-size: 20px; line-height: 1.55; color: #dce9f0; }
.hero-first-step { max-width: 480px; margin-top: 18px; font-size: 16px; line-height: 1.5; color: #c7dce7; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.hero-actions .kw-button { font-size: 16px; padding: 15px 22px; }
.hero-services-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; color: #fff; }
.hero-services-link .fa-solid { font-size: 13px; }
.hero-services-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-top: 24px; border-top: 1px solid var(--gold); }

.hero-story { display: flex; align-items: center; gap: 24px; max-width: 430px; }
.hero-story small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #d1e1e9; }
.hero-story-quote { display: block; margin-top: 5px; font-size: 24px; line-height: 1.3; letter-spacing: -.01em; }
.hero-story > .fa-solid { font-size: 18px; }
.hero-story:hover .hero-story-quote { text-decoration: underline; text-underline-offset: 6px; }
@keyframes hero-photo-reveal {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: var(--hero-photo-opacity); transform: translateX(0); }
}

.home-services { --ink: #153c58; --text: #48606f; background: #f5f7f5; color: var(--ink); color-scheme: light; padding-bottom: 100px; }
.home-services .services-overview { margin-bottom: 0; }
.home-services .service-column { --card-face: #fff; --card-ink: var(--blue); --card-copy: #48606f; --card-muted: #496982; --card-rule: #7ba4c940; --card-border: #7ba4c966; --card-shadow: #0b2d5b0d; color-scheme: light; }
.home-services .service-icon { color: var(--blue); background: #eef3f7; border-color: #7ba4c966; }
.intro-heading { display: grid; grid-template-columns: .7fr 1.3fr; gap: 90px; align-items: center; padding-top: 92px; padding-bottom: 65px; }
.intro-logo { display: flex; align-items: center; justify-content: center; padding-block: 20px; }
.intro-logo img { width: 100%; max-width: 360px; height: auto; }
.intro-heading h2 { font-size: clamp(35px, 3.4vw, 50px); line-height: 1.2; }
.intro-heading p { max-width: 650px; margin-top: 25px; color: var(--text); font-size: 17px; }
.intro-heading .services-kicker { max-width: none; margin: 0 0 20px; font-size: 12px; line-height: 1.5; letter-spacing: .12em; color: #4c6878; }
.intro-heading p + p { margin-top: 16px; }
.services-overview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; padding: 0; margin-bottom: 100px; }
.service-column { padding: 30px 26px 36px; display: flex; flex-direction: column; }
.service-column .service-label { display: grid; grid-template-columns: minmax(0, 1fr) 42px; align-items: center; gap: 12px; min-height: 42px; color: var(--card-muted); font-size: 12px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.service-icon { display: inline-grid; place-items: center; flex: 0 0 42px; width: 42px; min-width: 42px; height: 42px; border: 1px solid var(--gold); border-radius: var(--radius-small); background: #ffffff0d; font-size: 21px; line-height: 1; color: #d4e9f2; }
.service-column h3 { font-size: 31px; margin-top: 29px; margin-bottom: 20px; overflow-wrap: break-word; }
.service-column > p { font-size: 17px; line-height: 1.8; color: var(--card-copy); max-width: 335px; }
.service-column ul { margin: 21px 0 28px; padding: 0; list-style: none; font-size: 16px; color: var(--card-copy); }
.service-column li { padding-block: 7px; border-bottom: 1px solid var(--card-rule); }
.service-column .line-link { margin-top: auto; align-self: start; }
.service-column .kw-button { gap: 14px; padding-inline: 17px; }

/* The second supplied photograph is visible on the homepage as well. */
.family-section { background: #0b2b43; padding-block: 92px; }
.family-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; align-items: center; }
.family-photo img { aspect-ratio: 4/3; object-fit: contain; border: 1px solid var(--gold); border-radius: var(--radius-photo); background: #0B2D5B; box-shadow: var(--shadow-floating); }
.photo-caption { margin-top: 23px; font-size: 13px; line-height: 1.5; color: var(--text); }
.family-copy .kicker { margin-bottom: 25px; }
.family-copy.kw-card { padding: 34px; }
.family-copy h2 { font-family: var(--font-family); font-size: clamp(43px, 4.5vw, 66px); letter-spacing: -.045em; line-height: 1.07; }
.family-copy .body-copy { margin-top: 29px; font-size: 17px; line-height: 1.8; }
.family-copy .line-link { margin-top: 24px; }
.signed { font-size: 16px; margin-top: 24px; color: #fff; }
.signed span { color: #c7dce7; font-size: 14px; display: block; margin-top: 2px; }

/* The homepage story pairs an open spread with a fine gold photo frame. */
.family-story { --ink: #153c58; --text: #48606f; --line: var(--gold); position: relative; isolation: isolate; overflow: hidden; background: #f5f7f5; color: var(--ink); color-scheme: light; border-block: 1px solid var(--gold); }
.family-story::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 8% 48%, #dce6e980, transparent 68%); pointer-events: none; }
.family-story-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.family-story-photo { min-width: 0; margin-left: -24px; }
.family-story-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border: 1px solid var(--gold); border-radius: var(--radius-photo); }
.family-story-photo figcaption { max-width: 380px; margin: 24px 24px 0; padding-left: 16px; border-left: 1px solid var(--gold); font-size: 15px; line-height: 1.5; color: var(--text); }
.family-story-copy { min-width: 0; padding-block: 8px; }
.family-story-copy .kicker { margin-bottom: 24px; color: #4c6878; font-size: 12px; letter-spacing: .12em; }
.family-story-copy h2 { font-size: clamp(43px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.03em; }
.family-story-copy h2 span { color: #31566d; }
.family-story-copy .body-copy { max-width: 560px; margin-top: 28px; font-size: 18px; line-height: 1.7; }
.family-story-copy .body-copy p + p { margin-top: 18px; }
.family-story-signoff { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.family-story-signoff .signed { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink); }
.family-story-signoff .signed span { margin-top: 4px; font-size: 15px; color: var(--text); }
.family-story-signoff .kw-button { --button-face: var(--blue); --button-hover: #0c3453; --button-ink: #fff; --button-border: var(--blue); --button-shadow: #0B2D5B1a; min-width: 152px; font-size: 17px; }

/* A client-led plan shared by the homepage and Services page. */
.plan-section { --ink: #fff; --text: #dce8ee; padding-block: 88px; background: #0B2D5B; color: #fff; color-scheme: dark; border-block: 1px solid var(--gold); }
.plan-heading { display: grid; grid-template-columns: 1.12fr .88fr; gap: 72px; align-items: end; margin-bottom: 38px; }
.plan-heading .kicker { margin-bottom: 20px; font-size: 12px; color: #bfd8e5; }
.plan-heading h2 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.1; }
.plan-heading > p { max-width: 520px; font-size: 20px; line-height: 1.65; color: var(--text); }
.plan-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.plan-step { --card-face: #123b55; --card-ink: #fff; --card-copy: #dce8ee; --card-border: #ffffff2e; --card-shadow: #0013201a; padding: 28px; }
.plan-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 24px; border: 1px solid var(--gold); border-radius: var(--radius-small); background: #ffffff0d; color: #cde4ef; font-size: 21px; }
.plan-step h3 { font-size: 26px; line-height: 1.2; }
.plan-step p { margin-top: 14px; font-size: 18px; line-height: 1.65; color: var(--card-copy); }
.plan-next { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--gold); }
.plan-next .kw-button { min-width: 176px; }
.plan-next p { max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--text); }


.principles-section { --ink: #153c58; --text: #48606f; --line: var(--gold); padding-block: 94px; background: #f5f7f5; color: var(--ink); color-scheme: light; border-block: 1px solid var(--gold); }
.principles-heading { display: flex; justify-content: space-between; align-items: start; gap: 70px; padding-bottom: 45px; }
.principles-heading h2 { font-size: 54px; }
.principles-heading .kicker { padding-top: 8px; color: #4c6878; flex: 0 0 230px; }
.principles-heading p { margin-top: 20px; color: var(--text); max-width: 650px; font-size: 15px; }
.principles-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.principle { --card-face: #fff; --card-ink: var(--ink); --card-copy: var(--text); --card-muted: #4c6878; --card-rule: #ccd8de; --card-border: #dbe3e6; --card-shadow: #0B2D5B0d; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 20px; padding: 28px; }
.principle .principle-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: var(--radius-small); background: #eef3f5; font-size: 18px; line-height: 1; color: var(--blue); }
.principle h3 { font-size: 18px; line-height: 1.35; }
.principle p { margin-top: 11px; font-size: 16px; line-height: 1.8; color: var(--card-copy); max-width: 800px; }

/* An open testimonial spread, with the client's words leading the composition. */
.testimonial { --ink: #153c58; --text: #48606f; --line: var(--gold); padding-block: 96px; background: #fff; color: var(--ink); color-scheme: light; border-top: 1px solid var(--line); }
.testimonial-layout { max-width: 1100px; }
.testimonial-heading { display: flex; align-items: center; gap: 26px; margin-bottom: 38px; }
.testimonial-heading::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.testimonial-heading .kicker { color: #4c6878; font-size: 12px; letter-spacing: .12em; }
.testimonial-feature { position: relative; padding-left: 86px; }
.testimonial-quote-mark { position: absolute; top: 5px; left: 0; font-size: 44px; line-height: 1; color: #C9A45C; }
.testimonial blockquote { padding: 0; }
.testimonial-lead { font-size: clamp(32px, 3.7vw, 46px); line-height: 1.24; letter-spacing: -.025em; }
.testimonial-detail { max-width: 880px; margin-top: 26px; font-size: 22px; line-height: 1.65; letter-spacing: -.01em; color: var(--text); }
.testimonial-attribution { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.testimonial-name { font-size: 19px; font-weight: 600; line-height: 1.5; }
.testimonial-role { padding-left: 20px; border-left: 1px solid var(--gold); font-size: 17px; line-height: 1.5; color: var(--text); }
.testimonial-attribution--logo { align-items: center; justify-content: space-between; gap: 24px; }
.testimonial-credit { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; min-width: 0; }
.testimonial-logo { flex: 0 0 auto; width: 170px; max-width: 100%; height: auto; object-fit: contain; }
.testimonial-feature--secondary { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--gold); }
.testimonial-feature--secondary .testimonial-quote-mark { top: 61px; }
@media (max-width: 520px) {
  .testimonial-credit { flex-direction: column; align-items: flex-start; gap: 4px; }
  .testimonial-feature--secondary { margin-top: 44px; padding-top: 40px; }
  .testimonial-feature--secondary .testimonial-quote-mark { margin-top: 0; }
}

/* Compact footer: identity and navigation beside a single contact card. */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: #0B2D5B; color: white; }
.site-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, #061c39b8 0%, #0b2d5b8c 55%, #061c39c7 100%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 90px; align-items: center; padding-block: 64px 44px; }
.footer-brand-block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px 32px; align-items: center; }
.footer-brand { display: block; width: 220px; max-width: 100%; }
.footer-brand img { width: 100%; height: auto; }
.footer-brand-block > p { max-width: 14ch; margin: 0; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.28; letter-spacing: -.015em; color: #e1edf3; }
.footer-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--gold); font-size: 18px; font-weight: 500; line-height: 1.5; color: #dce8ee; }
.footer-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid #c9a45c99; border-radius: var(--radius-control); background: #0b2d5b99; color: #fff; white-space: nowrap; transition: background .18s ease, border-color .18s ease; }
.footer-links a:hover { background: #ffffff1c; border-color: var(--gold); }
.footer-contact-card { --card-face: #0B2D5Bbf; --card-border: #ffffff30; --card-shadow: #001b2e26; padding: 32px; container-type: inline-size; }
.footer-contact-card .kicker { font-size: 13px; color: #bfd7e4; margin-bottom: 14px; }
.footer-contact-card h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.035em; }
.footer-contact-copy { max-width: 440px; margin-top: 16px; font-size: 17px; line-height: 1.65; color: #dce8ee; }
.footer-contact-link.kw-button { width: 100%; gap: 16px; margin-top: 26px; padding: 16px 18px; font-size: 28px; font-weight: 500; letter-spacing: -.025em; }
.footer-contact-link .button-label { min-width: 0; overflow-wrap: anywhere; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 19px; border-top: 1px solid var(--gold); font-size: 13px; color: #d1e0e8; }
.footer-legal a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; color: #fff; }
.footer-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 24px; }
.theme-toggle.kw-button { position: relative; display: inline-grid; grid-template-columns: repeat(2, 34px); align-items: center; justify-items: center; gap: 6px; width: 84px; height: 44px; min-height: 44px; padding: 4px; border: 1px solid #bfd5e380; border-radius: 24px; background: #061c39b3; }
.theme-toggle[hidden] { display: none; }
.theme-toggle.kw-button:hover { background: #0b2d5bed; border-color: var(--gold); }
.theme-toggle-thumb { position: absolute; top: 4px; left: 4px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); transition: transform .18s ease, background .18s ease; }
.theme-toggle-icon { position: relative; z-index: 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle-sun { color: var(--blue); }
.theme-toggle-moon { color: #c9dce9; }
.theme-toggle[aria-pressed="true"] .theme-toggle-thumb { transform: translateX(40px); background: #dceaf4; }
.theme-toggle[aria-pressed="true"] .theme-toggle-sun { color: var(--gold); }
.theme-toggle[aria-pressed="true"] .theme-toggle-moon { color: var(--blue); }
@media (max-width: 520px) {
  .footer-actions { width: 100%; justify-content: space-between; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-toggle-thumb { transition: none; }
}

/* The contact popup promotes the existing footer and video without copying either. */
html.contact-is-open, html.contact-is-open body { overflow: hidden; }
.contact-close { position: absolute; top: 16px; right: 16px; }
.contact-close[hidden] { display: none; }
.site-footer.is-contact-open { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; padding: 40px 24px; overflow-y: auto; overscroll-behavior: contain; }
.site-footer.is-contact-open .footer-video { position: fixed; inset: 0; width: 100%; height: 100%; }
.site-footer.is-contact-open::before { position: fixed; background: linear-gradient(135deg, #042b4bc7 0%, #0B2D5B80 48%, #061f36c7 100%); }
.site-footer.is-contact-open > .wrap { width: min(680px, 100%); margin: auto; flex-shrink: 0; }
.site-footer.is-contact-open .footer-grid { display: block; padding: 0; }
.site-footer.is-contact-open .footer-brand-block, .site-footer.is-contact-open .footer-legal { display: none; }
.site-footer.is-contact-open .footer-contact-card { --card-face: #0B2D5Bed; --card-border: #ffffff40; padding: 48px; box-shadow: 0 24px 80px #00152366; }
.site-footer.is-contact-open .footer-contact-card h2 { font-size: clamp(34px, 4.5vw, 48px); }
.site-footer.is-contact-open .footer-contact-copy { max-width: none; margin-top: 22px; font-size: 20px; }
.site-footer.is-contact-open .footer-contact-link { margin-top: 30px; font-size: clamp(26px, 2.4vw, 34px); }
@media (max-width: 520px) {
  .site-footer.is-contact-open { padding: 24px 16px; }
  .site-footer.is-contact-open .footer-contact-card { padding: 44px 24px 28px; }
  .site-footer.is-contact-open .contact-close { top: 12px; right: 12px; width: 40px; height: 40px; min-height: 40px; }
  .site-footer.is-contact-open .footer-contact-card .kicker { max-width: calc(100% - 44px); }
  .site-footer.is-contact-open .footer-contact-card h2 { font-size: 34px; }
  .site-footer.is-contact-open .footer-contact-copy { font-size: 18px; }
  .site-footer.is-contact-open .footer-contact-link { gap: 12px; padding: 16px 14px; font-size: clamp(20px, 5.5vw, 24px); }
}

/* Interior pages share the identity, with deliberately different compositions. */
.interior-hero { padding: 70px 0 65px; }
.interior-hero .kicker { margin-bottom: 25px; }
.interior-hero h1 { font-size: clamp(54px, 6vw, 86px); font-weight: 500; }
.interior-hero .lead { margin-top: 28px; max-width: 630px; color: var(--text); }
.about-main { --ink: #153c58; --text: #48606f; --line: var(--gold); background: #f5f7f5; color: var(--ink); color-scheme: light; }
.about-main .kicker { color: #4c6878; }
.about-main .interior-hero .lead { max-width: 1000px; }
.about-landscape img { aspect-ratio: 2.2; object-fit: cover; object-position: center 55%; border: 1px solid var(--gold); border-radius: var(--radius-photo); background: #fff; box-shadow: 0 12px 32px #0B2D5B14; }
.about-landscape figcaption { margin-top: 23px; font-size: 13px; color: var(--text); display: flex; justify-content: space-between; }
.about-story { display: grid; grid-template-columns: .6fr 1.4fr; gap: 100px; }
.about-story h2 { font-family: var(--font-family); font-size: 48px; }
.about-story .kicker + h2 { margin-top: 24px; }
.about-story .lead { margin-bottom: 25px; }
.about-story .body-copy { font-size: 16px; max-width: 720px; }
.about-mission { --card-face: #fff; --card-ink: var(--ink); --card-copy: var(--text); --card-border: #dbe3e6; --card-shadow: #0B2D5B0d; margin-top: 50px; padding: 28px; }
.about-mission .kicker { margin-bottom: 17px; }
.about-mission p:last-child { font: 30px/1.4 var(--font-family); letter-spacing: -.025em; }
.about-family { --ink: #153c58; --text: #48606f; --line: var(--gold); padding-block: 90px; background: #f5f7f5; color: var(--ink); color-scheme: light; border-block: 1px solid var(--gold); }
.about-family .kw-card { --card-face: #fff; --card-ink: var(--ink); --card-copy: var(--text); --card-muted: #4c6878; --card-rule: var(--line); --card-border: #dbe3e6; --card-shadow: #0B2D5B0d; }
.about-family .family-photo img { border-color: #dbe3e6; background: #fff; box-shadow: 0 12px 32px #0B2D5B14; }
.about-family .kicker { color: #4c6878; }
.about-family .family-copy h2 { font-size: 53px; }
.about-family .signed { color: var(--ink); }
.about-family .signed span { color: var(--text); }
.about-family .kw-button { --button-face: var(--blue); --button-hover: #0c3453; --button-ink: #fff; --button-border: var(--blue); --button-shadow: #0B2D5B1a; }
.services-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.services-intro .lead { margin-top: 0; max-width: 425px; }
.services-intro h1 { font-size: clamp(52px, 5.5vw, 76px); }
.services-intro-copy { min-width: 0; }
.sales-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin-top: 26px; }
.sales-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 17px; }
.sales-text-link .fa-solid { font-size: 13px; }
.sales-text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.service-jump { display: flex; gap: 40px; padding-block: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 16px; flex-wrap: wrap; }
.service-jump a { display: inline-flex; align-items: center; gap: 10px; }
.service-jump .fa-solid { font-size: 14px; }
.icon-label { display: flex; align-items: center; gap: 12px; }
.icon-label .fa-solid { font-size: 20px; }
.service-jump a:hover { text-decoration: underline; text-underline-offset: 5px; }
.service-band { --ink: #153c58; --text: #48606f; --line: var(--gold); background: #f5f7f5; color: var(--ink); color-scheme: light; border-bottom: 1px solid var(--line); scroll-margin-top: 26px; }
.service-band--white { background: #fff; }
.service-detail { padding-block: 76px; display: grid; grid-template-columns: 1fr 1.08fr; gap: 80px; align-items: center; }
.service-summary { min-width: 0; }
.service-summary .kicker { margin-bottom: 22px; color: #4c6878; font-size: 12px; }
.service-detail h2 { font-size: 51px; margin-bottom: 22px; }
.service-detail .lead { color: var(--text); max-width: 500px; }
.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.scope-item { --card-face: #fff; --card-ink: var(--ink); --card-copy: var(--text); --card-border: #dbe3e6; --card-shadow: #0B2D5B0d; padding: 24px; }
.scope-item h3 { font-size: 21px; margin-bottom: 9px; }
.scope-item p { font-size: 17px; line-height: 1.6; color: var(--card-copy); }
.service-detail .line-link { margin-top: 28px; }
.service-band .kw-button { --button-face: var(--blue); --button-hover: #0c3453; --button-ink: #fff; --button-border: var(--blue); --button-shadow: #0B2D5B1a; }
.faq { --ink: #153c58; --text: #48606f; --line: var(--gold); padding-block: 75px; background: #f5f7f5; color: var(--ink); color-scheme: light; border-block: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 100px; }
.faq h2 { font: 47px/1.1 var(--font-family); letter-spacing: -.035em; }
.faq .kicker { color: #4c6878; }
.faq .kicker + h2 { margin-top: 22px; }
.faq details { --card-face: #123b55; --card-ink: #f5f8fb; --card-copy: #e0ebf1; --card-border: #ffffff30; --card-shadow: #0B2D5B1a; padding-inline: 23px; margin-bottom: 21px; color-scheme: dark; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 25px; padding-block: 21px; font-size: 15px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\f067"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 15px; flex-shrink: 0; color: var(--card-copy); }
.faq details[open] summary::after { content: "\f068"; }
.faq details p { color: var(--card-copy); font-size: 14px; padding-bottom: 23px; max-width: 650px; }

/* Case Studies: project previews and concise stories, aligned to the page width. */
.case-studies-main { --ink: #153c58; --text: #48606f; --line: var(--gold); background: #f5f7f5; color: var(--ink); color-scheme: light; }
.case-studies-main .interior-hero .kicker { color: #4c6878; }
.case-studies-section { padding-bottom: 64px; }
.case-study-feature { width: 100%; border: 1px solid var(--line); border-radius: var(--radius-card); background: #fff; box-shadow: 0 12px 32px #0B2D5B10; }
.case-study-showcase { display: grid; grid-template-columns: 1.18fr 1fr; border-radius: var(--radius-card) var(--radius-card) 0 0; background: #0d3049; color: #f5f8fb; }
.case-study-preview { min-width: 0; padding: 40px; display: flex; flex-direction: column; justify-content: center; border-radius: var(--radius-card) 0 0 0; background: #09273d; }
.case-study-preview > a { display: block; border: 1px solid var(--gold); border-radius: var(--radius-small); box-shadow: 0 12px 32px #00000030; }
.case-study-preview img { border-radius: var(--radius-small); }
.case-study-preview figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 17px; font-size: 14px; color: #bfd5e3; }
.case-study-preview figcaption .fa-solid { margin-left: 7px; font-size: 11px; }
.case-study-intro { min-width: 0; padding: 44px 42px; align-self: center; }
.case-study-intro .kicker { margin-bottom: 23px; color: #bfd5e3; font-size: 12px; }
.case-study-intro h2 { font-size: clamp(44px, 4.4vw, 60px); }
.case-study-deck { margin-top: 21px; color: #d5e6ef; font-size: 28px; line-height: 1.25; letter-spacing: -.02em; }
.case-study-description { max-width: 490px; margin-top: 24px; color: #e0ebf1; font-size: 18px; line-height: 1.65; }
.case-study-intro .kw-button { margin-top: 28px; }
.case-study-credit { margin-top: 20px; color: #bfd5e3; font-size: 14px; }
.case-study-credit a { text-decoration: underline; text-underline-offset: 4px; }
.case-study-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 40px; }
.case-study-story section { min-width: 0; padding-top: 19px; border-top: 2px solid #C9A45C; }
.case-study-story h3 { font-size: 25px; }
.case-study-story p { margin-top: 14px; font-size: 18px; line-height: 1.65; color: var(--text); }
.case-study-quote { display: grid; grid-template-columns: .65fr 1.35fr; align-items: start; gap: 32px; padding: 32px 40px; border-top: 1px solid var(--line); background: #f5f7f5; }
.case-study-quote .kicker { padding-top: 6px; max-width: 230px; color: #4c6878; font-size: 12px; }
.case-study-quote blockquote { font-size: clamp(30px, 3vw, 40px); line-height: 1.2; letter-spacing: -.02em; }
.case-study-quote .testimonial-attribution { margin-top: 20px; padding-top: 18px; }
.case-study-next { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; padding: 26px 40px; border-top: 1px solid var(--line); }
.case-study-next p { font-size: 24px; line-height: 1.35; }
.case-study-next .kw-button { --button-face: var(--blue); --button-hover: #0c3453; --button-ink: #fff; --button-border: var(--blue); --button-shadow: #0B2D5B1a; }
.case-studies-coming-soon { padding-block: 64px; border-top: 1px solid var(--line); background: #fff; }
.case-studies-coming-soon .kicker { margin-bottom: 18px; font-size: 12px; color: #4c6878; }
.case-studies-coming-soon h2 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.15; }
.case-studies-coming-soon h2 + p { margin-top: 20px; max-width: 680px; font-size: 18px; color: var(--text); }

@media (max-width: 1150px) {
  .wrap { width: calc(100% - 72px); }
  .masthead-inner { gap: 30px; }
  .main-nav { gap: 18px; }
  .intro-heading, .family-layout, .service-detail, .faq-layout, .about-story { gap: 55px; }
  .services-overview { gap: 22px; }
  .service-column { padding: 27px 21px 33px; }
  .service-column h3 { font-size: 25px; }
  .family-copy h2 { font-size: 49px; }
  .family-story-layout { gap: 40px; }
  .family-story-photo { margin-left: -18px; }
  .principles-heading { gap: 50px; }
  .principles-heading .kicker { flex-basis: 170px; }
  .principles-grid { gap: 24px; }
  .service-detail h2 { font-size: 47px; }
  .services-intro { gap: 50px; }
}
@media (max-width: 900px) {
  .home-hero { --masthead-height: 100px; }
  .masthead-inner { min-height: 100px; }
  .brand { flex-basis: 130px; }
  .brand img { height: 86px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav.is-open { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 30px; border-top: 1px solid var(--line); background: #0B2D5Bef; }
  .masthead--overlay .mobile-nav.is-open { max-height: calc(100svh - 100px); overflow-y: auto; background: #0B2D5Bf5; box-shadow: 0 16px 28px #00132033; }
  .mobile-nav a:not(.kw-button) { font-size: 20px; padding-block: 11px; }
}
@media (max-width: 850px) {
  .wrap { width: calc(100% - 48px); }
  .section { padding-block: 75px; }
  .home-services { padding-bottom: 70px; }
  .intro-heading { padding-block: 65px 45px; grid-template-columns: 1fr; gap: 20px; }
  .intro-logo { justify-content: flex-start; padding: 0 0 12px; }
  .intro-logo img { max-width: 260px; }
  .intro-heading h2 { font-size: 42px; }
  .services-overview { gap: 28px; grid-template-columns: 1fr; margin-bottom: 70px; }
  .service-column { padding: 32px; }
  .plan-section { padding-block: 70px; }
  .plan-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .plan-heading > p { max-width: 650px; }
  .plan-cards { grid-template-columns: 1fr; }
  .plan-step { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px 20px; }
  .plan-icon { grid-row: 1 / span 2; margin: 0; }
  .plan-step h3 { font-size: 25px; }
  .plan-step p { grid-column: 2; margin: 0; }
  .plan-next { flex-direction: column; align-items: flex-start; gap: 22px; }
  .service-column h3 { font-size: 31px; }
  .service-column > p { max-width: none; }
  .service-column .line-link { margin-top: 0; }
  .family-section { padding-block: 65px; }
  .family-story-layout { grid-template-columns: 1fr; gap: 38px; }
  .family-story-photo { margin: 0; max-width: 680px; width: 100%; }
  .family-story-photo figcaption { margin-inline: 0; margin-top: 20px; }
  .family-story-copy { max-width: 680px; padding: 0; }
  .family-story-copy h2 { font-size: clamp(44px, 7vw, 58px); }
  .family-story-copy .body-copy { max-width: 640px; }
  .family-layout { grid-template-columns: 1fr; gap: 40px; }
  .family-copy { max-width: 650px; }
  .family-copy h2 { font-size: 57px; }
  .family-copy .body-copy { font-size: 16px; }
  .principles-section { padding-block: 70px; }
  .principles-heading { flex-direction: column; gap: 23px; }
  .principles-heading .kicker { flex-basis: auto; }
  .principles-heading h2 { font-size: 47px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle p { max-width: 650px; }
  .testimonial { padding-block: 70px; }
  .testimonial-heading { margin-bottom: 32px; }
  .testimonial-feature { padding-left: 64px; }
  .testimonial-quote-mark { font-size: 36px; }
  .testimonial-lead { font-size: clamp(32px, 5vw, 40px); }
  .testimonial-detail { font-size: 21px; }
  .interior-hero { padding-block: 50px; }
  .interior-hero h1 { font-size: 66px; }
  .about-landscape img { aspect-ratio: 4/3; object-fit: contain; }
  .about-story { grid-template-columns: 1fr; gap: 30px; }
  .about-story h2 { font-size: 48px; }
  .about-family { padding-block: 65px; }
  .about-family .family-copy h2 { font-size: 49px; }
  .services-intro { grid-template-columns: 1fr; gap: 25px; }
  .services-intro .lead { max-width: 620px; }
  .service-detail { padding-block: 65px; grid-template-columns: 1fr; gap: 34px; }
  .service-detail h2 { font-size: 46px; }
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 40px); }
  .kicker { font-size: 12px; letter-spacing: .11em; }
  .intro-heading h2 { font-size: 35px; }
  .intro-logo img { max-width: 220px; }
  .intro-heading p { font-size: 15px; }
  .services-overview { padding: 0; }
  .service-column { padding: 26px 23px 33px; }
  .plan-section { padding-block: 60px; }
  .plan-heading h2 { font-size: 38px; }
  .plan-heading > p { font-size: 18px; }
  .plan-step { grid-template-columns: 34px minmax(0, 1fr); gap: 10px 14px; padding: 24px 20px; }
  .plan-icon { width: 34px; height: 34px; font-size: 18px; }
  .plan-step h3 { font-size: 23px; }
  .plan-step p, .plan-next p { font-size: 17px; }
  .services-intro h1 { font-size: clamp(42px, 10.5vw, 52px); }
  .case-studies-coming-soon { padding-block: 52px; }
  .family-copy.kw-card { padding: 28px 23px; }
  .family-photo img, .about-landscape img { border-width: 1px; border-radius: var(--radius-photo); box-shadow: var(--shadow-raised); }
  .service-column h3 { margin-top: 24px; margin-bottom: 16px; font-size: 30px; }
  .service-column > p { font-size: 17px; max-width: none; }
  .service-column ul { margin-block: 20px; width: 100%; }
  .service-column .line-link { margin-top: 0; }
  .family-copy h2 { font-size: 46px; }
  .family-copy .body-copy { font-size: 17px; }
  .family-story-layout { gap: 32px; }
  .family-story-copy .kicker { max-width: 290px; margin-bottom: 20px; font-size: 11px; }
  .family-story-copy h2 { font-size: clamp(36px, 9.5vw, 46px); }
  .family-story-copy .body-copy { margin-top: 24px; font-size: 18px; }
  .family-story-photo figcaption { font-size: 14px; }
  .family-story-signoff { align-items: flex-start; gap: 20px 24px; }
  .principles-heading h2 { font-size: 40px; }
  .principle { gap: 11px; grid-template-columns: 34px minmax(0, 1fr); padding: 24px 20px; }
  .principle .principle-icon { width: 30px; height: 30px; font-size: 15px; border-radius: var(--radius-small); }
  .principle h3 { font-size: 17px; }
  .testimonial { padding-block: 60px; }
  .testimonial-heading { gap: 18px; margin-bottom: 28px; }
  .testimonial-heading .kicker { font-size: 11px; }
  .testimonial-feature { padding-left: 0; }
  .testimonial-quote-mark { position: static; display: block; margin-bottom: 20px; font-size: 30px; }
  .testimonial-lead { font-size: 30px; }
  .testimonial-detail { margin-top: 22px; font-size: 20px; }
  .testimonial-attribution { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 28px; padding-top: 22px; }
  .testimonial-role { padding-left: 0; border-left: 0; }
  .interior-hero h1 { font-size: 52px; }
  .interior-hero .lead { font-size: 18px; }
  .about-story h2 { font-size: 42px; }
  .about-story .body-copy { font-size: 15px; }
  .about-landscape figcaption { flex-direction: column; gap: 3px; }
  .about-mission p:last-child { font-size: 26px; }
  .about-mission { padding: 24px; }
  .about-family .family-copy h2 { font-size: 45px; }
  .service-jump { gap: 18px; font-size: 15px; }
  .service-detail { padding-block: 55px; }
  .service-detail h2 { font-size: 41px; }
  .service-detail .lead { font-size: 18px; }
  .scope-grid { grid-template-columns: 1fr; gap: 16px; }
  .scope-item { padding: 23px; }
  .faq h2 { font-size: 42px; }
  .faq summary { font-size: 17px; }
  .faq details { padding-inline: 18px; }
}
@media (max-width: 1150px) {
  .footer-grid { gap: 50px; }
  .footer-brand-block { grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; }
  .footer-links { gap: 10px; }
  .footer-contact-card { padding: 28px; }
  .footer-contact-link.kw-button { font-size: 24px; }
}
@media (max-width: 850px) {
  .footer-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 52px 34px; }
  .footer-contact-card { order: -1; }
  .footer-brand-block { grid-template-columns: 204px minmax(0, 1fr); gap: 22px 32px; }
  .footer-brand-block > p { max-width: 14ch; }
  .footer-links { gap: 10px; margin-top: 0; }
  .footer-contact-card h2 { font-size: 34px; }
  .footer-contact-link.kw-button { font-size: 26px; }
}
@media (max-width: 520px) {
  .footer-grid { padding-top: 42px; gap: 34px; }
  .footer-contact-card { padding: 26px 23px; }
  .footer-contact-card h2 { font-size: 29px; }
  .footer-contact-copy { font-size: 16px; }
  .footer-contact-link.kw-button { gap: 12px; padding: 14px 12px; font-size: clamp(20px, 5.5vw, 24px); }
  .footer-brand-block { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { width: 190px; }
  .footer-brand-block > p { max-width: none; font-size: 24px; }
  .footer-links { gap: 10px; margin-top: 0; padding-top: 16px; }
  .footer-legal { flex-wrap: wrap; gap: 4px 20px; font-size: 13px; padding-block: 17px; }
}
@media (min-width: 521px) {
  .footer-contact-link.kw-button,
  .site-footer.is-contact-open .footer-contact-link.kw-button { font-size: clamp(17px, 5.8cqi, 28px); }
  .footer-contact-link .button-label { white-space: nowrap; overflow-wrap: normal; }
}
@media (max-width: 1150px) {
  .case-study-showcase { grid-template-columns: 1.1fr 1fr; }
  .case-study-preview { padding: 26px; }
  .case-study-intro { padding: 36px 28px; }
  .case-study-story { gap: 28px; padding: 32px; }
  .case-study-quote { padding-inline: 32px; }
  .case-study-next { padding-inline: 32px; }
}
@media (max-width: 850px) {
  .case-study-showcase { grid-template-columns: 1fr; }
  .case-study-preview { border-radius: var(--radius-card) var(--radius-card) 0 0; padding: 30px; }
  .case-study-intro { padding: 34px 30px 38px; }
  .case-study-description { max-width: 650px; }
  .case-study-story { grid-template-columns: 1fr; gap: 26px; padding: 34px 30px; }
  .case-study-story p { max-width: 650px; }
  .case-study-quote { grid-template-columns: 1fr; gap: 20px; padding: 30px; }
  .case-study-quote .kicker { max-width: none; padding-top: 0; }
  .case-study-next { padding-inline: 30px; }
}
@media (max-width: 520px) {
  .case-studies-section { padding-bottom: 52px; }
  .case-study-preview { padding: 18px; }
  .case-study-preview figcaption { font-size: 13px; }
  .case-study-intro { padding: 30px 22px; }
  .case-study-intro .kicker { font-size: 11px; }
  .case-study-intro h2 { font-size: 44px; }
  .case-study-deck { font-size: 26px; }
  .case-study-story { padding: 28px 22px; }
  .case-study-quote { padding: 28px 22px; }
  .case-study-next { align-items: flex-start; flex-direction: column; padding: 24px 22px; }
  .case-study-next p { font-size: 22px; }
}
@media (max-width: 1150px) {
  .hero-content { min-height: calc(640px + var(--masthead-height)); padding-top: calc(76px + var(--masthead-height)); }
  .hero-actions { gap: 16px; }
}
@media (max-width: 850px) {
  .hero-content { min-height: calc(660px + var(--masthead-height)); padding-block: calc(68px + var(--masthead-height)) 28px; gap: 48px; }
  .hero-copy { width: 100%; max-width: 620px; }
  .hero-copy h1 { font-size: clamp(58px, 8.8vw, 78px); }
  .hero-copy .intro { max-width: 450px; }
  .hero-photograph { --hero-photo-opacity: .62; width: 100%; }
  .hero-bottom { align-items: start; gap: 24px; }
  .hero-story-quote { font-size: 21px; }
}
@media (max-width: 520px) {
  .hero-content { min-height: calc(640px + var(--masthead-height)); padding-block: calc(54px + var(--masthead-height)) 26px; gap: 44px; }
  .hero-copy .kicker { max-width: 290px; margin-bottom: 23px; font-size: 11px; }
  .hero-copy h1 { font-size: clamp(38px, 11vw, 54px); }
  .hero-copy .intro { font-size: 18px; margin-top: 22px; }
  .hero-actions { align-items: start; flex-direction: column; gap: 12px; margin-top: 27px; }
  .hero-actions .kw-button { padding: 14px 20px; }
  .hero-photograph img { object-position: 60% center; }
  .hero-bottom { display: block; }
  .hero-story { justify-content: space-between; max-width: none; gap: 18px; }
  .hero-story-quote { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Mark's November 4 revision: approved palette, accents, and service layouts. */
.masthead:not(.masthead--overlay), .plan-section { background: var(--navy); }
.service-column, .plan-step { --card-face: var(--blue); --card-rule: var(--gold); }
.kw-button:not(.kw-button--glass):not(.kw-button--icon),
.family-story-signoff .kw-button, .about-family .kw-button, .service-band .kw-button {
  --button-face: var(--gold); --button-hover: #d8b879;
  --button-ink: #fff; --button-border: var(--gold);
}
.home-services .service-column .kw-button {
  --button-face: var(--blue); --button-hover: #164574;
  --button-ink: #fff; --button-border: var(--blue);
}
.kw-button:hover, .kw-button:focus-visible { transform: translateY(-3px); }
.kw-button:active { transform: translateY(0); }
.hero-actions .kw-button { min-height: 64px; padding: 18px 26px; font-size: 19px; }
.hero-services-link.kw-button { --button-border: var(--gold); gap: 20px; }
.hero-services-link.kw-button:hover { text-decoration: none; }
.hero-bottom { justify-content: flex-end; }
.hero-copy .kicker, .hero-story small { color: #d8b879; }
.hero-copy h1 span { color: var(--shoreline); }
.service-icon, .icon-label .fa-solid, .service-jump .fa-solid { color: var(--gold); }
.plan-number { display: inline-flex; align-items: center; min-height: 42px; margin-bottom: 24px; font-size: 32px; line-height: 1; color: var(--gold); }
.story-positioning { max-width: 470px; margin-top: 24px; padding-left: 18px; border-left: 1px solid var(--gold); color: var(--blue); font-size: 23px; line-height: 1.4; }
.family-story-photo { margin-left: 0; }
.family-photo img, .about-family .family-photo img { border-color: var(--gold); }
.about-landscape img { border-color: var(--navy); }
.footer-contact-card, .site-footer.is-contact-open .footer-contact-card { --card-border: var(--gold); }
.footer-brand-block > .footer-services { max-width: none; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; }
.footer-services span { color: var(--gold); }
.footer-contact-details { display: grid; gap: 4px; margin-top: 18px; color: #e3edf3; font-size: 17px; line-height: 1.5; }
.footer-contact-details a { justify-self: start; min-height: 44px; display: inline-flex; align-items: center; color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.footer-contact-details p { margin: 0; }
.services-overview-section { background: #f5f7f5; padding-block: 56px; }
.services-overview--four { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.services-overview--four .service-column > p { max-width: none; }
@media (min-width: 1024px) {
  .home-services .services-overview--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @supports (grid-template-rows: subgrid) {
    .home-services .services-overview--four { row-gap: 0; }
    .home-services .services-overview--four > .service-column { display: grid; grid-template-rows: subgrid; grid-row: span 5; }
    .home-services .service-column .line-link { width: 100%; margin-top: 0; align-self: stretch; }
  }
}
.scope-item--wide { grid-column: 1 / -1; }
@media (max-width: 850px) {
  .plan-step { grid-template-columns: minmax(0, 1fr); }
  .plan-number { grid-row: auto; margin: 0 0 8px; align-self: start; }
  .plan-step p { grid-column: auto; }
}
@media (max-width: 600px) {
  .services-overview--four { grid-template-columns: 1fr; }
  .scope-item--wide { grid-column: auto; }
  .hero-actions .kw-button { min-height: 60px; padding: 16px 22px; font-size: 18px; }
  .footer-brand-block > .footer-services { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .kw-button:hover, .kw-button:focus-visible, .kw-button:active { transform: none; }
}

/* Visitor-selected dark palette; the existing light layout remains the default. */
html[data-theme="dark"] { --dark-page: #081b2d; --dark-card: #102d46; --dark-ink: #edf4fa; --dark-copy: #bed0de; color-scheme: dark; }
html[data-theme="dark"] body { background: var(--dark-page); }
html[data-theme="dark"] :is(.home-services, .family-story, .principles-section, .testimonial, .about-main, .about-family, .service-band, .faq, .case-studies-main, .faith-section) {
  --ink: var(--dark-ink); --text: var(--dark-copy);
  background: var(--dark-page); color: var(--dark-ink); color-scheme: dark;
}
html[data-theme="dark"] :is(.services-overview-section, .case-study-quote, .case-studies-coming-soon) { background: #0c2338; }
html[data-theme="dark"] :is(.home-services .service-column, .principle, .about-mission, .about-family .kw-card, .scope-item) {
  --card-face: var(--dark-card); --card-ink: var(--dark-ink); --card-copy: var(--dark-copy);
  --card-muted: #b5cce0; --card-rule: #7ba4c940; --card-border: #7ba4c966; --card-shadow: #00000026;
  color-scheme: dark;
}
html[data-theme="dark"] .case-study-feature { background: var(--dark-card); }
html[data-theme="dark"] :is(.home-services, .family-story, .principles-section, .testimonial, .about-main, .service-band, .faq, .case-studies-main, .faith-section) .kicker { color: #b5cce0; }
html[data-theme="dark"] .family-story-copy h2 span { color: #91b8d7; }
html[data-theme="dark"] .family-story::before { opacity: .15; }
html[data-theme="dark"] .intro-logo img { filter: brightness(0) invert(1); }
html[data-theme="dark"] :is(.home-services .service-icon, .principle .principle-icon) { color: #bedaff; background: #193d58; border-color: #7ba4c980; }
html[data-theme="dark"] .home-services .service-column .kw-button { --button-border: #7ba4c980; }
html[data-theme="dark"] .testimonial-logo { background: #fff; padding: 10px; border-radius: var(--radius-small); }
html[data-theme="dark"] .faith-section :is(.faith-intro .lead, .faith-generator-intro p, .affirmation-status, .affirmation-source) { color: var(--dark-copy); }
html[data-theme="dark"] .faith-section .affirmation-source a { color: #bedaff; }
