/* House Call Tax homepage preview. Direction: Off shift. */

@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #1f4b4f;
  --teal-deep: #163a3d;
  --teal-ink: #0f2a2c;
  --white: #ffffff;
  --ivory: #f7f4ec;
  --paper: #fcfaf5;
  --sage: #8da79f;
  --sage-wash: #e5ebe6;
  --tan: #c9b39a;
  --tan-light: #dccbb6;
  --ink: #142c2d;
  --ink-soft: #4a6261;
  --on-dark: #f7f4ec;
  --on-dark-soft: #c6d3ce;
  --rule: rgba(31, 75, 79, 0.2);
  --rule-dark: rgba(247, 244, 236, 0.16);
  --focus: var(--teal);
  --error: #9a3a2c;
  --field-line: rgba(20, 44, 45, 0.56);

  --sans: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(20px, 5vw, 80px);
  --wrap: 1240px;
  --header-h: 84px;
  --section-y: clamp(64px, 7.6vw, 116px);

  color-scheme: only light;
  scrollbar-color: var(--teal) var(--white);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--teal);
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  text-wrap: balance;
}

[hidden] {
  display: none !important;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

::selection {
  background: var(--tan);
  color: var(--teal-ink);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.nowrap {
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ivory);
  color: var(--teal-ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}

.skip-link:focus {
  transform: none;
}

/* Buttons and links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn--tan {
  background: var(--tan);
  color: var(--teal-ink);
}

.btn--tan:hover {
  background: var(--tan-light);
}

.btn--teal {
  background: var(--teal);
  color: var(--on-dark);
}

.btn--teal:hover {
  background: var(--teal-ink);
}

.btn--outline {
  color: var(--on-dark);
  border-color: var(--on-dark-soft);
}

.btn--outline:hover,
.btn--outline[aria-current="page"] {
  color: var(--teal-ink);
  background: var(--on-dark);
  border-color: var(--on-dark);
}

.btn--compact {
  min-height: 44px;
  padding: 0 18px;
  font-size: 1rem;
}

.btn[aria-disabled="true"] {
  cursor: progress;
}

.btn[aria-disabled="true"]:active {
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(247, 244, 236, 0.45);
}

.link-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease-out);
}

.link-arrow:hover {
  text-decoration-color: currentColor;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--on-dark);
  --focus: var(--tan);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-solid,
.nav-open .site-header {
  background: var(--teal-deep);
  box-shadow: 0 10px 30px -18px rgba(5, 20, 21, 0.55);
  transition: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  margin-right: auto;
  border-radius: 6px;
}

.brand img {
  width: 208px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.site-nav__actions {
  display: flex;
  gap: 12px;
}

.site-nav ul {
  display: flex;
  gap: clamp(20px, 2.6vw, 36px);
}

.site-nav ul a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  white-space: nowrap;
  font-weight: 500;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 calc(50% + 0.9em);
  background-size: 0 1px;
  transition: background-size 0.3s var(--ease-out);
}

.site-nav ul a:hover {
  background-size: 100% 1px;
}

.nav-toggle {
  display: none;
}

/* Compact spacing keeps the desktop navigation on one line at intermediate widths. */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-header__inner {
    gap: 24px;
  }

  .brand img {
    width: 176px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav ul {
    gap: 18px;
  }

  .site-nav ul a,
  .site-nav .btn--compact {
    font-size: 0.9375rem;
  }

  .site-nav .btn--compact {
    padding: 0 14px;
  }
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(600px, min(100svh, 64vw), 940px);
  overflow: hidden;
  background: #163334;
  color: var(--on-dark);
  --focus: var(--tan);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 220px;
  background: linear-gradient(180deg, rgba(8, 22, 23, 0.7) 0%, rgba(8, 22, 23, 0.34) 55%, rgba(8, 22, 23, 0) 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #0b1c1d;
  opacity: 0;
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: 50% 50%;
}

.hero__content {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding: calc(var(--header-h) + 32px) var(--gutter) clamp(40px, 6vw, 88px);
}

.hero h1 {
  max-width: 7.2em;
  font-size: clamp(2.75rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 600;
}

.hero__lede {
  max-width: min(30rem, 37vw);
  margin-top: clamp(20px, 2vw, 28px);
  color: rgba(247, 244, 236, 0.9);
  font-size: clamp(1.0625rem, 1.3vw, 1.3125rem);
  line-height: 1.52;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(28px, 3vw, 40px);
}

.link-arrow--light {
  color: var(--on-dark);
}

/* The authored moment: the entry settles and the evening light comes up. */
.motion-ready .hero__media img {
  animation: hero-settle 2.4s var(--ease-out) both;
}

.motion-ready .hero::after {
  animation: hero-light 1.8s var(--ease-out) both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.055);
  }
  to {
    transform: none;
  }
}

@keyframes hero-light {
  from {
    opacity: 0.42;
  }
  to {
    opacity: 0;
  }
}

/* Meet Vince. The teal wall carries on past the entry, and Vince is the one standing there. */

.vince {
  padding: var(--section-y) 0;
  background: var(--teal-deep);
  color: var(--on-dark);
  --focus: var(--tan);
}

.vince__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.vince__portrait {
  width: min(100%, clamp(280px, 28vw, 400px));
}

/* Arch: a half-circle top on a 5:6 frame */
.vince__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 50% 50% 16px 16px / 41.667% 41.667% 16px 16px;
  background: var(--teal);
}

.vince__portrait figcaption {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
}

.vince__portrait figcaption strong {
  color: var(--on-dark);
  font-size: 1.0625rem;
  font-weight: 600;
}

.vince__body h2 {
  font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.032em;
}

.vince__note {
  display: grid;
  gap: 18px;
  max-width: 30em;
  margin-top: clamp(24px, 2.6vw, 36px);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.75vw, 1.625rem);
  line-height: 1.48;
}

