/* Caring Hands Services
   One face (Atkinson Hyperlegible Next), the logo's plum for type, its pink for anything you can act on.
   Shape rule: buttons are pills, tiles and panels 20 to 24px, fields 12px,
   and every photo that touches a viewport edge gets one large "held" corner. */

@font-face {
  font-family: "Atkinson Next";
  src: url("/assets/fonts/atkinson-next-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Next";
  src: url("/assets/fonts/atkinson-next-latin-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #fbf5f8;
  --tint: #f5e6ee;
  --surface: #fffcfd;
  --ink: #2b0a20;
  --ink-2: #5a3b4f;
  --head: #680249;
  --action: #cf0745;
  --action-hover: #ae0539;
  --on-action: #fffcfd;
  --line: rgba(104, 2, 73, 0.18);
  --field: #8a6079;
  --focus: #680249;
  --foot: #540139;
  --foot-ink: #fbeaf2;
  --foot-ink-2: #e6c4d6;
  --foot-line: rgba(251, 234, 242, 0.22);
  --shadow: 0 18px 40px -18px rgba(104, 2, 73, 0.35);

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --edge: max(var(--gutter), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px), calc((100vw - 90rem) / 2));
  --held: clamp(3rem, 8vw, 7rem);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a0713;
    --tint: #24101c;
    --surface: #2a1522;
    --ink: #f6eaf1;
    --ink-2: #cdb4c4;
    --head: #fbeaf2;
    --action: #cf0745;
    --action-hover: #b8063e;
    --line: rgba(246, 234, 241, 0.18);
    --field: #a58a9a;
    --focus: #ff9dbb;
    --foot: #12040d;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.6 "Atkinson Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}
ul[role="list"],
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
.h3 {
  color: var(--head);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.25rem, 1.3rem + 3.3vw, 3.75rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
}
h2 {
  font-size: clamp(1.75rem, 1.25rem + 1.9vw, 2.75rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.018em;
}
h3,
.h3 {
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.45rem);
  font-weight: 720;
  line-height: 1.25;
  letter-spacing: -0.008em;
}
/* Set in rem: Atkinson's wide zero makes 65ch come out near 90 characters. */
p {
  max-width: 36rem;
  text-wrap: pretty;
}
.lead {
  font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.35rem);
  line-height: 1.55;
}
h2 + p,
h1 + p,
p + p,
h3 + p,
.h3 + p,
h1 + .h3 {
  margin-top: 1.1em;
}
h1 + .h3 {
  margin-top: 1.5rem;
}

a {
  color: var(--head);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--action);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}
.ic {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 30;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-radius: 999px;
}
.skip:focus {
  top: 1rem;
}

.wrap {
  padding-inline: var(--edge);
}
.sec {
  padding-block: clamp(4rem, 9vw, 8rem);
}
.sec--tint {
  background: var(--tint);
}
.measure {
  max-width: 46rem;
}

/* ---------------------------------------------------------------- buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  border: 2px solid var(--action);
  border-radius: 999px;
  background: var(--action);
  color: var(--on-action);
  font: inherit;
  font-size: 1.125rem;
  font-weight: 720;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn--sm {
  min-height: 2.75rem;
  padding: 0.55rem 1.3rem;
  font-size: 1rem;
}
.btn--ghost {
  background: transparent;
  border-color: var(--foot-ink);
  color: var(--foot-ink);
}
.btn--outline {
  background: transparent;
  border-color: var(--head);
  color: var(--head);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.25rem;
}
.textlink,
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-weight: 720;
}
.more {
  margin-top: 1.5rem;
  text-decoration: none;
}
.more span {
  text-decoration: underline;
  text-decoration-color: var(--action);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.more .ic {
  color: var(--action);
  transition: transform 200ms var(--ease-out);
}

/* ---------------------------------------------------------------- header */
.top {
  position: relative;
  z-index: 20;
  background: var(--bg);
}
.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--nav-h);
  padding-inline: var(--edge);
}
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--head);
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  text-decoration: none;
}
.brand span {
  white-space: nowrap;
}
.brand img {
  width: auto;
  height: 3.25rem;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
}
.nav .btn {
  flex: none;
  white-space: nowrap;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
  margin: 0;
}
.nav__list a,
.nav__sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--head);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 720;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav__list a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--action);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}
.nav__sub-btn .ic {
  width: 0.85em;
  height: 0.85em;
  transition: transform 200ms var(--ease-out);
}
.nav__sub-btn[aria-expanded="true"] .ic {
  transform: rotate(180deg);
}
.has-sub {
  position: relative;
}
.nav__sub {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1.25rem;
  min-width: 15.5rem;
  margin: 0;
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.nav__sub-btn[aria-expanded="true"] + .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.nav__sub a {
  display: flex;
  padding: 0.5rem 0.9rem;
  border-radius: 0.7rem;
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.nav__phone .ic {
  color: var(--action);
}
.top__tools {
  display: none;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}
.top__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--head);
  border-radius: 50%;
  color: var(--head);
  font-size: 1.15rem;
}
.menu-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 2px solid var(--head);
  border-radius: 999px;
  background: none;
  color: var(--head);
  font: inherit;
  font-size: 1rem;
  font-weight: 720;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.menu-btn__open,
