/* Shared, deliberately scoped light section for every Inland MD design. */
.life-section {
  --life-accent: var(--brand, var(--accent, #28665f));
  --life-ink: #193d3e;
  --life-muted: #526662;
  --life-paper: #fbfaf6;
  --life-border: #dce2d9;
  box-sizing: border-box;
  isolation: isolate;
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(64px, 7vw, 112px) 0;
  background: #f3f3ec;
  color: var(--life-ink);
  color-scheme: light;
  font-family: var(--sans, "DM Sans", Arial, sans-serif);
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  scroll-margin-top: 96px;
}
.life-section *, .life-section *::before, .life-section *::after { box-sizing: border-box; }
.life-section [hidden] { display: none !important; }
.life-section .life-shell {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr);
  align-items: center;
  gap: clamp(36px, 5.5vw, 82px);
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}
.life-section .life-copy, .life-section .life-media { min-width: 0; }
.life-section .life-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--life-ink);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  line-height: 1.5;
  text-transform: uppercase;
}
.life-section .life-eyebrow::before {
  content: "";
  flex: 0 0 28px;
  height: 2px;
  background: var(--life-accent);
}
.life-section .life-title {
  max-width: 10ch;
  margin: 0 0 24px;
  padding: 0;
  color: var(--life-ink);
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: clamp(2.7rem, 4.6vw, 4.7rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.07;
  text-transform: none;
  text-wrap: balance;
}
.life-section .life-intro, .life-section .life-local {
  max-width: 43ch;
  margin: 0 0 18px;
  padding: 0;
  color: var(--life-muted);
  font: inherit;
  letter-spacing: 0;
}
.life-section .life-intro { font-size: 1.075rem; line-height: 1.7; }
.life-section .life-local { font-size: .95rem; }
.life-section .life-care-links {
  display: grid;
  gap: 0;
  max-width: 390px;
  margin: 24px 0 26px;
  padding: 0;
  border-top: 1px solid var(--life-border);
  list-style: none;
}
.life-section .life-care-links li { margin: 0; padding: 0; list-style: none; }
.life-section .life-care-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 47px;
  padding: 9px 0;
  border-bottom: 1px solid var(--life-border);
  color: var(--life-ink);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  text-underline-offset: 4px;
}
.life-section .life-care-links a:hover { text-decoration: underline; }
.life-section .life-office-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid var(--life-ink);
  border-radius: 3px;
  background: var(--life-ink);
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.life-section .life-office-link:hover { background: #295453; }
.life-section .life-media {
  overflow: hidden;
  border: 1px solid var(--life-border);
  border-radius: 7px;
  background: var(--life-paper);
  box-shadow: 0 14px 50px rgb(25 61 62 / 5%);
}
.life-section .life-slide { display: block; margin: 0; padding: 0; }
.life-section .life-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e3e9df;
}
.life-section .life-photo {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}
.life-section .life-caption {
  display: grid;
  align-content: center;
  gap: 6px;
  min-height: 116px;
  margin: 0;
  padding: 24px 28px;
  color: var(--life-ink);
  text-align: left;
}
.life-section .life-slide-title {
  margin: 0;
  padding: 0;
  color: var(--life-ink);
  font-family: var(--serif, Georgia, "Times New Roman", serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.25;
  text-transform: none;
}
.life-section .life-slide-description {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--life-muted);
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
}
.life-section .life-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 77px;
  padding: 12px 20px;
  border-top: 1px solid var(--life-border);
  background: var(--life-paper);
}
.life-section .life-control, .life-section .life-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: var(--life-ink);
  box-shadow: none;
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.life-section .life-toggle { gap: 7px; padding: 0 8px; border-radius: 4px; }
.life-section .life-direction { border-color: var(--life-border); }
.life-section .life-control:hover, .life-section .life-dot:hover { background: #e9eee6; }
.life-section .life-control:active { background: #dfe8db; }
.life-section .life-navigation, .life-section .life-dots { display: flex; align-items: center; gap: 7px; }
.life-section .life-dots { gap: 0; }
.life-section .life-dot { min-width: 30px; width: 30px; border-radius: 4px; }
.life-section .life-dot span {
  display: block;
  width: 6px;
  height: 6px;
  border: 1px solid #667b70;
  border-radius: 50%;
  background: transparent;
}
.life-section .life-dot[aria-current="true"] span { width: 8px; height: 8px; border-color: var(--life-ink); background: var(--life-ink); }
.life-section .life-counter { min-width: 44px; margin-right: 4px; color: var(--life-muted); font-size: .7rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.life-section .life-icon { display: block; flex: 0 0 auto; }
.life-section a:focus-visible, .life-section button:focus-visible { outline: 3px solid #9a6326; outline-offset: 4px; }
.life-section .life-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.life-section .life-slide.life-entering { animation: life-photo-appear 480ms ease-out both; }
@keyframes life-photo-appear { from { opacity: .32; } to { opacity: 1; } }
@media (max-width: 1000px) and (min-width: 761px) {
  .life-section .life-controls { padding-inline: 12px; }
  .life-section .life-counter { display: none; }
  .life-section .life-caption { padding-inline: 22px; }
}
@media (max-width: 760px) {
  .life-section { padding: 62px 0; }
  .life-section .life-shell { grid-template-columns: minmax(0, 1fr); gap: 34px; width: calc(100% - 48px); max-width: 580px; }
  .life-section .life-title { max-width: 11ch; font-size: clamp(2.65rem, 10.5vw, 3.6rem); }
  .life-section .life-intro, .life-section .life-local { max-width: none; }
  .life-section .life-care-links { max-width: none; }
  .life-section .life-caption { min-height: 118px; padding: 20px; }
  .life-section .life-controls { padding: 12px; gap: 4px; }
  .life-section .life-navigation { gap: 5px; }
  .life-section .life-counter { min-width: 38px; margin-right: 0; font-size: .65rem; }
  .life-section .life-toggle { gap: 5px; padding-inline: 5px; }
  .life-section .life-dot { min-width: 24px; width: 24px; }
}
@media (max-width: 370px) {
  .life-section .life-counter { display: none; }
  .life-section .life-office-link { gap: 8px; padding-inline: 15px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .life-section .life-slide.life-entering { animation: none; }
}
