/* Nachas ABA
   Plus Jakarta Sans is self-hosted (OFL). See /fonts/OFL-plus-jakarta.txt
*/

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/plus-jakarta.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026, U+00A0;
}

:root {
  --white: #ffffff;
  --paper: #f5f7f6;
  --cream: #f7f4ee;
  --ink: #07343f;
  --soft: #2f5560;
  --line: #e4eeea;
  --teal: #0b4f5c;
  --teal-deep: #06343d;
  --sage: #d7ebe4;
  --sage-2: #e7f3ef;
  --foam: #eef6f3;
  --sand: #f3ece4;
  --warm: #9a4e32;
  --danger: #8c1d18;
  --danger-bg: #fdecea;
  --shadow: 0 18px 50px rgba(7, 52, 63, 0.08);
  --shadow-sm: 0 8px 24px rgba(7, 52, 63, 0.06);
  --sans: "Plus Jakarta Sans", "Segoe UI", "Noto Sans", sans-serif;
  --max: 76rem;
  --header: 4.5rem;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

main {
  flex: 1;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
  color: var(--ink);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 650;
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--teal);
  text-underline-offset: 0.18em;
}

a:visited {
  color: var(--teal);
}

a:hover {
  color: var(--teal-deep);
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 60;
  transform: translateY(-200%);
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  font-weight: 650;
  box-shadow: var(--shadow-sm);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.layout {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.measure {
  max-width: 44rem;
}

.draft-banner {
  margin: 0;
  padding: 0.45rem 1.25rem;
  background: var(--teal-deep);
  color: #f4fbf8;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(7, 52, 63, 0.08);
  backdrop-filter: blur(16px);
}

.header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  min-height: var(--header);
  padding-block: 0.45rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:visited,
.wordmark:hover {
  color: var(--ink);
  text-decoration: none;
}

.wordmark img {
  display: block;
  width: auto;
  height: 2.35rem;
  border-radius: 0;
}

@media (max-width: 640px) {
  .wordmark img {
    height: 1.85rem;
  }
}

.wordmark-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 44px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
  order: 2;
}

.header-phone:visited,
.header-phone:hover {
  color: var(--teal);
  text-decoration: none;
}

.phone-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.header-phone-text {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  align-items: baseline;
  line-height: 1.15;
}

.phone-digits {
  font-weight: 550;
  font-size: 0.95rem;
  color: inherit;
}

.nav-toggle {
  order: 3;
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
}

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

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.nav {
  display: flex;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.15rem;
  order: 4;
  padding-bottom: 0.75rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.nav a:visited {
  color: var(--ink);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--teal);
}

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

.js .nav-toggle {
  display: inline-flex;
}

.js .nav {
  display: none;
}

.js .nav.is-open {
  display: flex;
  border-top: 1px solid var(--line);
  margin-top: 0.25rem;
  padding-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary,
.btn-primary:visited,
.nav a.btn-primary,
.nav a.btn-primary:visited {
  background: var(--ink);
  color: #f7fbf9;
  box-shadow: 0 8px 20px rgba(7, 52, 63, 0.18);
}

.btn-primary:hover,
.nav a.btn-primary:hover {
  background: var(--teal-deep);
  color: #f7fbf9;
}

.btn-secondary,
.btn-secondary:visited {
  background: var(--white);
  color: var(--ink);
  border-color: #d5e3de;
}

.btn-secondary:hover {
  background: var(--sage-2);
  color: var(--ink);
}

.btn-primary:focus-visible,
.draft-banner:focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible {
  outline-color: #f7fbf9;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0.35rem;
}

.hero {
  padding: 3.2rem 0 2.5rem;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(215, 235, 228, 0.9), transparent 46%),
    radial-gradient(ellipse at 10% 90%, rgba(243, 236, 228, 0.7), transparent 42%),
    var(--white);
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 38rem;
  color: var(--soft);
  font-size: 1.125rem;
  text-wrap: pretty;
}

.reassure {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--soft);
  font-size: 0.95rem;
}