.menu-btn[aria-expanded="true"] .menu-btn__close {
  display: inline-flex;
}
.menu-btn__close,
.menu-btn[aria-expanded="true"] .menu-btn__open {
  display: none;
}

/* Between the menu breakpoint and wide screens the bar tightens so it always holds one line. */
@media (min-width: 78rem) and (max-width: 87.99rem) {
  .nav,
  .nav__list {
    gap: 1.1rem;
  }
  .nav__list a,
  .nav__sub-btn {
    font-size: 1rem;
  }
  .nav__phone {
    font-size: 1.1rem;
  }
  .brand {
    font-size: 1.2rem;
  }
}
@media (max-width: 77.99rem) {
  .top__in {
    flex-wrap: wrap;
  }
  .js .top__in {
    flex-wrap: nowrap;
  }
  .js .top__tools {
    display: inline-flex;
  }
  .brand span {
    white-space: normal;
  }
  .nav .btn {
    white-space: normal;
  }
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
    padding-bottom: 1.5rem;
  }
  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-height: calc(100dvh - var(--nav-h));
    padding: 0.5rem var(--edge) calc(2rem + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .js .top.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav__list > li {
    border-bottom: 1px solid var(--line);
  }
  .nav__list a,
  .nav__sub-btn {
    width: 100%;
    justify-content: space-between;
    min-height: 3.5rem;
    font-size: 1.2rem;
  }
  .nav__sub {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 0.75rem 1rem;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav__sub-btn[aria-expanded="true"] + .nav__sub {
    display: block;
  }
  .nav__sub a {
    min-height: 3rem;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 650;
  }
  .nav__phone {
    min-height: 3.5rem;
    font-size: 1.4rem;
  }
  .nav .btn {
    align-self: flex-start;
    min-height: 3.25rem;
    padding: 0.85rem 1.75rem;
    font-size: 1.125rem;
  }
}

/* ---------------------------------------------------------------- photos */
.held {
  position: relative;
  overflow: hidden;
  background: var(--tint);
}
.held img,
.band__photo img,
.tile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.held--bl {
  border-bottom-left-radius: var(--held);
}
.held--tr {
  border-top-right-radius: var(--held);
}
.held--tl {
  border-top-left-radius: var(--held);
}

/* ---------------------------------------------------------------- home hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  min-height: min(calc(100svh - var(--nav-h)), 47rem);
}
.hero__copy {
  align-self: center;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 3.5vw, 3.5rem) clamp(2.5rem, 5vw, 5rem) var(--edge);
}
.hero h1 {
  font-size: clamp(2.1rem, 3.75vw, 3.75rem);
}
.hero .lead {
  margin-top: 1.5rem;
  max-width: 34rem;
}
.hero__photo img {
  position: absolute;
  inset: 0;
  object-position: 62% 35%;
}

/* ---------------------------------------------------------------- inner page hero */
.phero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.phero__copy {
  align-self: center;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 4vw, 4.5rem) clamp(3rem, 6vw, 5.5rem) var(--edge);
}
.phero h1 {
  font-size: clamp(2rem, 3.6vw, 3.75rem);
}
/* Long headlines get a wider copy column so they hold two lines at h2 size or above. */
.phero--long {
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
}
.phero .h1--long {
  font-size: clamp(1.7rem, 3.05vw, 2.75rem);
}
.phero__photo {
  min-height: clamp(20rem, 42vw, 36rem);
}
.phero__photo img {
  position: absolute;
  inset: 0;
}
.crumbs {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  margin: 0;
}
.crumbs li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--ink-2);
}
.crumbs a {
  display: inline-block;
  min-width: 2.75rem;
  padding-block: 0.6rem;
  font-weight: 600;
}
.crumbs [aria-current] {
  padding-block: 0.6rem;
  color: var(--ink-2);
}