/* A quiet hello for visitors arriving from the directory. Plain text, no logo. */
.vince__welcome {
  color: var(--tan-light);
}

.creds {
  max-width: 40rem;
  margin-top: clamp(32px, 3.6vw, 48px);
  border-top: 1px solid var(--rule-dark);
}

.creds li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--on-dark-soft);
  font-size: 1rem;
  line-height: 1.55;
}

.creds strong {
  color: var(--on-dark);
  font-weight: 600;
}

/* Who it's for */

.fit {
  padding: var(--section-y) 0;
  background: var(--sage-wash);
  --focus: var(--teal);
}

.fit h2 {
  max-width: 18em;
  font-size: clamp(2.375rem, 4.4vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--teal-ink);
}

.fit__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 28px clamp(40px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(28px, 3.6vw, 52px);
}

.fit__lead {
  max-width: 25em;
  padding-top: clamp(16px, 1.6vw, 22px);
  color: var(--ink-soft);
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.55;
}

.fit__row {
  display: grid;
  grid-template-columns: clamp(104px, 12vw, 168px) minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: clamp(16px, 1.6vw, 22px) 0;
  border-top: 1px solid var(--rule);
}

.fit__row:last-child {
  border-bottom: 1px solid var(--rule);
}

.fit dt {
  color: var(--teal);
  font-size: clamp(2.25rem, 3.6vw, 3.25rem);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.fit dd {
  color: var(--ink);
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.45;
}

/* What Vince helps with */

.services {
  padding: var(--section-y) 0;
  background: var(--white);
  --focus: var(--teal);
}

.services__title {
  max-width: 14em;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--teal-ink);
}

/* Preparation and planning lead as a pair. Preparation is the core service, so it takes the wider column. */
.services__main {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 40px clamp(40px, 6vw, 96px);
  margin-top: clamp(36px, 4.4vw, 64px);
}

.service {
  padding-top: clamp(22px, 2.2vw, 30px);
  border-top: 2px solid var(--tan);
}

.service :is(h2, h3) {
  font-size: clamp(1.625rem, 2.4vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--teal-ink);
}

.service p {
  max-width: 34em;
  margin-top: 14px;
  color: var(--ink);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.6;
}

/* Areas of expertise: a quieter strip between hairlines, set smaller than the 2 services above it */
.expertise {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 16px clamp(32px, 4vw, 64px);
  margin-top: clamp(48px, 5.6vw, 80px);
  padding-block: clamp(22px, 2.4vw, 32px);
  border-block: 1px solid var(--rule);
}

@media (min-width: 1000px) {
  .expertise {
    align-items: baseline;
  }
}

.expertise__title {
  font-size: clamp(1.1875rem, 1.5vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -0.014em;
  color: var(--teal-ink);
}

.expertise__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px clamp(20px, 3vw, 42px);
}