.hero-visual {
  margin: 0;
}

.hero-visual svg {
  display: block;
  width: min(100%, 460px);
  margin-inline: auto;
  filter: drop-shadow(0 24px 40px rgba(7, 52, 63, 0.08));
}

.art-caption {
  margin: 0.85rem 0 0;
  color: var(--soft);
  font-size: 0.95rem;
  text-align: center;
}

.trust {
  background: var(--white);
  padding: 0 0 2.5rem;
}

.trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 0.35rem;
  display: grid;
  gap: 0.35rem;
  background: var(--paper);
  border-radius: 1.4rem;
}

.trust-list li {
  background: var(--white);
  border-radius: 1.1rem;
  padding: 1rem 1.1rem;
}

.trust-list strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.trust-list span {
  color: var(--soft);
  font-size: 0.95rem;
}

.section {
  padding: 3.5rem 0;
}

.band {
  background: linear-gradient(180deg, var(--sage-2), var(--white));
}

.page-head {
  padding: 3.5rem 0 0.5rem;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(215, 235, 228, 0.75), transparent 50%),
    var(--white);
}

.page-head + .section {
  padding-top: 1.5rem;
}

.page-services .section .measure {
  display: grid;
  gap: 1.15rem;
  max-width: 52rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.split {
  display: grid;
  gap: 1.5rem 3rem;
}

#what-is-aba .split {
  align-items: center;
}

.pullquote {
  margin: 1.5rem 0 0;
  padding: 1.1rem 1.2rem;
  border: 0;
  border-radius: 1.2rem;
  background: var(--cream);
}

.pullquote p {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.pullquote figcaption {
  margin-top: 0.7rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.check-list,
.card-grid,
.icon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.check-list li,
.card,
.icon-card,
.service-detail {
  background: var(--white);
  border: 1px solid rgba(7, 52, 63, 0.06);
  border-radius: 1.35rem;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: var(--shadow-sm);
}

.icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--teal);
}

.icon-card .icon,
.service-detail .icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  padding: 0.6rem;
  border-radius: 0.9rem;
  background: var(--sage-2);
}

.flag {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--sand);
  color: var(--warm);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.draft-note {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  background: var(--sage-2);
  color: var(--ink);
}

.step-num {
  display: block;
  margin-bottom: 0.55rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f7fbf9;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 2.1rem;
  text-align: center;
}

.section-tight {
  padding-top: 0;
}

.measure > h2,
.measure > h3 {
  margin-top: 2rem;
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: var(--white);
  border-radius: 1.2rem;
  padding: 1rem 1rem 0.9rem;
  box-shadow: var(--shadow-sm);
}

.timeline li::before {
  display: none;
}

.step-index {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #f7fbf9;
  font-weight: 700;
}

.callout,
.cta-band {
  border-radius: 1.6rem;
}

.callout {
  background: var(--sage-2);
  padding: 1.3rem 1.2rem;
  margin: 0 0 1.5rem;
}

.cta-band {
  background: linear-gradient(145deg, #0b4f5c, #07343f 60%);
  color: #f7fbf9;
  padding: 2rem 1.4rem;
  box-shadow: var(--shadow);
}

.cta-band img {
  display: block;
  width: auto;
  height: 2.4rem;
  margin: 0 0 1.1rem;
}

.cta-band h2,
.cta-band p,
.cta-band .kicker {
  color: #f7fbf9;
}

.cta-band a:not(.btn) {
  color: #f7fbf9;
}

.cta-band .btn-secondary,
.cta-band .btn-secondary:visited {
  background: #f7fbf9;
  color: var(--ink);
  border-color: transparent;
}

.empty-state {
  background: var(--paper);
  border: 1px dashed #c9ddd6;
  border-radius: 1.2rem;
  padding: 1.2rem 1.1rem;
  margin: 1rem 0 1.5rem;
}

.facts {
  margin: 1rem 0 1.4rem;
}

.facts div {
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
}

.facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin: 0.2rem 0 0;
  color: var(--soft);
}