/* ---------------------------------------------------------------- promises */
.promises__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.registered {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  color: var(--head);
  font-weight: 720;
}
.registered img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
}
.ruled {
  margin: 0;
}
.ruled li {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
}
.ruled li:last-child {
  border-bottom: 1px solid var(--line);
}
.ruled h3 + p {
  margin-top: 0.4rem;
}
.ruled--tight {
  margin-top: 2rem;
}
.ruled--tight li {
  padding-block: 1.1rem;
}

/* ---------------------------------------------------------------- service tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}
.tile--1,
.tile--2 {
  grid-column: 1 / span 5;
}
.tile--3 {
  grid-column: 6 / span 7;
  grid-row: 1 / span 2;
}
.tile__photo {
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--bg);
  aspect-ratio: 16 / 10;
}
.tile--3 .tile__photo {
  flex: 1;
  min-height: 18rem;
  aspect-ratio: auto;
}
.tile__photo img {
  transition: transform 300ms var(--ease-out);
}
.tile__text {
  display: block;
}
.tile__h {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--head);
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 760;
  letter-spacing: -0.012em;
  line-height: 1.2;
}
.tile__h .ic {
  color: var(--action);
  transition: transform 200ms var(--ease-out);
}
.tile__p {
  display: block;
  max-width: 34rem;
  margin-top: 0.35rem;
}

/* ---------------------------------------------------------------- photo and text split */
.split {
  display: grid;
  grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
  align-items: center;
}
.split__photo {
  min-height: clamp(20rem, 40vw, 34rem);
  align-self: stretch;
}
.split__photo img {
  position: absolute;
  inset: 0;
}
.split__copy {
  padding: 1rem var(--edge) 1rem clamp(2rem, 6vw, 6rem);
}
.split--right .split__photo {
  order: 2;
}
.split--right .split__copy {
  padding: 1rem clamp(2rem, 6vw, 6rem) 1rem var(--edge);
}

/* ---------------------------------------------------------------- quotes */
.quotes__h {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.quote blockquote p {
  max-width: none;
}
.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.75rem;
  margin-top: 1.25rem;
}
.quote figcaption strong {
  color: var(--head);
  font-weight: 760;
}
.quote figcaption span {
  color: var(--ink-2);
}
.quote--lead blockquote p {
  max-width: 26em;
  color: var(--head);
  font-size: clamp(1.6rem, 1.05rem + 2.2vw, 2.9rem);
  font-weight: 680;
  letter-spacing: -0.018em;
  line-height: 1.2;
  text-wrap: balance;
}
.quote--solo blockquote p {
  max-width: 30em;
  color: var(--head);
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 650;
  line-height: 1.35;
}
.quotes__rest {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}
.quotes__rest .quote blockquote p {
  font-size: 1.2rem;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- full-width photo band */
.band__photo {
  aspect-ratio: 21 / 9;
  min-height: 17rem;
  max-height: 40rem;
  width: 100%;
  overflow: hidden;
}
.band__photo img {
  object-position: center 40%;
}
.band__panel {
  position: relative;
  width: min(100%, calc(var(--edge) + 39rem));
  margin-top: calc(-1 * clamp(3rem, 7vw, 6rem));
  padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem) clamp(4rem, 8vw, 7rem) var(--edge);
  background: var(--bg);
  border-top-right-radius: var(--held);
}

/* ---------------------------------------------------------------- prose */
.prose__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 6vw, 6rem);
  align-items: start;
}
.prose__body > :first-child {
  margin-top: 0;
}
.prose__stack h2 {
  max-width: 22ch;
  margin-bottom: 1.5rem;
}

/* ---------------------------------------------------------------- four points */
.points__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
  margin: 0;
}
.points__grid .h3 + p {
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------------- tick lists */
.ticks__groups {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.ticks__groups--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ticks__groups--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ticks__groups--3.has-wide {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.ticks__groups--3.has-wide .ticks__group:nth-child(2) {
  grid-row: span 2;
}
.ticks__group ul {
  margin: 1rem 0 0;
}
.ticks__group.is-wide ul {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 5rem);
}
.ticks__group li {
  display: flex;
  gap: 0.75rem;
  padding-block: 0.45rem;
  break-inside: avoid;
}
/* A list item that is a link is a control, so it gets a full-height target. */
.ticks__group li a {
  display: inline-block;
  padding-block: 0.6rem;
  margin-block: -0.45rem;
}
.ticks__group li span,
.registered span {
  min-width: 0;
}
.ticks__group li .ic {
  margin-top: 0.28em;
  color: var(--action);
}
@media (prefers-color-scheme: dark) {
  .ticks__group li .ic,
  .more .ic,
  .tile__h .ic,
  .nav__phone .ic,
  .ways .ic,
  .row__go {
    color: #ff5c8d;
  }
  a {
    text-decoration-color: #ff5c8d;
  }
}

/* ---------------------------------------------------------------- service rows */
.rows {
  padding-top: clamp(1rem, 3vw, 3rem);
}
.rows__list {
  margin: 0;
}
.rows__list li {
  border-top: 1px solid var(--line);
}
.rows__list li:last-child {
  border-bottom: 1px solid var(--line);
}
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: 1rem clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--ink);
  font-weight: 400;
  text-decoration: none;
}
.row__h {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
}
.row__go {
  display: inline-flex;
  color: var(--action);
  font-size: 1.6rem;
  transition: transform 200ms var(--ease-out);
}