.expertise__item dt {
  color: var(--teal-ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.expertise__item dd {
  max-width: 30em;
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

/* Understand your return, and how it works */

.how {
  padding: var(--section-y) 0;
  background: var(--sage-wash);
  --focus: var(--teal);
}

.how__review {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "intro levels" "film levels";
  gap: clamp(24px, 3vw, 36px) clamp(40px, 6vw, 96px);
  align-items: start;
}

.how__intro {
  grid-area: intro;
}

.how__review .levels {
  grid-area: levels;
}

.how__review .review-film {
  grid-area: film;
  margin: 0;
}

.how__intro h2 {
  max-width: 11em;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--teal-ink);
}

.how__intro p {
  max-width: 24em;
  margin-top: clamp(18px, 2vw, 24px);
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
}

/* Lead with the review format and show availability on the second line. */
.levels {
  --door-w: clamp(30px, 3vw, 42px);
  display: grid;
  border-top: 1px solid var(--rule);
}

.levels__group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(20px, 3vw, 40px);
  align-items: end;
  padding-top: clamp(20px, 2vw, 28px);
  border-bottom: 1px solid var(--rule);
}

.levels__text {
  align-self: start;
  padding-bottom: clamp(20px, 2vw, 28px);
}

.levels__format {
  font-size: clamp(1.5rem, 2.4vw, 2.125rem);
  line-height: 1.1;
  letter-spacing: -0.024em;
  color: var(--teal-ink);
}

.levels__tier {
  margin-top: 8px;
  color: var(--teal);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.levels__note {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.levels__sample {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 4px;
  color: var(--teal-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.levels__sample:hover {
  color: var(--teal);
  text-decoration-thickness: 2px;
}

/* The cover is local. The external frame is mounted after play is chosen. */
.review-film {
  margin-block: clamp(20px, 3vw, 36px) 0;
}

.review-film__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: 14px;
  background: var(--teal-deep);
  color: var(--on-dark);
}

.review-film__stage::before {
  content: "";
  grid-area: 1 / 1;
  width: 100%;
  min-height: 10.375rem;
  aspect-ratio: 16 / 9;
}

.review-film__cover {
  display: grid;
  grid-area: 1 / 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(10px, 3vw, 32px);
  padding: clamp(12px, 1.6vw, 24px) clamp(14px, 4vw, 42px);
  color: var(--on-dark);
  text-decoration: none;
}

.review-film__stage--active .review-film__cover {
  visibility: hidden;
}

.review-film__cover:focus-visible {
  outline-color: var(--tan);
  outline-offset: -4px;
}

.review-film__copy {
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: clamp(8px, 1.4vw, 14px);
}

.review-film__play {
  position: relative;
  width: clamp(40px, 5vw, 60px);
  aspect-ratio: 1;
  border: 1px solid var(--tan);
  border-radius: 50%;
  color: var(--tan-light);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.review-film__play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-block: 7px solid transparent;
  border-inline-start: 11px solid currentColor;
}

.review-film__cover:hover .review-film__play,
.review-film__cover:focus-visible .review-film__play {
  background: var(--tan);
  color: var(--teal-ink);
}

.review-film__title {
  max-width: 12ch;
  font-size: clamp(1.1875rem, 2vw, 1.875rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.023em;
}

.review-film__time {
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.review-film__art {
  position: relative;
  align-self: stretch;
}

.review-film__paper {
  position: absolute;
  inset-block-start: clamp(3px, 1.3vw, 14px);
  inset-inline: 0;
  width: min(100%, 248px);
  height: auto;
  margin-inline: auto;
  border-radius: 4px;
  box-shadow: -10px 14px 30px rgba(5, 20, 21, 0.42);
}

.review-film__stage iframe {
  position: absolute;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 0;
  border-radius: 10px;
}

.review-film__status {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: var(--teal-deep);
  text-align: center;
  text-wrap: balance;
  pointer-events: none;
}

.review-film__status--delayed {
  inset: 5px 5px auto;
  padding: 10px 14px;
  border-radius: 9px 9px 0 0;
  background: var(--teal-ink);
  font-size: 0.9375rem;
}

.review-film__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  align-items: center;
  margin-top: 4px;
}

.review-film__link,
.review-film__fallback,
.sample__pdf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.review-film__link,
.sample__pdf {
  color: var(--teal-ink);
}

.review-film__close {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.review-film__fallback {
  color: var(--ink-soft);
}

.sample .review-film {
  margin: 0 0 32px;
}

.page-hero.sample-hero {
  --focus: var(--tan);
  padding-block: calc(var(--header-h) + clamp(32px, 5vw, 72px)) clamp(32px, 5vw, 64px);
}

.sample-hero__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  min-height: 44px;
  margin-top: 12px;
  color: var(--on-dark);
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.sample-hero__summary:hover {
  text-decoration-thickness: 2px;
}

.prose.sample {
  padding-block-start: clamp(28px, 5vw, 64px);
}

.levels__doors {
  display: flex;
  border-bottom: 2px solid var(--teal);
}

.levels__door {
  width: var(--door-w);
  aspect-ratio: 5 / 8;
  border-radius: 50% 50% 0 0 / 31.25% 31.25% 0 0;
}

.levels__group--written .levels__door {
  background: var(--ivory);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}

.levels__group--video .levels__door {
  background: var(--teal);
}

.route {
  margin-top: clamp(64px, 8vw, 112px);
}

.route__title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--teal-ink);
}

.route__list {
  --route-gap: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px var(--route-gap);
  margin-top: clamp(24px, 3vw, 36px);
}

.route__step {
  position: relative;
}

.route__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--teal);
  border-radius: 50%;
  background: var(--sage-wash);
  color: var(--teal);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* The route: a tan line into each marker from the one before it. All 4 markers match.
   The line hangs off the step it arrives at and reaches back, so it never widens a step's own box. */
.route__step:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 19px;
  left: calc(52px - 100% - var(--route-gap));
  right: calc(100% + 12px);
  border-top: 2px solid var(--tan);
}

.route__step :is(h3, h4) {
  margin-top: 18px;
  font-size: 1.1875rem;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--teal-ink);
}

.route__step p {
  max-width: 22em;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

/* Pricing: 3 parallel examples, each priced from its standard level of support */

.pricing {
  padding: var(--section-y) 0;
  background: var(--white);
  --focus: var(--teal);
}

.pricing__title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--teal-ink);
}

.pricing__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(28px, 3.6vw, 56px);
  margin-top: clamp(36px, 4.4vw, 64px);
}

