/* Shared palette and navigation */
:root {
  --surface: #f7f8f2;
  --ink: #213d3e;
  --blue: #163f50;
  --green: #28654f;
  --muted: #4a625c;
  --line: #c7d8cb;
  --sage: #e3eee2;
  --blue-light: #e3eff0;
  --card: #fcfcf7;
  --forest: #174e42;
  --sea: #d6e9e4;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner { min-height: 80px; }
.wordmark { position: relative; padding-left: 48px; line-height: 1.1; }
.wordmark::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  transform: translateY(-50%);
  width: 36px;
  height: 40px;
  background: url("/assets/favicon.svg") center / contain no-repeat;
}
.wordmark span { margin-top: 5px; color: var(--green); }
#navigation { gap: clamp(14px, 1.6vw, 24px); }
#navigation a { font-size: .9rem; }
#navigation .booking-link, .button-blue, .hero .button-blue {
  color: #fff;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-weight: 600;
}
#navigation .booking-link { padding: 10px 18px; }
#navigation .booking-link:hover, .button-blue:hover, .hero .button-blue:hover {
  color: #fff;
  background: #0c3930;
}
#navigation .booking-link[aria-current=page] { color: #fff; text-underline-offset: 3px; }

/* Opening spread */
.hero {
  background: linear-gradient(112deg, #f2f5ea 6%, #e2eee1 53%, #c9e2df);
  border-bottom: 1px solid #bdd5c9;
}

.hero-grid {
  gap: clamp(30px, 5vw, 80px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  padding-block: clamp(44px, 6vw, 86px);
}
.hero .section-label, .section-label {
  color: var(--green);
  font-weight: 600;
  font-size: .875rem;
  letter-spacing: .045em;
}
.hero h1 {
  color: var(--blue);
  font-size: clamp(3rem, 4.85vw, 4.65rem);
  line-height: 1.06;
  letter-spacing: -.045em;
}
.hero h1 em, .about-copy h2 em, .life-heading h2 em { color: var(--green); font-style: italic; }
.hero-description { color: var(--ink); max-width: 47ch; }
.hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
.hero .underlined-link { align-self: center; color: var(--blue); border-color: #65847a; }
.hero-figure { background: transparent; border-radius: 0; box-shadow: none; padding: 0; }
.hero-image { border-radius: clamp(52px, 8vw, 118px) 14px 14px 14px; aspect-ratio: 1.48; }
.hero-figure figcaption { color: #37584f; padding: 12px 0 0; }
.hero-figure figcaption::before { background: var(--green); }

/* Visitor paths and editorial sections */
.wayfinding { background: var(--blue); }
.wayfinding-inner { gap: 0; padding-block: 20px; border: 0; }
.wayfinding-inner p { color: #e5f0e6; padding-right: 14px; }
.wayfinding-inner a { padding: 9px 16px; border-color: #62818a; color: #fbfcf5; }
.wayfinding-inner span { color: #d3e4dc; }
.wayfinding-inner a:hover { background: #ffffff0d; }
.about-grid { max-width: 1030px; }
.about-figure figcaption strong { color: var(--forest); }
.about-copy > p:not(.section-label) { max-width: 66ch; }
.life-section { background: var(--sage); }
.life-story { background: var(--surface); border-color: var(--line); border-radius: 16px; }
.story-photo { margin: 0; border-radius: 15px 15px 0 0; }
.story-copy { padding: clamp(22px, 3vw, 38px); }
.retirement-grid { background: var(--blue-light); border-color: #c2d8d7; }
.faq-list { border: 0; }
.faq-list details { background: #edf2e9; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 9px; }
.faq-list details[open] { background: #e2ece2; }
.faq-list summary { padding: 17px 22px; align-items: center; }
.faq-list details > p { padding: 0 22px 20px; }
.contact { background: var(--forest); }
.contact .contact-book {
  margin-top: 22px;
  background: #eff5e6;
  color: #164638;
  border-radius: 999px;
  text-decoration: none;
}
.contact .contact-book:hover { background: white; }
.contact-copy > p:not(.section-label) { margin-top: 20px; color: #e1ede0; }
.site-footer { background: #ebf0e7; }

/* Shared surfaces for the working pages */
.insurance-products-page .insurance-products-heading,
.page-main .community-hero {
  background: linear-gradient(110deg, #eef4e9, #d9eae3);
  border-bottom: 1px solid var(--line);
}
.intro-photo { background: transparent; padding: 0; border: 0; }
.intro-photo img { border-radius: 40px 12px 12px 12px; }
.insurance-products-page .insurance-category { background: var(--card); }
.insurance-products-page .insurance-category[open] { background: #e8f0e7; }
.community-aside .host-card, .community-layout .composer { background: #e4eee5; border-radius: 14px; }
.rt-page .rt-hero { border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.rt-page .rt-panel, .rt-page .rt-metric { border-radius: 12px; }
.rt-page .rt-panel { background: var(--card); }
.rt-page .rt-metric-main { background: var(--blue); }
.booking-page .booking-hero {
  background: linear-gradient(118deg, #143c4b, #1c5648);
}
.booking-page .booking-hero-note { border-color: #7ca295; }
.booking-page .booking-box, .admin-main .login-card {
  background: var(--card);
  border-radius: 16px;
  border-color: var(--line);
}
.booking-page .booking-slots button { border-radius: 8px; }
.booking-page .booking-slots button.selected { background: var(--forest); }
.admin-container .admin-tabs { border-bottom-color: var(--line); }
.prose-page { max-width: 80ch; }

@media (min-width: 951px) and (max-width: 1100px) {
  #navigation { gap: 12px; }
  #navigation a { font-size: .85rem; }
}
@media (max-width: 950px) {
  #navigation { top: 100%; background: var(--surface); }
  #navigation .booking-link { text-align: center; margin-top: 8px; }
  .wayfinding-inner p { margin-bottom: 8px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 34px; }
  .hero h1 { font-size: clamp(2.7rem, 9vw, 3.9rem); }
  .hero-image { border-top-left-radius: 48px; }
  .header-inner { min-height: 70px; }
}
@media (max-width: 650px) {
  .wayfinding-inner { padding-block: 20px 12px; }
  .wayfinding-inner a { padding: 13px 0; border-top-color: #52727a; }
  .hero .underlined-link { align-self: center; }
  .wordmark { padding-left: 42px; }
  .wordmark::before { width: 32px; }
  .faq-list summary { padding: 15px; }
  .faq-list details > p { padding-inline: 15px; }
}
@media (max-width: 410px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero .underlined-link { align-self: flex-start; }
}

/* Masthead: the advisor's name and a single photographic detail. */
.hero {
  background: #f4f5ed;
  border: 0;
}
.hero-grid {
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(38px, 5vw, 76px);
}
.hero h1 {
  font-size: clamp(3.6rem, 6.7vw, 6.45rem);
  line-height: .99;
  letter-spacing: -.055em;
}
.hero .section-label {
  border-top: 1px solid #96aaa0;
  padding-top: 14px;
  margin-bottom: 25px;
  width: fit-content;
}
.hero-description { max-width: 41ch; font-size: 1.06rem; }
.hero-image { aspect-ratio: 1.42; border-radius: 2px; }
.hero-image img { object-position: 52% 48%; }
.hero-actions { column-gap: 24px; }
.hero .button-blue, #navigation .booking-link, .contact .contact-book {
  border-radius: 6px;
}
.wayfinding { background: #e5eee5; border-block: 1px solid #c4d4c8; }
.wayfinding-inner p, .wayfinding-inner a { color: var(--blue); }
.wayfinding-inner a { border-color: #b1c5b8; }
.wayfinding-inner span { color: #415c51; }
.wayfinding-inner a:hover { background: #dbe8da; }
.life-section { background: #f1f3eb; }
.life-heading { margin-bottom: 28px; }
.life-grid {
  grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.life-story { border: 0; background: transparent; }
.story-photo { border-radius: 2px; aspect-ratio: 1.68; }
.life-story-learning { margin-top: clamp(32px, 5vw, 68px); }
.life-story-learning .story-photo { aspect-ratio: 1.56; }
.story-copy { padding: 20px 0 0; }
.story-copy .section-label { margin-bottom: 7px; }
.story-copy h3 { letter-spacing: -.035em; }
.about-copy h2, .life-heading h2 { line-height: 1.13; }
.faq-list details { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 20px 4px; }
.faq-list details > p { padding: 0 22px 20px 4px; }
.faq-list details[open] { background: transparent; }
.intro-photo img, .retirement-grid { border-radius: 4px; }
.insurance-products-page .insurance-products-heading, .page-main .community-hero { background: #e6eee5; }
.booking-page .booking-hero { background: #204c47; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hero h1 { font-size: clamp(3.6rem, 12vw, 5.1rem); }
  .hero .section-label { padding-top: 10px; margin-bottom: 20px; }
  .hero-image { aspect-ratio: 1.78; }
  .life-grid { grid-template-columns: minmax(0,1fr); gap: 40px; }
  .life-story-learning { margin-top: 0; }
}