/* ---------------------------------------------------------------- notice */
.notice {
  padding-top: 0;
}
.notice__box {
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--tint);
  border-radius: 1.5rem;
  border-top-right-radius: var(--held);
}
.notice__box h2 {
  max-width: 22ch;
}
.notice__box .btn {
  margin-top: 2rem;
}

/* ---------------------------------------------------------------- offers and faq */
.offers__list {
  margin: 0 0 1.5rem;
}
.offers__list li {
  padding-block: 0.6rem;
}
.faq__list details {
  border-top: 1px solid var(--line);
}
.faq__list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq__list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 3.5rem;
  padding-block: 1.1rem;
  color: var(--head);
  font-size: 1.25rem;
  font-weight: 720;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}
.faq__list summary::-webkit-details-marker {
  display: none;
}
.faq__list summary .ic {
  color: var(--action);
  transition: transform 200ms var(--ease-out);
}
.faq__list details[open] summary .ic {
  transform: rotate(180deg);
}
.faq__list details p {
  padding-bottom: 1.5rem;
}

/* ---------------------------------------------------------------- contact */
.contact {
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 9vw, 8rem);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__head {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.contact h1 {
  max-width: 24em;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.1rem);
}
.contact__head .lead {
  max-width: 44rem;
}
.ways {
  display: grid;
  gap: 1.75rem;
  margin: 0 0 3rem;
}
.ways__dir {
  display: inline-block;
  padding-block: 0.6rem;
}
.ways li {
  display: flex;
  gap: 1rem;
}
.ways .ic {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.3rem;
  color: var(--action);
}
.ways__h {
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.4;
}
.ways__h + a {
  display: inline-block;
  padding-block: 0.45rem;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}
.ways p {
  margin-top: 0.3rem;
}
.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.35rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
}
.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 0.45rem;
}
.field label {
  color: var(--head);
  font-weight: 720;
}
.req {
  color: var(--ink-2);
  font-weight: 400;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--field);
  border-radius: 0.75rem;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
}
.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  border-color: var(--focus);
  border-radius: 0.75rem;
}
.select {
  position: relative;
}
.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
}
.select .ic {
  position: absolute;
  right: 1rem;
  top: 50%;
  margin-top: -0.55em;
  color: var(--head);
  pointer-events: none;
}
.form__note {
  color: var(--ink-2);
  font-size: 1rem;
}
.form .btn {
  justify-self: start;
}
.hp {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------------------------------------------------------------- legal and message pages */
.legal,
.message {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 9vw, 8rem);
}
.legal__body {
  max-width: 46rem;
  margin-top: 2rem;
}
.legal__body h2 {
  margin-top: 2.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.008em;
}
.legal__body p,
.legal__body ul {
  margin-top: 1rem;
}
.legal__body li {
  margin-top: 0.4rem;
}
.message {
  min-height: 50svh;
}
.message .lead {
  margin-top: 1rem;
}

/* ---------------------------------------------------------------- footer */
.foot {
  background: var(--foot);
  color: var(--foot-ink);
}
.foot a {
  color: var(--foot-ink);
  text-decoration-color: rgba(251, 234, 242, 0.5);
  text-decoration-thickness: 1.5px;
}
.foot :focus-visible {
  outline-color: var(--foot-ink);
}
.closing {
  padding-block: clamp(4rem, 9vw, 8rem);
}
.closing h2 {
  max-width: 20ch;
  color: var(--foot-ink);
  font-size: clamp(2rem, 1.1rem + 3.4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
}
.closing__p {
  margin-top: 1.25rem;
  color: var(--foot-ink-2);
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.75rem);
  font-weight: 600;
}
.closing .btn:not(.btn--ghost) {
  text-decoration: none;
}
.foot .btn {
  color: var(--on-action);
  text-decoration: none;
}
.foot .btn--ghost {
  color: var(--foot-ink);
}
.foot__main {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.closing + .foot__main {
  border-top: 1px solid var(--foot-line);
}
.foot__brand img {
  width: 11rem;
}
.foot__brand address {
  display: grid;
  justify-items: start;
  overflow-wrap: anywhere;
  margin-top: 1rem;
  font-style: normal;
}
.foot__brand address a,
.foot__brand address span {
  display: block;
  padding-block: 0.6rem;
}
.foot__col h2 {
  margin-bottom: 0.5rem;
  color: var(--foot-ink);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0;
}
.foot__col ul {
  margin: 0;
}
.foot__col a {
  display: inline-block;
  padding-block: 0.5rem;
  font-weight: 500;
}
.foot__legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--foot-line);
  color: var(--foot-ink-2);
  font-size: 1rem;
}
.foot__legal img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
}
.foot__legal p {
  max-width: none;
}