.price {
  display: flex;
  flex-direction: column;
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 2px solid var(--teal);
}

.price h3 {
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--teal-ink);
}

.price p {
  max-width: 26em;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

/* The price sits on a shared baseline at the foot of each example */
.price .price__amount {
  margin-top: auto;
  padding-top: 28px;
  color: var(--teal);
  font-size: clamp(2.25rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
}

.price__from {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}

.pricing__notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px clamp(28px, 3.6vw, 56px);
  align-items: baseline;
  margin-top: clamp(40px, 4.8vw, 64px);
  padding-top: clamp(20px, 2vw, 28px);
  border-top: 1px solid var(--rule);
}

.pricing__floor {
  color: var(--teal-ink);
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pricing__fine {
  grid-column: 2 / -1;
  display: grid;
  gap: 8px;
  max-width: 38em;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
}

/* Common questions: all answers stay open, so nothing hides behind a click */

.faq {
  padding: var(--section-y) 0;
  background: var(--sage-wash);
  --focus: var(--teal);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__title {
  max-width: 8em;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--teal-ink);
}

.faq__list {
  border-top: 1px solid var(--rule);
}

.faq__item {
  padding: clamp(20px, 2vw, 28px) 0;
  border-bottom: 1px solid var(--rule);
}

.faq__item h3 {
  font-size: clamp(1.1875rem, 1.5vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -0.014em;
  color: var(--teal-ink);
}

.faq__item p {
  max-width: 36em;
  margin-top: 8px;
  color: var(--ink-soft);
}

/* Start the conversation: a lit doorway on the evening teal */

.note {
  padding: var(--section-y) 0 calc(var(--section-y) * 1.15);
  background: var(--teal);
  color: var(--on-dark);
  --focus: var(--tan);
}

.note__door {
  container-type: inline-size;
  width: min(780px, 100%);
  margin-inline: auto;
}

/* The head of the arch is half the door's width, so the curve stays a true half circle at every size */
.inquiry {
  position: relative;
  padding: clamp(40px, 7cqi, 64px) clamp(24px, 7.5cqi, 64px) clamp(32px, 6cqi, 56px);
  border-radius: 390px 390px 18px 18px;
  border-radius: 50cqi 50cqi 18px 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(4, 16, 17, 0.6);
  --focus: var(--teal);
}

.inquiry__head {
  display: grid;
  justify-items: center;
  max-width: 30rem;
  margin: 0 auto clamp(32px, 6cqi, 52px);
  text-align: center;
}

.inquiry__head::before {
  content: "";
  width: clamp(54px, 9cqi, 70px);
  aspect-ratio: 66 / 54;
  margin-bottom: clamp(16px, 3.4cqi, 28px);
  background: url("/assets/brand/house-call-tax-mark.svg") center / contain no-repeat;
}

.inquiry__head h2 {
  font-size: clamp(2rem, 6.6cqi, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--teal-ink);
}

.inquiry__head p {
  margin-top: clamp(14px, 2.4cqi, 20px);
  color: var(--ink-soft);
  font-size: clamp(1rem, 2.4cqi, 1.125rem);
  line-height: 1.55;
}

.inquiry__form {
  display: grid;
  gap: 24px;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

/* A floated legend joins the grid, so it spaces like every other label */
.field--group > legend {
  float: left;
  width: 100%;
  padding: 0;
}

.field__label {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.field__hint {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.field__hint a,
.inquiry__small a {
  color: var(--teal);
  text-decoration-color: rgba(31, 75, 79, 0.45);
}

.field__hint a:hover,
.inquiry__small a:hover {
  text-decoration-color: currentColor;
}

.field__control {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--field-line);
  border-radius: 10px;
  background-color: var(--ivory);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field__control:hover {
  border-color: var(--ink-soft);
}

.field__control:focus,
.field__control:focus-visible {
  border-color: var(--teal);
  border-radius: 10px;
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  background-color: var(--paper);
}

.field__control--select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234a6261' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 6 4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px 16px;
  cursor: pointer;
}

.field__control--area {
  min-height: 132px;
  padding-block: 14px;
  line-height: 1.5;
  resize: vertical;
}

.field__control[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

.field__error {
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
}

.checks {
  display: grid;
}

.checks--row {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(16px, 5vw, 36px);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  padding-block: 10px;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
}

.check input {
  flex: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid var(--ink-soft);
  border-radius: 6px;
  background: var(--ivory);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.check input::after {
  content: "";
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--on-dark);
  border-bottom: 2px solid var(--on-dark);
  transform: translate(0, -1px) rotate(-45deg) scale(0);
  transition: transform 0.2s var(--ease-out);
}

.check input:checked {
  border-color: var(--teal);
  background: var(--teal);
}

.check input:checked::after {
  transform: translate(0, -1px) rotate(-45deg) scale(1);
}

.check:hover input:not(:checked) {
  border-color: var(--ink);
}

.check input:focus-visible {
  border-radius: 6px;
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.check input[aria-invalid="true"]:not(:checked) {
  border-color: var(--error);
  box-shadow: inset 0 0 0 1px var(--error);
}

.check input[type="radio"],
.check input[type="radio"]:focus-visible {
  border-radius: 50%;
}

.check input[type="radio"]::after {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--on-dark);
  transform: scale(0);
}

.check input[type="radio"]:checked::after {
  transform: scale(1);
}

.check--consent {
  padding-block: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.field--consent {
  margin-top: 4px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.field--consent .field__hint {
  padding-left: 36px;
}

.field--consent .field__error {
  padding-left: 36px;
}

/* Bots fill this in. People never see or reach it. */
.inquiry__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.inquiry__alert:not(:empty) {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--error) 8%, transparent);
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.inquiry__alert a {
  color: inherit;
  font-weight: 600;
}

.inquiry__submit {
  width: 100%;
  white-space: normal;
  text-align: center;
}

.btn--teal:focus-visible {
  outline-color: var(--teal);
}

.inquiry__done {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 24rem;
  margin-inline: auto;
  text-align: center;
}

.inquiry__done-title {
  color: var(--teal-ink);
  font-size: clamp(1.625rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.022em;
}

.inquiry__done-title:focus {
  outline: none;
}

.inquiry__done-title:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 6px;
}

.inquiry__done p {
  color: var(--ink);
  font-size: 1.0625rem;
}

.inquiry__address {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.inquiry__done .inquiry__small {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* In a wide doorway the fields pair up, and the help topics read down 2 columns */
@container (min-width: 640px) {
  .inquiry__form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 28px;
    align-items: start;
  }

  .inquiry__form > .field--span {
    grid-column: 1 / -1;
  }

  .inquiry__form > .field--half > .field__control {
    width: calc(50% - 14px);
  }

  .checks--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 28px;
  }

  .inquiry__actions {
    display: grid;
    justify-items: center;
  }

  .inquiry__alert {
    justify-self: stretch;
  }

  .inquiry__submit {
    width: min(100%, 360px);
  }
}


/* Footer */

.site-footer {
  background: var(--teal-ink);
  color: var(--on-dark-soft);
  padding: clamp(48px, 6vw, 80px) 0 32px;
  font-size: 0.9375rem;
  --focus: var(--tan);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: 40px;
}

.site-footer__brand img {
  width: 208px;
  height: auto;
}

.site-footer__brand p {
  max-width: 26em;
  margin-top: 20px;
}

.site-footer__label {
  margin-bottom: 12px;
  color: var(--on-dark);
  font-weight: 600;
}

.site-footer ul {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: var(--on-dark);
  text-decoration-color: rgba(247, 244, 236, 0.35);
}

.site-footer a:hover {
  text-decoration-color: currentColor;
}

.site-footer__legal {
  grid-column: 1 / -1;
  max-width: 54em;
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer__legal p + p {
  margin-top: 8px;
}

.site-footer__credit {
  grid-column: 1 / -1;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
}

/* Utility page */

.page-hero {
  background: var(--teal-deep);
  color: var(--on-dark);
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 80px);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
}

.page-hero p {
  max-width: 34em;
  margin-top: 16px;
  color: var(--on-dark-soft);
  font-size: 1.1875rem;
}

.page-body {
  background: var(--white);
}

.prose {
  max-width: calc(46rem + var(--gutter) * 2);
  padding-block: clamp(56px, 7vw, 96px);
}

.prose h2 {
  margin-top: 40px;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: var(--teal-ink);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-top: 12px;
  color: var(--ink);
}

.prose__date {
  margin-top: 48px !important;
  color: var(--ink-soft) !important;
  font-size: 0.9375rem;
}

.prose .prose__action {
  margin-top: 28px;
}

/* Tablet */

/* Mobile hero and navigation */

@media (max-width: 899px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    background: var(--teal-deep);
  }

  .brand img {
    width: 172px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 44px;
    min-height: 44px;
    margin-right: -8px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--on-dark);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
  }

  .nav-toggle__bars {
    position: relative;
  }

  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle__bars::before {
    top: -6px;
  }

  .nav-toggle__bars::after {
    top: 6px;
  }

  .nav-open,
  .nav-open body {
    overflow: hidden;
  }

  .nav-open .nav-toggle__bars {
    background: transparent;
  }

  .nav-open .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 8px var(--gutter) 32px;
    background: var(--teal-deep);
    box-shadow: 0 24px 40px -24px rgba(5, 20, 21, 0.6);
  }

  .js .site-nav {
    display: none;
  }

  .no-js .site-nav,
  .nav-open .site-nav {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    display: flex;
    min-height: 56px;
    border-bottom: 1px solid var(--rule-dark);
    font-size: 1.25rem;
    background-image: none;
  }

  .site-nav__actions {
    flex-wrap: wrap;
  }

  .site-nav__actions > a {
    flex: 1 1 auto;
  }

  .site-nav .btn--compact {
    min-height: 52px;
    font-size: 1.0625rem;
  }

  .hero {
    display: block;
    min-height: 0;
    background: var(--teal-deep);
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero__content {
    padding: calc(var(--header-h) + 28px) var(--gutter) 40px;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 11.4vw, 4rem);
    line-height: 1.04;
  }

  .hero__lede {
    max-width: 34rem;
    font-size: 1.125rem;
  }

  .hero__media {
    opacity: 0.23;
    mask-image: linear-gradient(180deg, transparent, #000 23%, #000 72%, transparent);
    pointer-events: none;
  }

  .hero__media img {
    object-position: 76% 45%;
  }

  .motion-ready .hero__media img {
    animation: none;
  }

  .fit__grid,
  .how__review,
  .services__main,
  .faq__grid,
  .pricing__notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .expertise {
    grid-template-columns: minmax(0, 1fr);
  }

  .how__review {
    grid-template-areas: "intro" "levels" "film";
  }

  /* The examples become rows, with the price at the right */
  .pricing__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    column-gap: clamp(24px, 5vw, 56px);
  }

  .price .price__amount {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    padding-top: 0;
    text-align: right;
  }

  .faq__title {
    max-width: none;
  }

  .pricing__fine {
    grid-column: auto;
  }

  .vince__grid {
    --intro-copy-width: clamp(132px, 41vw, 190px);
    --intro-photo-width: clamp(116px, 35vw, 176px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(16px, 5vw, 24px);
    row-gap: 0;
    align-items: start;
  }

  /* Share the first 2 rows so the caption can sit below the greeting. */
  .vince__portrait {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: subgrid;
    grid-area: 1 / 1 / 3 / -1;
    width: 100%;
  }

  .vince__portrait picture {
    grid-area: 1 / 2 / 3;
    align-self: center;
    justify-self: center;
    width: min(100%, var(--intro-photo-width));
  }

  .vince__portrait figcaption {
    grid-area: 2 / 1;
    align-self: start;
    margin-top: 12px;
    font-size: 0.8125rem;
  }

  .vince__portrait figcaption strong {
    font-size: clamp(0.875rem, 3.85vw, 1rem);
  }

  .vince__body {
    display: contents;
  }

  .vince__body h2 {
    grid-area: 1 / 1;
    align-self: end;
    font-size: clamp(2rem, 10vw, 3rem);
    text-wrap: balance;
  }

  .vince__body h2,
  .vince__portrait figcaption {
    justify-self: center;
    width: min(100%, var(--intro-copy-width));
  }

  .vince__note,
  .creds {
    grid-column: 1 / -1;
    margin-top: 28px;
  }

  .vince__body > .detail-link {
    grid-column: 1 / -1;
    justify-self: start;
  }

  @supports not (grid-template-rows: subgrid) {
    .vince__portrait {
      display: block;
      grid-area: 1 / 2;
      justify-self: center;
      width: min(100%, var(--intro-photo-width));
    }

    .vince__body h2 {
      align-self: center;
    }
  }

  .fit__lead {
    padding-top: 0;
  }

  /* The route runs down the page on smaller screens */
  .route__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .route__step {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 18px;
    padding-bottom: 28px;
  }

  .route__step:last-child {
    padding-bottom: 0;
  }

  .route__num {
    grid-row: 1 / span 2;
  }

  .route__step :is(h3, h4) {
    margin-top: 8px;
  }

  .route__step:not(:first-child)::before {
    content: none;
  }

  .route__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 8px;
    left: 19px;
    border-left: 2px solid var(--tan);
  }

  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px 24px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .vince {
    padding-block-start: clamp(32px, 9svh, 56px);
  }

  .vince__grid {
    --intro-copy-width: clamp(190px, 27vw, 228px);
    --intro-photo-width: clamp(176px, 26vw, 208px);
    max-width: 700px;
  }

  .vince__body h2 {
    font-size: clamp(3rem, 6.2vw, 3.5rem);
  }

  .vince__body h2,
  .vince__portrait figcaption {
    justify-self: end;
  }

  .vince__portrait picture {
    justify-self: start;
  }

  .vince__portrait figcaption {
    font-size: 0.9375rem;
  }

  .vince__note {
    max-width: none;
  }
}

@media (max-width: 599px) {
  .levels {
    --door-w: clamp(22px, 5.6vw, 30px);
  }

  .levels__group {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
  }

  .levels__doors {
    position: absolute;
    inset-block-start: clamp(20px, 2vw, 28px);
    inset-inline-end: 0;
  }

  .levels__group--written .levels__format {
    padding-inline-end: calc(var(--door-w) + 14px);
  }

  .levels__group--video .levels__format {
    padding-inline-end: calc(2 * var(--door-w) + 20px);
  }

  .hero__media img {
    object-position: 50% 45%;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .expertise__list {
    grid-template-columns: minmax(0, 1fr);
  }

  .price {
    display: flex;
  }

  .price .price__amount {
    margin-top: 0;
    padding-top: 20px;
    text-align: left;
  }

  .fit__row {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
  }

  .fit dt {
    font-size: 2rem;
  }

  .inquiry__form {
    gap: 22px;
  }
}

@media (forced-colors: active) {
  .btn,
  .check input {
    border: 1px solid ButtonText;
  }

  .check input:checked {
    background: Highlight;
  }

  .check input[type="radio"]::after {
    background: HighlightText;
  }

  .field__control--select {
    appearance: auto;
    padding-right: 16px;
    background-image: none;
  }

  .inquiry__alert:not(:empty) {
    border: 1px solid CanvasText;
  }

  .inquiry,
  .levels__door {
    border: 1px solid CanvasText;
  }
}

/* Text equivalents for the sample return and video. */
.sample h3 {
  margin-top: 32px;
  color: var(--teal-ink);
  font-size: 1.1875rem;
  line-height: 1.35;
}

.sample blockquote {
  margin: 22px 0 0;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--tan);
  color: var(--ink-soft);
}

.sample blockquote footer {
  margin-top: 6px;
}

.sample__outcomes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(11rem, 100%), 1fr));
  gap: 16px;
  margin: 26px 0 0;
}

.sample__outcomes div {
  padding: 14px;
  background: var(--sage-wash);
}

.sample__outcomes dt,
.sample__outcomes dd span {
  font-size: 0.9375rem;
  font-weight: 400;
}

.sample__outcomes dd {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
}

.sample__outcomes dd span {
  display: block;
}

.sample__table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-variant-numeric: tabular-nums;
}

