/* Shared presentation for the home, service and information pages. */
:root {
  --paper: #faf8f3;
  --pale: #f0f4ee;
  --warm: #ece4d8;
  --gold: #d7b773;
  --ink: #173630;
  --muted: #46645d;
  --rule: #d6e1d9;
  --headline: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --section-space: clamp(3.25rem, 7vw, 6.25rem);
}
html { scroll-padding-top: 6.5rem; }
body { line-height: 1.65; }
h1, h2 {
  font-family: var(--headline);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -.043em;
}
h1, h2, h3 { text-wrap: balance; }
h3 { letter-spacing: -.028em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid #087bbd;
  outline-offset: 4px;
}
.topline { background: #163f37; }
.masthead { background: #fff; }
.masthead .wrap { min-height: 82px; }
.navigation a { white-space: nowrap; }
.navigation a[aria-current="page"] { color: #205c48; }
.navigation a[aria-current="page"]:after { right: 0; }
.button {
  background: #155448;
  min-height: 48px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.button:hover { background: #103f37; transform: none; }
.button.yellow { background: #f0d78f; }
.button.yellow:hover { background: #f9e5af; }
.menu-caption { display: none; }
.hero {
  min-height: clamp(34rem, 55vw, 43rem);
  display: grid;
  align-items: center;
  background: #163932;
}
.hero > .wrap { margin-inline: auto; }
.hero-photo { object-position: 65% 48%; }
.hero:before {
  background: linear-gradient(90deg, #112f29 0%, #112f29ed 23%, #112f29a6 46%, #112f2926 71%, transparent 100%);
}
.hero:after, .hero h1 em:after { content: none; }
.hero-content { padding: clamp(4rem, 8vw, 7rem) 0; max-width: 37rem; }
.hero h1 { font-size: clamp(3.2rem, 6.5vw, 5.6rem); margin: 0 0 1.35rem; }
.hero h1 em { color: #f0d78f; }
.hero-intro { color: #f1f5ed; }
.hero .text-link { padding-block: .5rem; }
.hero-email { color: #eff8ed; }
.hero-cert { margin-top: 1.5rem; }
.proof { padding-block: 1.6rem; }
.intro-section, .finder-section, .areas, .testimonials { padding-block: var(--section-space); }
.intro-grid, .finder-grid, .areas-grid { gap: clamp(2rem, 6vw, 5rem); }
.portrait-composition { padding: 0; }
.portrait-composition:before, .dot-detail, .portrait-label { display: none; }
.portrait-composition img { border-radius: 48% 48% .6rem .6rem; transform: none; }
.services { padding-block: var(--section-space); background: var(--pale); }
.care-tabs, .care-tab, .care-bottom { border-color: #c9d8ce; }
.care-tab { color: #43655c; }
.care-tab:hover { color: #174e42; }
.care-tab[aria-selected=true], .care-bottom a { color: #155448; }
.care-panel { min-height: 20rem; }
.finder {
  min-height: 0;
  padding: clamp(1.2rem, 3vw, 2.1rem);
  background: var(--paper);
  border: 1px solid #e4ddcf;
  border-radius: 1rem;
}
.finder-progress .done { background: #20705b; }
.choice { border-radius: .65rem; min-height: 58px; }
.choice[aria-pressed=true] { border-color: #20705b; background: #eaf1e9; }
.specialist-list { background: var(--paper); }
.specialist-list .specialist-links, .page-copy .specialist-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.25rem;
}
.specialist-links a {
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: .8rem 2.5rem .8rem 1rem;
  background: #fff;
  border: 1px solid #d6e1d9;
  border-radius: .55rem;
  font-weight: 640;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.specialist-links a:after {
  content: '';
  width: .46rem;
  height: .46rem;
  position: absolute;
  right: 1.05rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  rotate: 45deg;
}
.specialist-links a:hover { border-color: #749889; background: #f5f9f5; }
.testimonials { background: #163c34; }
.review-controls { flex-wrap: wrap; }
.review-button { min-height: 46px; }
.area-options button { min-height: 44px; }
.area-options button[aria-selected="true"] { background: #175a48; }
.faq-section { padding-bottom: var(--section-space); }
.contact {
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
  background: #eee6d7;
}
.contact .contact-grid { gap: clamp(2rem, 5vw, 4.5rem); }
.contact .callback-form {
  min-width: 0;
  background: #fffdf9;
  border: 1px solid #dbd1c1;
  border-radius: .85rem;
  padding: clamp(1.1rem, 3.1vw, 2rem);
}
.contact .callback-form h3 { margin-top: 0; }
.contact .button { background: #155448; }
.care-enquiry-form input, .care-enquiry-form select { min-height: 48px; }
.foot { background: var(--paper); }
.foot .brand { mix-blend-mode: multiply; }
.subhero {
  background: var(--paper);
  padding: clamp(2.5rem, 6.3vw, 5.6rem) 0;
  border-bottom: 1px solid #ebe5d9;
}
.subhero h1 {
  font-size: clamp(2.55rem, 5.4vw, 5rem);
  margin: .65rem 0 1.2rem;
}
.subhero .breadcrumbs { margin-bottom: clamp(.8rem, 2vw, 1.5rem); color: var(--muted); }
.subhero .breadcrumbs a { text-underline-offset: 3px; }
.subhero .intro { color: #395c52; }
.subhero .specialist-actions { margin-top: 1.4rem; }
.subhero .specialist-actions .button { margin-top: 0; }
.specialist-grid > figure { min-width: 0; }
.specialist-grid .subhero-photo { border-radius: .65rem; }
.regional-content { padding-block: var(--section-space); }
.page-copy { max-width: 48rem; }
.page-copy > section + section { margin-top: clamp(1.75rem, 4.4vw, 3rem); }
.page-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); margin-bottom: .75rem; }
.page-copy section[id] { scroll-margin-top: .75rem; }
.page-copy p { line-height: 1.75; }
.page-copy h2 + p, .page-copy p + p { max-width: 65ch; }
.specialist-proof { background: var(--pale); }
.page-jump {
  background: #fff;
  border-bottom: 1px solid var(--rule);
}
.page-jump .slim {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  align-items: center;
  padding-block: .65rem;
}
.page-jump strong { color: var(--muted); font-size: .85rem; }
.page-jump a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #22584a;
  font-size: .9rem;
  font-weight: 650;
  text-decoration-color: #749889;
  text-underline-offset: .2em;
}
.page-jump a:hover { text-decoration-thickness: 2px; }
.isa-profile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(90deg, #f7f2e9 36%, #ded1c2 75%, #bcae9f 100%);
  padding-block: 0;
}
.isa-profile .slim {
  display: flex;
  align-items: center;
  min-height: clamp(29rem, 54vw, 42rem);
}
.isa-profile .profile-intro {
  width: min(53%, 36rem);
  padding-block: clamp(2.7rem, 7vw, 5rem);
}
.isa-profile .isa-portrait {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: min(56%, 58rem);
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 17%;
  border-radius: 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.isa-profile h1 { max-width: 12ch; }
.isa-profile .intro { max-width: 38ch; }
.isa-care-scene img { border-radius: .65rem; }
.team-values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1.5rem;
  margin-top: 1.2rem;
}
.team-values > div { padding-top: .85rem; border-top: 1px solid var(--rule); }
.team-values dt { margin-top: 0; }
@media (max-width: 900px) {
  .masthead .wrap { min-height: 70px; }
  .menu-toggle {
    display: inline-flex;
    width: auto;
    min-height: 44px;
    align-items: center;
    gap: .65rem;
    border-radius: 2rem;
    padding: .4rem .85rem;
  }
  .menu-toggle .menu-icon { display: grid; gap: .26rem; margin: 0; height: auto; background: none; }
  .menu-toggle .menu-icon > span { margin: 0; }
  .menu-toggle .menu-caption { display: inline; width: auto; height: auto; margin: 0; background: none; font-size: .9rem; font-weight: 650; }
  .navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - 8rem);
    overflow-y: auto;
    padding: .55rem 6vw 1rem;
    background: white;
    box-shadow: 0 12px 28px #1535321a;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .navigation.open { display: flex; }
  .navigation a { padding: .75rem .15rem; white-space: normal; }
  .navigation a:not(.button) { border-bottom: 1px solid var(--rule); }
  .navigation a:not(.button):after { content: none; }
  .navigation .button { margin-top: .65rem; }
  .navigation .nav-email { display: block; }
  .contact .contact-grid { gap: 2rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 5.5rem; }
  .topline .wrap { min-height: 30px; align-items: center; }
  .hero { min-height: auto; align-items: end; }
  .hero-photo { height: clamp(15rem, 73vw, 23rem); object-position: 71% 34%; }
  .hero:before { background: linear-gradient(180deg, #16393200 17%, #163932 50%); }
  .hero-content { padding: clamp(12rem, 59vw, 19rem) 0 2.6rem; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 4.4rem); max-width: 16ch; }
  .hero-intro { max-width: 36ch; }
  .hero-actions { gap: .5rem 1rem; }
  .hero-cert { margin-top: 1rem; }
  .care-tabs {
    flex-wrap: wrap;
    gap: .45rem;
    overflow: visible;
  }
  .care-tab, .care-tab[aria-selected=true] {
    padding: .52rem .7rem;
    min-height: 44px;
    border: 1px solid #b7cbbe;
    border-radius: .5rem;
    font-size: .93rem;
    letter-spacing: 0;
    line-height: 1.25;
    white-space: normal;
  }
  .care-tab[aria-selected=true] { background: #155448; border-color: #155448; color: white; }
  .care-panel { min-height: auto; padding-block: 1.65rem; }
  .finder { min-height: 0; }
  .review-quote { min-height: 0; }
  .contact .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact h2 { font-size: clamp(2.45rem, 9vw, 3.35rem); }
  .foot-bottom { padding-bottom: 4.6rem; }
  .mobile-contact {
    background: #fffffffa;
    border-top: 1px solid var(--rule);
    gap: .65rem;
    padding: .44rem 1rem calc(.44rem + env(safe-area-inset-bottom));
  }
  .mobile-contact a:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    min-height: 44px;
    border: 1px solid #b7cbbe;
    border-radius: 2rem;
  }
  .mobile-contact .button { flex: 1; min-height: 44px; }
  .subhero h1 { font-size: clamp(2.6rem, 9vw, 4.25rem); }
  .subhero .intro { font-size: 1.03rem; }
  .regional-contact { min-height: 44px; display: inline-flex; align-items: center; }
  .page-jump .slim { column-gap: .85rem; }
  .page-jump strong { flex-basis: 100%; }
  .isa-profile { background: #f6f0e6; }
  .isa-profile .slim { display: block; min-height: 0; }
  .isa-profile .profile-intro { width: 100%; padding: 2.2rem 0 .7rem; }
  .isa-profile h1 { max-width: 17ch; }
  .isa-profile .isa-portrait {
    position: relative;
    inset: auto;
    width: 100vw;
    height: clamp(19rem, 77vw, 31rem);
    max-height: none;
    margin-inline: calc((100% - 100vw) / 2);
    object-position: 50% 17%;
    mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
  }
}
@media (max-width: 520px) {
  .page-copy .specialist-links, .specialist-list .specialist-links, .team-values {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact .callback-form { padding-inline: .85rem; }
  .choices { grid-template-columns: minmax(0, 1fr); }
  .choice { min-height: 46px; padding: .65rem .8rem; }
  .choice[aria-pressed=true] { padding: calc(.65rem - 1px) calc(.8rem - 1px); }
}
@media (prefers-reduced-motion: reduce) {
  .button, .specialist-links a { transition: none; }
}