/* ---------------------------------------------------------------- press feedback for touch, where there is no hover */
.tile:active .tile__photo,
.row:active,
.more:active,
.top__call:active,
.menu-btn:active {
  opacity: 0.8;
}
.nav__list a:active,
.nav__sub-btn:active {
  color: var(--action);
}

/* ---------------------------------------------------------------- hover, only where a pointer can hover */
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--action-hover);
    border-color: var(--action-hover);
  }
  .btn--outline:hover {
    background: var(--head);
    border-color: var(--head);
    color: var(--bg);
  }
  .btn--ghost:hover {
    background: var(--foot-ink);
    border-color: var(--foot-ink);
    color: var(--foot);
  }
  .nav__list a:hover,
  .nav__sub-btn:hover,
  .nav__phone:hover {
    text-decoration: underline;
    text-decoration-color: var(--action);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.4em;
  }
  .nav__sub a:hover {
    background: var(--tint);
    text-decoration: none;
  }
  .more:hover .ic,
  .tile:hover .tile__h .ic,
  .row:hover .row__go {
    transform: translateX(4px);
  }
  .tile:hover .tile__photo img {
    transform: scale(1.03);
  }
  .row:hover .row__h {
    text-decoration: underline;
    text-decoration-color: var(--action);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.18em;
  }
  .foot a:hover {
    text-decoration-color: var(--foot-ink);
  }
}

/* ---------------------------------------------------------------- reveal: headings and text blocks settle in once as they enter */
/* Screen only, so print never sees a hidden block. Only site.js adds reveal-pending. */
@media screen and (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
  }
  [data-reveal].reveal-pending {
    opacity: 0;
    transform: translateY(14px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 61.99rem) {
  .points__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ticks__groups--3,
  .ticks__groups--3.has-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ticks__groups--3.has-wide .is-wide {
    grid-column: 1 / -1;
  }
  .ticks__groups--3.has-wide .ticks__group:nth-child(2) {
    grid-row: auto;
  }
  .foot__main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 55.99rem) {
  .hero,
  .phero,
  .split,
  .promises__grid,
  .phero--long,
  .prose__grid,
  .contact__grid,
  .quotes__rest {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    min-height: 0;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 8.5vw, 3rem);
  }
  .phero h1 {
    font-size: clamp(2.1rem, 8vw, 2.9rem);
  }
  .phero .h1--long {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }
  .hero__copy,
  .phero__copy {
    padding: 1.5rem var(--edge) 2.5rem;
  }
  .hero__photo,
  .phero__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin-left: var(--edge);
  }
  .split__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .split--left .split__photo {
    margin-right: var(--edge);
  }
  .split--right .split__photo {
    order: 0;
    margin-left: var(--edge);
  }
  .split__copy,
  .split--right .split__copy {
    padding: 2.5rem var(--edge) 0;
  }
  .tiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile--1,
  .tile--2,
  .tile--3 {
    grid-column: auto;
    grid-row: auto;
  }
  .tile--3 .tile__photo {
    flex: none;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .row {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .row__p {
    grid-column: 1;
    grid-row: 2;
  }
  .row__go {
    grid-row: 1 / span 2;
  }
  .band__photo {
    aspect-ratio: 4 / 3;
  }
  .band__panel {
    width: calc(100% - var(--edge));
  }
}

@media (max-width: 39.99rem) {
  .points__grid,
  .ticks__groups--2,
  .ticks__groups--3,
  .ticks__groups--3.has-wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .ticks__group.is-wide ul {
    columns: 1;
  }
  .foot__main {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand img {
    height: 2.75rem;
  }
  .menu-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .menu-btn {
    width: 2.75rem;
    padding: 0;
    justify-content: center;
  }
  .foot__legal {
    align-items: flex-start;
  }
}

/* Short landscape phones: let the hero size itself. */
@media (max-height: 30rem) {
  .hero {
    min-height: 0;
  }
}