.sample__table caption {
  margin-bottom: 8px;
  color: var(--ink-soft);
  text-align: left;
}

.sample__table th,
.sample__table td {
  padding: 8px clamp(4px, 1.4vw, 12px);
  border-bottom: 1px solid var(--rule);
  text-align: right;
}

.sample__table th:first-child {
  padding-inline-start: 0;
  text-align: left;
}

.sample__table th[scope="row"] {
  font-weight: 500;
}

.sample__steps {
  margin: 12px 0 0;
  padding-inline-start: 1.5em;
}

.sample__steps li + li {
  margin-top: 8px;
}

.sample .sample__note {
  margin-top: 28px;
  color: var(--ink-soft);
}

/* Dedicated pages carry the home palette and type into quieter reading layouts. */
.site-header--interior {
  background: var(--teal-deep);
  border-bottom: 1px solid var(--rule-dark);
}

.site-nav ul a[aria-current="page"] {
  color: var(--tan-light);
  background-size: 100% 1px;
  font-weight: 600;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: clamp(36px, 6vw, 96px);
  row-gap: 24px;
  align-items: start;
}

.detail-hero {
  padding-block: calc(var(--header-h) + clamp(42px, 6vw, 88px)) clamp(40px, 6vw, 88px);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  color: var(--teal-ink);
}

