
:root {
  --background: #f7f2f9;
  --foreground: #3e2050;
  --cream: #f7f2f9;
  --paper: #fffafc;
  --ink: #3e2050;
  --muted-ink: #7a6288;
  --forest: #5c2d70;
  --moss: #8a5fa0;
  --sage: #e5d4f1;
  --clay: #d45c8c;
  --butter: #e7b9d8;
  --sand: #ede0f4;
  --line: rgba(92, 45, 112, 0.18);
  --font-sans: "Avenir Next", Avenir, "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Newsreader", Baskerville, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--butter); color: var(--ink); }

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 72px);
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}
.wordmark { align-items: center; display: flex; gap: 12px; }
.wordmark > span:first-child {
  align-items: center;
  background: var(--forest);
  border-radius: 50%;
  color: var(--cream);
  display: flex;
  font-family: var(--font-serif);
  font-size: 21px;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.wordmark-name { font-size: 14px; font-weight: 700; letter-spacing: -0.02em; }
nav { align-items: center; display: flex; gap: clamp(20px, 3vw, 44px); font-size: 13px; font-weight: 600; }
nav a { border-bottom: 1px solid transparent; padding: 5px 0; }
nav a:hover { border-bottom-color: currentColor; }
.nav-social { align-items: center; display: flex; gap: 4px; }

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: 850px;
  overflow: hidden;
}
.hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px clamp(28px, 6vw, 96px) 92px clamp(28px, 7vw, 112px);
  position: relative;
}
.hero-copy::after {
  border: 1px solid var(--line);
  border-radius: 50%;
  content: '';
  height: 250px;
  left: -135px;
  position: absolute;
  top: 160px;
  width: 250px;
}
.eyebrow { font-size: 11px; font-weight: 750; letter-spacing: 0.16em; margin: 0 0 28px; text-transform: uppercase; }
h1, h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.055em; }
h1 { font-size: clamp(64px, 7.2vw, 112px); line-height: 0.86; margin: 0; }
h1 em, h2 em { color: var(--clay); font-weight: 400; }
.hero-intro { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; margin: 40px 0 0; max-width: 520px; }
.hero-actions { align-items: center; display: flex; gap: 26px; margin-top: 38px; }
.button { align-items: center; border-radius: 999px; display: inline-flex; font-size: 13px; font-weight: 700; gap: 10px; padding: 15px 22px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--forest); color: var(--cream); }
.button-dark:hover { background: #4a2359; }
.text-link, .inline-link { align-items: center; display: inline-flex; font-size: 13px; font-weight: 700; gap: 7px; }
.text-link { border-bottom: 1px solid var(--ink); padding-bottom: 3px; }

.hero-visual { background: var(--sage); min-width: 0; padding: 108px clamp(25px, 5vw, 80px) 68px; position: relative; }
.hero-visual::before {
  background-image: radial-gradient(rgba(92,45,112,.16) 1px, transparent 1px);
  background-size: 16px 16px;
  content: '';
  height: 170px;
  opacity: .55;
  position: absolute;
  right: 0;
  top: 0;
  width: 200px;
}
.photo-frame {
  border: 10px solid var(--paper);
  box-shadow: 0 26px 70px rgba(92,45,112,.2);
  height: min(66vw, 655px);
  max-height: 655px;
  min-height: 540px;
  overflow: hidden;
  position: relative;
  transform: rotate(1.5deg);
}
.photo-frame img { height: 100%; object-fit: cover; object-position: 54% center; width: 100%; }
.photo-note {
  align-items: center;
  background: var(--paper);
  bottom: 45px;
  box-shadow: 0 14px 35px rgba(92,45,112,.16);
  display: flex;
  gap: 14px;
  left: 18px;
  padding: 18px 22px;
  position: absolute;
  transform: rotate(-2deg);
  z-index: 2;
}
.photo-note p { font-family: var(--font-serif); font-size: 16px; line-height: 1.3; margin: 0; }
.photo-note strong { font-family: var(--font-sans); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.note-sun { align-items: center; background: var(--butter); border-radius: 50%; display: flex; height: 42px; justify-content: center; width: 42px; }
.hero-stamp {
  align-items: center;
  background: var(--clay);
  border-radius: 50%;
  color: white;
  display: flex;
  height: 122px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 81px;
  transform: rotate(9deg);
  width: 122px;
  z-index: 3;
}
.hero-stamp span { font-size: 7px; font-weight: 800; letter-spacing: .15em; line-height: 1.4; max-width: 93px; position: absolute; text-align: center; }
.hero-stamp strong { font-family: var(--font-serif); font-size: 31px; margin-top: 3px; }

.values-strip { align-items: center; background: var(--forest); color: var(--cream); display: flex; font-family: var(--font-serif); font-size: clamp(17px, 1.7vw, 26px); font-style: italic; gap: clamp(18px, 3vw, 48px); justify-content: center; overflow: hidden; padding: 26px 24px; white-space: nowrap; }
.values-strip i { color: var(--butter); font-family: var(--font-sans); font-size: 13px; }

.section { padding: 120px clamp(28px, 7vw, 112px); }
.section-kicker { align-items: center; display: flex; gap: 14px; }
.section-kicker span { align-items: center; border: 1px solid var(--line); border-radius: 50%; display: flex; font-size: 10px; font-weight: 800; height: 35px; justify-content: center; width: 35px; }
.section-kicker p { font-size: 11px; font-weight: 800; letter-spacing: .13em; margin: 0; text-transform: uppercase; }
.section-kicker.light span { border-color: rgba(255,255,255,.28); }

.story { background: var(--paper); display: grid; gap: 60px; grid-template-columns: minmax(150px, .36fr) 1fr; }
.story h2, .career h2, .service h2, .hosting h2, .reviews h2, .family h2, .legacy h2, .contact h2 { font-size: clamp(52px, 6.3vw, 96px); line-height: .94; margin: 0; }
.story-grid { border-top: 1px solid var(--line); display: grid; gap: clamp(32px, 6vw, 92px); grid-template-columns: .8fr 1fr; margin-top: 62px; padding-top: 38px; }
.story-grid p { margin-top: 0; }
.story-grid .lead { font-family: var(--font-serif); font-size: clamp(23px, 2.2vw, 34px); line-height: 1.32; }
.story-detail { color: var(--muted-ink); font-size: 16px; line-height: 1.75; }
.story-detail p + p { margin-top: 20px; }
.inline-link { color: var(--ink); margin-top: 12px; }
.inline-link:hover { color: var(--clay); }

.portrait-frame { max-width: 620px; }
.portrait-frame img { object-position: center 30%; }
.portrait-note { max-width: 320px; }

.career { background: var(--sand); }
.career-heading { display: grid; gap: 60px; grid-template-columns: minmax(150px, .36fr) 1fr; }
.career-heading svg { color: var(--clay); margin-bottom: 25px; }
.career-list { display: grid; gap: 0; grid-template-columns: repeat(2, 1fr); margin: 80px 0 0 calc(26% + 42px); }
.career-item { border-top: 1px solid var(--line); min-height: 270px; padding: 30px 34px 38px 0; }
.career-item:nth-child(odd) { border-right: 1px solid var(--line); }
.career-item:nth-child(even) { padding-left: 34px; }
.career-period { color: var(--clay); font-size: 10px; font-weight: 800; letter-spacing: .13em; margin: 0 0 30px; text-transform: uppercase; }
.career-item h3 { font-family: var(--font-serif); font-size: clamp(25px, 2.2vw, 36px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 18px; }
.career-item > p:last-child { color: var(--muted-ink); font-size: 14px; line-height: 1.65; margin: 0; max-width: 430px; }

.service { background: var(--forest); color: var(--cream); }
.service-heading { align-items: end; display: flex; justify-content: space-between; margin: 55px 0 70px; }
.service-heading p { color: #dcc9e6; font-size: 16px; line-height: 1.65; margin: 0 0 5px; max-width: 390px; }
.service-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.service-card { color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; min-height: 440px; padding: 30px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { box-shadow: 0 22px 45px rgba(0,0,0,.2); transform: translateY(-6px); }
.service-card.coral { background: #e78baf; }
.service-card.sage { background: #cbb3e4; }
.service-card.gold { background: #f0cbe0; }
.card-top { align-items: center; border-bottom: 1px solid rgba(92,45,112,.22); display: flex; justify-content: space-between; padding-bottom: 18px; }
.card-top span, .card-role { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.card-role { margin: 48px 0 14px; }
.service-card h3 { font-family: var(--font-serif); font-size: clamp(29px, 2.4vw, 40px); font-weight: 400; letter-spacing: -.035em; line-height: 1; margin: 0; }
.card-detail { font-size: 14px; line-height: 1.6; margin: 22px 0; }
.card-link { align-items: center; display: flex; font-size: 12px; font-weight: 800; gap: 7px; }

.hosting { background: var(--paper); display: grid; grid-template-columns: 1.08fr .92fr; padding: 0; }
.hosting-photo { min-height: 840px; overflow: hidden; position: relative; }
.hosting-photo img { height: 100%; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.hosting-badge { align-items: center; background: var(--paper); border-radius: 999px; bottom: 32px; box-shadow: 0 15px 45px rgba(92,45,112,.18); display: flex; font-size: 12px; font-weight: 800; gap: 9px; left: 32px; padding: 14px 18px; position: absolute; }
.hosting-badge svg { color: var(--clay); }
.hosting-content { align-items: flex-start; display: flex; flex-direction: column; justify-content: center; padding: 95px clamp(32px, 6vw, 92px); }
.hosting-icon { color: var(--clay); margin: 62px 0 26px; }
.hosting-lead { color: var(--muted-ink); font-size: 16px; line-height: 1.75; margin: 35px 0 0; max-width: 590px; }
.hosting-stats { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 32px; padding: 27px 0; width: 100%; }
.hosting-stats > div { display: flex; flex-direction: column; padding-right: 14px; }
.hosting-stats > div + div { border-left: 1px solid var(--line); padding-left: 20px; }
.hosting-stats strong { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 45px); font-weight: 400; line-height: 1; }
.hosting-stats span { align-items: center; color: var(--muted-ink); display: flex; font-size: 9px; font-weight: 800; gap: 4px; letter-spacing: .08em; margin-top: 9px; text-transform: uppercase; }
.button-coral { background: var(--clay); color: white; }
.button-coral:hover { background: #be4a79; }
.rating-note { color: var(--muted-ink); font-size: 10px; margin: 16px 0 0; }

.reviews { background: var(--forest); color: var(--cream); }
.reviews-heading { align-items: flex-end; display: flex; justify-content: space-between; }
.reviews-heading .eyebrow { color: var(--sage); }
.review-score { align-items: flex-end; border-left: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; margin-bottom: 5px; padding-left: 44px; }
.review-score span { color: var(--butter); font-size: 13px; letter-spacing: .14em; }
.review-score strong { font-family: var(--font-serif); font-size: 50px; font-weight: 400; line-height: 1; margin: 8px 0 5px; }
.review-score small { color: #d6c2e6; font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.review-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 70px; }
.review-card { background: rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: space-between; margin: 0; min-height: 285px; padding: 34px; }
.review-stars { color: var(--butter); font-size: 11px; letter-spacing: .12em; }
.review-card blockquote { font-family: var(--font-serif); font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1.25; margin: 28px 0 40px; }
.review-card figcaption { color: #d6c2e6; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.reviews-link { color: var(--cream); margin-top: 34px; }
.reviews-link:hover { color: var(--butter); }

.family { background: var(--paper); display: grid; gap: clamp(38px, 6vw, 88px); grid-template-columns: 1.05fr .95fr; }
.family-photo { min-height: 540px; overflow: hidden; position: relative; }
.family-photo img { height: 100%; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.family-photo > span { background: var(--butter); bottom: 20px; font-family: var(--font-serif); font-size: 17px; left: 20px; padding: 14px 18px; position: absolute; }
.family-content { align-self: center; }
.family-content h2 { margin-top: 55px; }
.family-content > p { color: var(--muted-ink); font-size: 16px; line-height: 1.75; margin: 34px 0 14px; max-width: 560px; }
.family-content .family-grandsons-copy { border-left: 3px solid var(--butter); font-family: var(--font-serif); font-size: 17px; margin: 0 0 30px; padding: 5px 0 5px 16px; }
.sons-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
.son-card { align-items: center; border: 1px solid var(--line); display: flex; gap: 17px; padding: 17px; transition: background .2s ease, transform .2s ease; }
.son-card:hover { background: var(--sand); transform: translateX(4px); }
.son-monogram { align-items: center; background: var(--forest); border-radius: 50%; color: var(--cream); display: flex; flex: 0 0 auto; font-family: var(--font-serif); font-size: 22px; height: 49px; justify-content: center; width: 49px; }
.son-photo { border-radius: 50%; flex: 0 0 auto; height: 62px; object-fit: cover; width: 62px; }
.son-card > div { display: flex; flex-direction: column; min-width: 0; }
.son-card small { color: var(--muted-ink); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.son-card strong { font-family: var(--font-serif); font-size: 21px; font-weight: 400; margin: 3px 0; }
.son-card div > span { align-items: center; color: var(--clay); display: flex; font-size: 10px; font-weight: 800; gap: 4px; }
.family-gallery { display: grid; gap: 12px; grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); margin-top: 12px; }
.family-gallery figure { background: var(--sand); display: flex; flex-direction: column; margin: 0; min-height: 330px; overflow: hidden; }
.family-gallery img { flex: 1; height: 300px; object-fit: cover; width: 100%; }
.family-gallery .gallery-wide { grid-column: span 2; }
.family-gallery .gallery-wide img { object-position: center; }
.family-gallery figcaption { font-size: 9px; font-weight: 800; letter-spacing: .1em; padding: 15px 16px; text-transform: uppercase; }

.contact { align-items: center; background: var(--clay); color: white; display: flex; flex-direction: column; text-align: center; }
.contact .eyebrow { margin-bottom: 30px; }
.contact h2 em { color: var(--butter); }
.contact > p:not(.eyebrow) { font-family: var(--font-serif); font-size: 20px; margin: 28px 0 38px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-links a { align-items: center; background: white; border-radius: 999px; color: var(--ink); display: flex; font-size: 13px; font-weight: 800; gap: 9px; padding: 16px 21px; transition: transform .2s ease; }
.contact-links a:hover { transform: translateY(-3px); }

.legacy { align-items: center; background: var(--sand); display: flex; flex-direction: column; overflow: hidden; position: relative; text-align: center; }
.legacy::before, .legacy::after { border: 1px solid rgba(92,45,112,.15); border-radius: 50%; content: ''; position: absolute; }
.legacy::before { height: 280px; left: -165px; top: 45px; width: 280px; }
.legacy::after { bottom: -170px; height: 330px; right: -190px; width: 330px; }
.legacy-mark { align-items: center; background: var(--butter); border-radius: 50%; display: flex; height: 72px; justify-content: center; margin-bottom: 28px; width: 72px; }
.legacy .eyebrow { margin-bottom: 35px; }
.legacy h2 { max-width: 830px; }
.legacy-copy { font-size: 17px; line-height: 1.7; margin: 38px auto 0; max-width: 680px; }

footer { align-items: center; background: var(--paper); display: grid; font-size: 12px; grid-template-columns: 1fr auto 1fr; padding: 44px clamp(28px, 7vw, 112px); }
footer p { color: var(--muted-ink); line-height: 1.6; margin: 0; }
.footer-name { color: var(--ink); font-family: var(--font-serif); font-size: 21px; }
.footer-links { display: flex; gap: 10px; }
.footer-links a { align-items: center; border: 1px solid var(--line); border-radius: 50%; display: flex; height: 42px; justify-content: center; transition: background .2s ease, color .2s ease; width: 42px; }
.footer-links span { font-size: 11px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.footer-links a:hover { background: var(--forest); color: var(--cream); }
.back-top { justify-self: end; font-weight: 700; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 760px; }
  .hero-visual { min-height: 760px; }
  .photo-frame { height: 640px; margin: 0 auto; max-width: 620px; }
  .story { grid-template-columns: 1fr; }
  .story-grid { gap: 42px; }
  .career-heading { grid-template-columns: 1fr; }
  .career-list { margin-left: 0; }
  .service-heading { align-items: start; flex-direction: column; gap: 30px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; }
  .hosting { grid-template-columns: 1fr; }
  .hosting-photo { min-height: 650px; }
  .reviews-heading { align-items: flex-start; flex-direction: column; gap: 42px; }
  .review-score { align-items: flex-start; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding: 26px 0 0; }
  .family { grid-template-columns: 1fr; }
  .family-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .site-header { padding: 18px 20px; }
  .wordmark-name { display: none; }
  nav > a:not(.nav-social) { display: none; }
  .hero-copy { min-height: 700px; padding: 130px 24px 72px; }
  h1 { font-size: clamp(59px, 18vw, 79px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 19px; }
  .hero-visual { min-height: 600px; padding: 60px 22px; }
  .photo-frame { height: 540px; min-height: 0; }
  .hero-stamp { height: 100px; right: 6px; top: 27px; width: 100px; }
  .hero-stamp span { font-size: 6px; }
  .hero-stamp strong { font-size: 26px; }
  .photo-note { bottom: 26px; left: 8px; }
  .values-strip { justify-content: flex-start; overflow-x: hidden; }
  .section { padding: 85px 24px; }
  .story { gap: 42px; }
  .story-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .career-list { grid-template-columns: 1fr; margin-top: 50px; }
  .career-item:nth-child(odd) { border-right: 0; }
  .career-item:nth-child(even) { padding-left: 0; }
  .service-heading { margin: 42px 0 48px; }
  .service-card { min-height: 410px; }
  .hosting-photo { min-height: 480px; }
  .hosting-content { padding: 76px 24px; }
  .hosting-icon { margin-top: 48px; }
  .hosting-stats { grid-template-columns: 1fr; }
  .hosting-stats > div { padding: 16px 0; }
  .hosting-stats > div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .review-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .review-card { min-height: 260px; padding: 27px; }
  .family-photo { min-height: 420px; }
  .family-content h2 { margin-top: 42px; }
  .family-gallery { grid-template-columns: 1fr; }
  .family-gallery .gallery-wide { grid-column: auto; }
  .family-gallery figure { min-height: 0; }
  .family-gallery img { height: 330px; }
  .contact-links { align-items: stretch; flex-direction: column; width: 100%; }
  .contact-links a { justify-content: center; }
  footer { gap: 28px; grid-template-columns: 1fr auto; }
  .footer-links { justify-self: end; }
  .back-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* --- Static-build fixes (Claude, Sept 2026) ---------------------------------
   1. .family-photo forced a 2.95:1 group photo into a tall portrait box, and
      object-fit:cover cropped both sons out of the one picture that is about
      the sons. Let the container hug the image instead. */
.family-photo { align-self: center; min-height: 0; }
.family-photo img { height: auto; object-fit: contain; position: static; width: 100%; }
@media (max-width: 980px) { .family-photo { min-height: 0; } }
/* 2. The caption badge overlapped a face once the photo was no longer cropped;
      sit it under the picture instead. */
.family-photo { display: flex; flex-direction: column; }
.family-photo > span { align-self: flex-start; bottom: auto; left: auto; position: static; }

/* 3. Karen's KJB logo replaces the CSS-drawn "K" badge in the header and the
      "KB / Quad Cities" hero stamp. */
.wordmark-logo { display: block; height: 46px; width: 46px; }
.hero-stamp {
  background: none;
  border-radius: 0;
  height: auto;
  transform: rotate(-6deg);
  width: auto;
}
.hero-stamp img {
  display: block;
  filter: drop-shadow(0 12px 26px rgba(92,45,112,.3));
  height: 138px;
  width: 138px;
}
.footer-brand { align-items: center; display: flex; gap: 14px; }
.footer-logo { display: block; flex: 0 0 auto; height: 54px; width: 54px; }
.legacy-mark img { display: block; height: 78px; width: 78px; }
@media (max-width: 680px) {
  .hero-stamp img { height: 104px; width: 104px; }
  .footer-brand { gap: 11px; }
  .footer-logo { height: 44px; width: 44px; }
}