.token {
  font-family: ui-monospace, "Cascadia Mono", monospace;
  font-size: 0.92em;
  background: var(--sand);
  color: var(--ink);
  padding: 0.05em 0.35em;
  border-radius: 0.3rem;
}

.contact-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.form-card,
.office-card {
  background: var(--white);
  border: 1px solid rgba(7, 52, 63, 0.06);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.office-card {
  background: var(--sage-2);
  box-shadow: none;
}

address {
  font-style: normal;
}

.phi-note {
  margin: 0 0 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  background: var(--sand);
  color: var(--ink);
  font-weight: 650;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 650;
}

.req,
.hint {
  font-weight: 500;
  color: var(--soft);
}

.hint {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--danger);
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #d5e3de;
  border-radius: 0.9rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

select {
  appearance: none;
  padding-right: 2.5rem;
  background: var(--white);
}

input.is-invalid,
select.is-invalid {
  border-color: var(--danger);
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  font-weight: 650;
}

.form-status.is-warning {
  background: var(--sand);
  color: var(--ink);
}

.form-status.is-error {
  background: var(--danger-bg);
  color: var(--danger);
}

.form-status.is-success {
  background: var(--sage-2);
  color: var(--ink);
}

.site-footer {
  background: var(--teal-deep);
  color: #e7f3ef;
  padding: 3rem 0 1.4rem;
  margin-top: 1rem;
}

.site-footer a,
.site-footer a:visited,
.site-footer .phone-digits {
  color: #f7fbf9;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

.footer-name {
  margin: 0 0 0.7rem;
}

.footer-name img {
  display: block;
  width: auto;
  height: 2.15rem;
}

.footer-heading {
  margin: 0 0 0.55rem;
  color: #b7d4cc;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.footer-base {
  display: grid;
  gap: 0.25rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(247, 251, 249, 0.16);
  color: #d7ebe4;
  font-size: 0.95rem;
}

.footer-base p {
  margin: 0;
}

.page-contact .nav-cta {
  display: none;
}

@media (min-width: 720px) {
  .trust-list,
  .icon-grid,
  .card-grid,
  .check-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 0.9fr;
  }

  .split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1079px) {
  .header-phone {
    flex-basis: 100%;
    order: 4;
    justify-content: flex-start;
    min-height: 36px;
    padding-bottom: 0.35rem;
  }

  .nav {
    order: 5;
  }
}

.office-card h3 {
  margin-top: 1.15rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1.5rem;
  }

  .header-phone-text {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .trust-list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1080px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding: 4.5rem 0 3.5rem;
  }

  .wordmark {
    margin-right: 0;
  }

  .nav-toggle {
    display: none !important;
  }

  .no-js .nav,
  .js .nav,
  .js .nav.is-open {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.1rem;
    margin-left: auto;
    padding: 0;
    border-top: 0;
    order: 0;
  }

  .header-phone {
    order: 0;
    margin-left: 0.5rem;
  }

  .nav-cta {
    margin-left: 0.35rem;
  }
}