.detail-hero--white {
  background: var(--white);
}

.detail-hero h1,
.profile h1 {
  max-width: 14ch;
  font-size: clamp(2.65rem, 5.2vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.036em;
  text-wrap: balance;
}

.detail-hero__aside {
  align-self: end;
  max-width: 31rem;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.7vw, 1.3125rem);
}

.detail-hero__aside .detail-link {
  margin-top: 8px;
}

.detail-hero__aside .detail-hero__price {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: clamp(2.125rem, 3.9vw, 3.5rem);
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.detail-link {
  color: var(--teal);
  text-decoration-color: var(--rule);
  text-underline-offset: 0.22em;
}

.detail-link--light {
  color: var(--on-dark);
  text-decoration-color: var(--on-dark-soft);
}

.vince__body > .detail-link,
.services .wrap > .detail-link,
.pricing .wrap > .detail-link,
.faq__list > .detail-link {
  margin-top: 20px;
}

.profile {
  padding-block: calc(var(--header-h) + clamp(40px, 7vw, 92px)) clamp(48px, 7vw, 100px);
  background: var(--teal-deep);
  color: var(--on-dark);
  --focus: var(--tan);
}

.profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas: "heading portrait" "bio portrait";
  gap: 22px clamp(32px, 7vw, 110px);
  align-items: start;
}

.profile__heading {
  grid-area: heading;
  align-self: end;
}

.profile__heading > p {
  margin-top: 16px;
  color: var(--on-dark-soft);
}

.profile__bio {
  grid-area: bio;
}

.profile__bio .vince__note {
  margin-top: 0;
}

.profile__portrait {
  grid-area: portrait;
  justify-self: center;
  align-self: center;
  width: min(100%, 360px);
}

.profile__portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  border-radius: 50% 50% 16px 16px / 41.667% 41.667% 16px 16px;
  background: var(--teal);
}

.detail-section,
.faq-detail {
  padding-block: var(--section-y);
}

.detail-section h2,
.faq-detail h2,
.detail-next h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.026em;
  text-wrap: pretty;
}

.profile__credentials {
  border-top: 1px solid var(--rule);
}

.profile__credentials li {
  max-width: 42rem;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}

.profile__credentials strong {
  color: var(--teal-ink);
}

.how__review--detail {
  grid-template-areas: "intro levels";
}

.faq-detail__topics {
  display: flex;
  flex-wrap: wrap;
  align-self: end;
  column-gap: 24px;
}

.faq-detail__group {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 24px clamp(36px, 6vw, 96px);
}

.faq-detail__group + .faq-detail__group {
  margin-top: var(--section-y);
}