@media (forced-colors: active) {
  .btn,
  .nav-toggle,
  .icon-card,
  .form-card,
  .phi-note {
    border: 1px solid CanvasText;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .btn,
  .icon-card,
  .card,
  .service-detail {
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  }

  .btn:hover,
  .icon-card:hover,
  .card:hover {
    transform: translateY(-2px);
  }
}

.photo-cluster {
  position: relative;
  min-height: 420px;
  margin: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.blob-a {
  width: 180px;
  height: 180px;
  background: #9a4e32;
  opacity: 0.85;
  top: 8%;
  left: 0;
}

.blob-b {
  width: 140px;
  height: 140px;
  background: var(--sage);
  right: 6%;
  bottom: 18%;
}

.photo-frame {
  overflow: hidden;
  background: var(--sage-2);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  margin-left: auto;
  border-radius: 2.4rem 5rem 2rem 4rem;
}

.photo-float {
  position: absolute;
  z-index: 2;
  width: 42%;
  aspect-ratio: 1;
  left: 0;
  bottom: 8%;
  border: 6px solid var(--white);
  border-radius: 1.6rem 2.4rem 1.4rem 2.2rem;
  box-shadow: var(--shadow);
}

.photo-wide {
  width: min(100%, 720px);
  aspect-ratio: 16 / 10;
  margin: 0 auto 0.5rem;
  border-radius: 2rem 4.5rem 1.8rem 3rem;
}

.photo-side {
  margin-top: 1.25rem;
  aspect-ratio: 4 / 5;
  border-radius: 2rem 3.5rem 1.6rem 2.8rem;
}

.photo-band {
  padding-top: 1.5rem;
}

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.why-grid li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
}

.why-grid .icon {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem;
  border-radius: 0.85rem;
  background: var(--sage-2);
}

.faq {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--white);
  border-radius: 1.1rem;
  box-shadow: var(--shadow-sm);
  padding: 0.2rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  margin-left: auto;
  font-weight: 500;
  color: var(--teal);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p:last-child {
  margin-bottom: 0.85rem;
}

.mark {
  background-image: linear-gradient(#d7ebe4, #d7ebe4);
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% 0.32em;
}

html.motion .reveal,
html.motion .icon-card,
html.motion .card,
html.motion .check-list li,
html.motion .service-detail,
html.motion .faq-item,
html.motion .why-grid li {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

html.motion .is-in,
html.motion .reveal.is-in,
html.motion .icon-card.is-in,
html.motion .card.is-in,
html.motion li.is-in,
html.motion .service-detail.is-in,
html.motion .faq-item.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.motion .icon-grid .icon-card:nth-child(2),
html.motion .why-grid li:nth-child(2),
html.motion .card-grid .card:nth-child(2),
html.motion .check-list li:nth-child(2) {
  transition-delay: 0.08s;
}

html.motion .icon-grid .icon-card:nth-child(3),
html.motion .why-grid li:nth-child(3),
html.motion .card-grid .card:nth-child(3),
html.motion .check-list li:nth-child(3) {
  transition-delay: 0.16s;
}

html.motion .why-grid li:nth-child(4) { transition-delay: 0.2s; }
html.motion .why-grid li:nth-child(5) { transition-delay: 0.24s; }
html.motion .why-grid li:nth-child(6) { transition-delay: 0.28s; }

html.motion .mark {
  background-size: 0% 0.32em;
  transition: background-size 0.7s ease 0.15s;
}

html.motion .is-in .mark {
  background-size: 100% 0.32em;
}

.rotator {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.08em;
  min-width: 7ch;
}

.rotator-word {
  display: inline-block;
  color: var(--teal);
}

html.motion .rotator-word {
  transition: transform 0.35s ease, opacity 0.35s ease;
}

html.motion .rotator-word.is-out {
  transform: translate3d(0, -110%, 0);
  opacity: 0;
}

@media (max-width: 719px) {
  .photo-cluster {
    min-height: 0;
    display: grid;
    gap: 0.75rem;
  }

  .photo-main,
  .photo-float {
    position: relative;
    width: 100%;
    left: auto;
    bottom: auto;
    margin: 0;
  }

  .photo-float {
    width: 72%;
    margin-top: -2.5rem;
    margin-left: 1rem;
  }
}

@media (min-width: 720px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid li {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .parallax {
    transform: none !important;
  }
}

@media print {
  .nav-toggle,
  .skip-link,
  .draft-banner {
    display: none !important;
  }

  .nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-header {
    position: static;
  }

  body,
  .site-footer,
  .cta-band {
    background: #fff !important;
    color: #000 !important;
  }
}