.detail-next {
  padding-block: clamp(48px, 6.5vw, 96px);
  background: var(--teal);
  color: var(--on-dark);
  --focus: var(--tan);
}

.detail-next .detail-grid {
  align-items: center;
}

.detail-next p {
  max-width: 38rem;
  margin-top: 14px;
  color: var(--on-dark-soft);
}

.detail-next__action {
  justify-self: end;
}

.note--standalone {
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 72px));
}

.note--standalone .inquiry__head h1 {
  font-size: clamp(2rem, 6.6cqi, 3.25rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--teal-ink);
  text-wrap: balance;
}

@media (max-width: 899px) {
  .site-nav {
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav ul a:focus-visible {
    outline-offset: -3px;
  }

  .site-nav .btn--tan:focus-visible {
    outline-color: var(--teal-ink);
    outline-offset: -5px;
  }

  .site-nav ul a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.24em;
  }

  .detail-grid,
  .faq-detail__group {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-next__action {
    justify-self: start;
  }

  .how__review--detail {
    grid-template-areas: "intro" "levels";
  }

  .profile__portrait {
    max-width: 250px;
  }

  html:not(.js) .nav-toggle {
    display: none;
  }

  html:not(.js) .site-header {
    position: relative;
    background: var(--teal-deep);
  }

  html:not(.js) .site-header__inner {
    min-height: var(--header-h);
    height: auto;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 8px;
  }

  html:not(.js) .site-nav {
    position: static;
    display: flex;
    width: 100%;
    max-height: none;
    gap: 4px 16px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 4px 0 0;
    overflow: visible;
    box-shadow: none;
  }

  html:not(.js) .site-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 16px;
  }

  html:not(.js) .site-nav ul a {
    min-height: 44px;
    border-bottom: 0;
    font-size: 1rem;
  }

  html:not(.js) :is(.hero__content, .page-hero, .profile, .detail-hero, .note--standalone) {
    --header-h: 0px;
  }
}

@media (max-width: 899px) and (max-height: 460px) {
  .js .site-nav {
    gap: 14px;
    padding-bottom: 20px;
  }

  .js .site-nav ul a {
    min-height: 44px;
  }
}

@media (max-width: 539px) {
  .profile__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    grid-template-areas: "heading portrait" "bio bio";
    gap: 24px 14px;
    align-items: center;
  }

  .profile__heading {
    align-self: center;
  }

  .profile h1 {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }

  .profile__portrait img {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .detail-next__action {
    justify-self: stretch;
  }

  .detail-next__action .btn {
    width: 100%;
  }
}

.services--detail,
.pricing--detail {
  padding-top: clamp(44px, 5vw, 72px);
}

.services--detail .services__main {
  margin-top: 0;
}

.pricing--detail .pricing__list {
  margin-top: clamp(28px, 3vw, 44px);
}

@media (min-width: 900px) {
  .detail-hero--services .detail-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .detail-hero--services h1 {
    max-width: 17ch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    transition: none;
  }
}

.route--first {
  margin-top: 0;
}

.route--first .route__title {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.home-review {
  align-items: center;
  margin-top: clamp(48px, 7.5vw, 104px);
  padding-top: clamp(36px, 6vw, 72px);
  border-top: 1px solid var(--rule);
}

.home-review h3 {
  max-width: 13ch;
  color: var(--teal-ink);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.home-review p {
  max-width: 28em;
  margin-top: 12px;
  color: var(--ink-soft);
}

.home-review .review-film {
  margin: 0;
}

.home-review .detail-link,
.pricing__overview .detail-link {
  margin-top: 8px;
}

.pricing__overview p + p {
  margin-top: 10px;
  color: var(--ink-soft);
}

.expertise__list > li > a,
.faq__preview a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal-ink);
  font-weight: 600;
  text-underline-offset: 0.22em;
}

.faq__preview li {
  padding-block: 6px;
  border-bottom: 1px solid var(--rule);
}

.how .wrap > .detail-link {
  margin-top: 28px;
}

.inquiry__required {
  margin-bottom: 14px;
}

/* The Services page puts the three detailed situations before the core offering. */
.service-topics {
  margin-top: clamp(20px, 2.5vw, 32px);
  border-top: 1px solid var(--rule);
}

.service-topics a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding-block: 8px;
  border-bottom: 1px solid var(--rule);
  color: var(--teal-ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 0.22em;
}

.service-topics a:hover {
  text-decoration: underline;
}

.service-topics svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-focus__row {
  row-gap: 14px;
  padding-block: clamp(36px, 5.5vw, 76px);
  border-bottom: 1px solid var(--rule);
}

.service-focus__row:last-child {
  border-bottom: 0;
}

.service-focus__row h2 {
  max-width: 16ch;
  color: var(--teal-ink);
  font-size: clamp(1.875rem, 3.6vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.service-focus__row p {
  max-width: 60ch;
  color: var(--ink-soft);
}

.service-focus__row .detail-link {
  margin-top: 10px;
}

.services--core {
  background: var(--paper);
}
