@layer reset, base, components, layout, responsive, motion;

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

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
  }

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

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

  button,
  input,
  select,
  textarea {
    font: inherit;
  }

  a {
    color: inherit;
  }
}

@layer base {
  :root {
    --green: #0c6b58;
    --green-dark: #07463b;
    --ink: #16231f;
    --white: #ffffff;
    --off-white: #f8faf8;
    --mint: #ddebe6;
    --mint-deep: #b7d4ca;
    --coral: #e95f42;
    --coral-dark: #bf4028;
    --line: #b8c8c2;
    --muted: #52635d;
    --error: #ffad98;
    --success: #a6e8bd;
    --font: "Atkinson Hyperlegible Next", "Segoe UI", Arial, sans-serif;
    --gutter: clamp(1rem, 4vw, 4.5rem);
    --max-width: 92rem;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-section: clamp(4.5rem, 10vw, 9rem);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --z-header: 20;
    --z-menu: 30;
  }

  body {
    min-width: 20rem;
    color: var(--ink);
    background: var(--off-white);
    font-family: var(--font);
    font-size: 1rem;
    font-kerning: normal;
    font-optical-sizing: auto;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
  }

  body.nav-open {
    overflow: hidden;
  }

  h1,
  h2,
  h3 {
    font-weight: 750;
    letter-spacing: -0.035em;
    line-height: 1;
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(2.35rem, 6.8vw, 5.2rem);
  }

  h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.08;
  }

  p {
    text-wrap: pretty;
  }

  ::selection {
    color: var(--white);
    background: var(--green);
  }

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

  .skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--white);
    background: var(--ink);
    font-weight: 700;
    transform: translateY(-180%);
    transition: transform 160ms var(--ease-out);
  }

  .skip-link:focus {
    transform: translateY(0);
  }

  .section-label,
  .service-line {
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.075em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .section-label-light {
    color: #b8ddd2;
  }

  .logo {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    gap: 0.65rem;
    font-size: 1.04rem;
    font-weight: 500;
    letter-spacing: -0.025em;
    text-decoration: none;
  }

  .logo svg {
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
  }

  .logo svg circle {
    fill: var(--green);
  }

  .logo svg path {
    fill: none;
    stroke: var(--white);
    stroke-linecap: round;
    stroke-width: 3.2;
  }

  .logo strong {
    font-weight: 800;
  }

  .button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.9rem 1.1rem;
    border: 0;
    border-radius: 0.25rem;
    font-weight: 720;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
    transition:
      color 160ms ease,
      background-color 160ms ease,
      transform 140ms var(--ease-out);
  }

  .button:active {
    transform: scale(0.97);
  }

  .button-primary {
    color: var(--white);
    background: var(--green);
  }

  .button-coral {
    color: var(--ink);
    background: var(--coral);
  }

  .text-link {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--green-dark);
    font-weight: 700;
    text-decoration-color: var(--green);
    text-underline-offset: 0.3em;
  }
}

@layer components {
  .page-loader {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: none;
    overflow: hidden;
    grid-template-rows: 1fr auto;
    place-items: center;
    padding: clamp(1.5rem, 5vw, 4rem);
    color: var(--white);
    background: var(--green-dark);
    clip-path: inset(0 0 0 0);
    transition:
      clip-path 480ms var(--ease-out),
      opacity 180ms ease;
  }

  .js:not(.loader-seen) body {
    overflow: hidden;
  }

  .js:not(.loader-seen) .page-loader {
    display: grid;
  }

  .page-loader[hidden] {
    display: none !important;
  }

  .page-loader::before,
  .page-loader::after {
    position: absolute;
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .page-loader::before {
    top: -22vmax;
    right: -18vmax;
    width: 68vmax;
    aspect-ratio: 1.45;
    background:
      radial-gradient(ellipse at center,
        rgb(221 235 230 / 12%) 0 11%,
        transparent 33%),
      radial-gradient(ellipse at center,
        transparent 0 42%,
        rgb(221 235 230 / 20%) 42.4% 43%,
        transparent 43.5% 59%,
        rgb(233 95 66 / 22%) 59.4% 60%,
        transparent 60.5%);
  }

  .page-loader::after {
    bottom: -13vmax;
    left: -12vmax;
    width: 40vmax;
    aspect-ratio: 1.7;
    background:
      radial-gradient(ellipse at center,
        transparent 0 36%,
        rgb(221 235 230 / 14%) 36.5% 37.2%,
        transparent 37.7% 57%,
        rgb(221 235 230 / 9%) 57.5% 58.2%,
        transparent 58.7%);
  }

  .loader-brand,
  .page-loader > p {
    position: relative;
    z-index: 1;
  }

  .loader-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
  }

  .loader-brand svg {
    width: clamp(8rem, 19vw, 15rem);
    aspect-ratio: 1;
  }

  .loader-brand svg circle {
    fill: var(--mint);
  }

  .loader-brand svg path {
    fill: none;
    stroke: var(--green-dark);
    stroke-linecap: round;
    stroke-width: 3.2;
  }

  .loader-brand strong {
    max-width: 8ch;
    font-size: clamp(2.25rem, 7vw, 6rem);
    font-weight: 760;
    letter-spacing: -0.045em;
    line-height: 0.9;
  }

  .page-loader > p {
    justify-self: start;
    color: #c7ddd6;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 650;
  }

  .page-loader.is-exiting {
    opacity: 0.98;
    clip-path: inset(0 0 100% 0);
  }

  .demo-notice {
    display: flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    padding: 0.55rem var(--gutter);
    color: var(--ink);
    background: var(--coral);
    font-size: 0.76rem;
    line-height: 1.3;
  }

  .demo-notice a {
    flex: 0 0 auto;
    min-height: 2rem;
    align-content: center;
    font-weight: 750;
    text-underline-offset: 0.25em;
  }

  .site-header {
    position: relative;
    z-index: var(--z-header);
    display: flex;
    max-width: var(--max-width);
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto;
    padding: 0.75rem var(--gutter);
    background: var(--off-white);
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle {
    position: relative;
    z-index: calc(var(--z-menu) + 1);
    display: inline-flex;
    min-width: 4.5rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: flex-end;
    gap: 0.7rem;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    font-size: 0.85rem;
    font-weight: 720;
    cursor: pointer;
  }

  .nav-toggle i {
    position: relative;
    width: 1.1rem;
    height: 1.1rem;
  }

  .nav-toggle i::before,
  .nav-toggle i::after {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background: currentColor;
    content: "";
    transition: transform 190ms var(--ease-out);
  }

  .nav-toggle i::before {
    transform: translateY(-0.25rem);
  }

  .nav-toggle i::after {
    transform: translateY(0.25rem);
  }

  .nav-open .nav-toggle i::before {
    transform: rotate(45deg);
  }

  .nav-open .nav-toggle i::after {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: var(--z-menu);
    inset: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    padding: 6rem var(--gutter) 2rem;
    color: var(--white);
    background: var(--green-dark);
    opacity: 0;
    transform: translateY(-1rem);
    pointer-events: none;
    transition:
      opacity 180ms var(--ease-out),
      transform 220ms var(--ease-out),
      visibility 0s linear 220ms;
  }

  .site-nav a {
    display: flex;
    min-height: 4.4rem;
    align-items: center;
    border-bottom: 1px solid #4c7b70;
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-decoration: none;
  }

  .nav-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-open .nav-toggle {
    color: var(--white);
  }

  .header-cta {
    display: none;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: var(--max-width);
    margin-inline: auto;
  }

  .hero-copy {
    min-width: 0;
    align-self: center;
    padding: clamp(3.5rem, 9vw, 7.5rem) var(--gutter);
  }

  .hero h1 {
    max-width: 11ch;
    margin-top: var(--space-lg);
    font-size: clamp(3.2rem, 6vw, 5rem);
    line-height: 0.9;
  }

  .hero h1 span {
    color: var(--green);
  }

  .hero-lead {
    max-width: 40rem;
    margin-top: var(--space-xl);
    color: var(--muted);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.5;
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-sm) var(--space-lg);
    margin-top: var(--space-xl);
  }

  .hero-note {
    margin-top: var(--space-md);
    color: var(--muted);
    font-size: 0.78rem;
  }

  .hero-photo {
    position: relative;
    min-width: 0;
    min-height: 32rem;
    background: var(--green);
  }

  .hero-photo picture,
  .hero-photo img {
    width: 100%;
    height: 100%;
  }

  .hero-photo img {
    object-fit: cover;
    object-position: center;
  }

  .hero-photo figcaption {
    position: absolute;
    right: var(--gutter);
    bottom: 2.5rem;
    left: var(--gutter);
    max-width: 26rem;
    padding: 1rem;
    color: var(--white);
    background: var(--green-dark);
  }

  .hero-photo figcaption span {
    display: block;
    margin-bottom: 0.5rem;
    color: #b8ddd2;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero-photo figcaption strong {
    display: block;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.25;
  }

  .photo-credit {
    position: absolute;
    right: 0.5rem;
    bottom: 0.4rem;
    padding: 0.2rem 0.35rem;
    color: var(--white);
    background: rgb(0 0 0 / 65%);
    font-size: 0.62rem;
  }

  .decision-strip {
    display: flex;
    flex-direction: column;
    padding: 0 var(--gutter);
    color: var(--green-dark);
    background: var(--mint);
  }

  .decision-strip p {
    padding-block: 1rem;
    border-bottom: 1px solid var(--mint-deep);
    font-weight: 650;
  }

  .services-section,
  .process-section,
  .faq-section {
    display: grid;
    max-width: var(--max-width);
    margin-inline: auto;
    padding: var(--space-section) var(--gutter);
    gap: var(--space-2xl);
  }

  .section-heading h2,
  .faq-heading h2 {
    max-width: 12ch;
    margin-top: var(--space-lg);
  }

  .section-heading > p:last-child {
    max-width: 40rem;
    margin-top: var(--space-lg);
    color: var(--muted);
    font-size: 1.06rem;
  }

  .services-list {
    border-top: 1px solid var(--line);
  }

  .services-list article {
    display: grid;
    padding-block: var(--space-lg);
    border-bottom: 1px solid var(--line);
    gap: var(--space-md);
  }

  .services-list p {
    max-width: 38rem;
    margin-top: var(--space-xs);
    color: var(--muted);
  }

  .services-list a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    align-self: end;
    color: var(--green-dark);
    font-weight: 700;
    text-underline-offset: 0.28em;
  }

  .services-list a span {
    display: inline-block;
    transition: transform 180ms var(--ease-out);
  }

  .assessment-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    padding: var(--space-section) var(--gutter);
    color: var(--white);
    background: var(--green-dark);
    gap: var(--space-2xl);
  }

  .assessment-section > *,
  .clean-work-section > *,
  .quote-section > * {
    position: relative;
    z-index: 1;
  }

  .assessment-section::before,
  .assessment-section::after,
  .clean-work-section::before,
  .clean-work-section::after,
  .quote-section::before,
  .quote-section::after {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    content: "";
    pointer-events: none;
  }

  .assessment-section::before,
  .quote-section::before {
    width: clamp(28rem, 58vw, 60rem);
    aspect-ratio: 1.45;
    background:
      radial-gradient(ellipse at center,
        rgb(221 235 230 / 10%) 0 10%,
        transparent 34%),
      radial-gradient(ellipse at center,
        transparent 0 43%,
        rgb(221 235 230 / 13%) 43.4% 44%,
        transparent 44.5% 59%,
        rgb(233 95 66 / 13%) 59.4% 60%,
        transparent 60.5%);
  }

  .assessment-section::before {
    top: -22%;
    right: -20%;
  }

  .quote-section::before {
    bottom: -28%;
    left: -22%;
  }

  .assessment-section::after,
  .quote-section::after {
    width: clamp(13rem, 28vw, 27rem);
    aspect-ratio: 1.8;
    background:
      radial-gradient(ellipse at center,
        transparent 0 34%,
        rgb(221 235 230 / 9%) 34.5% 35.2%,
        transparent 35.7% 53%,
        rgb(221 235 230 / 7%) 53.5% 54.2%,
        transparent 54.7%);
  }

  .assessment-section::after {
    bottom: 4%;
    left: -8%;
  }

  .quote-section::after {
    top: 4%;
    right: -6%;
  }

  .assessment-copy,
  .assessment-list {
    width: 100%;
    max-width: calc(var(--max-width) / 2);
  }

  .assessment-copy h2 {
    max-width: 12ch;
    margin-top: var(--space-lg);
  }

  .assessment-copy > p:last-child {
    max-width: 40rem;
    margin-top: var(--space-xl);
    color: #c7ddd6;
    font-size: 1.06rem;
  }

  .assessment-list {
    border-top: 1px solid #4c7b70;
  }

  .assessment-list div {
    display: grid;
    grid-template-columns: minmax(5rem, 0.28fr) 1fr;
    padding-block: 1.15rem;
    border-bottom: 1px solid #4c7b70;
    gap: var(--space-md);
  }

  .assessment-list dt {
    color: #9dccbd;
    font-size: 0.75rem;
    font-weight: 750;
  }

  .assessment-list dd {
    font-size: 1.05rem;
    font-weight: 600;
  }

  .process-steps {
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
  }

  .process-steps li {
    display: grid;
    padding-block: var(--space-lg);
    border-bottom: 1px solid var(--line);
    gap: var(--space-md);
  }

  .process-steps > li > span {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: var(--white);
    background: var(--green);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 750;
  }

  .process-steps p {
    max-width: 40rem;
    margin-top: var(--space-xs);
    color: var(--muted);
  }

  .clean-work-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    padding: var(--space-section) var(--gutter);
    background: var(--coral);
    gap: var(--space-2xl);
  }

  .clean-work-section::before {
    top: -68%;
    right: -16%;
    width: clamp(30rem, 62vw, 64rem);
    aspect-ratio: 1;
    background:
      radial-gradient(circle at center,
        transparent 0 29%,
        rgb(22 35 31 / 13%) 29.3% 29.9%,
        transparent 30.2% 47%,
        rgb(248 250 248 / 18%) 47.3% 47.9%,
        transparent 48.2% 65%,
        rgb(22 35 31 / 9%) 65.3% 65.9%,
        transparent 66.2%);
  }

  .clean-work-section::after {
    bottom: -34%;
    left: 14%;
    width: clamp(10rem, 22vw, 22rem);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgb(12 107 88 / 18%) 0 11%, transparent 12%);
  }

  .clean-work-lead,
  .clean-work-section ul {
    width: 100%;
    max-width: calc(var(--max-width) / 2);
  }

  .clean-work-lead .section-label {
    color: #4d2117;
  }

  .clean-work-lead h2 {
    max-width: 12ch;
    margin-top: var(--space-lg);
  }

  .clean-work-section ul {
    padding: 0;
    border-top: 1px solid #793423;
    list-style: none;
  }

  .clean-work-section li {
    position: relative;
    padding: 1.1rem 0 1.1rem 2rem;
    border-bottom: 1px solid #793423;
    font-weight: 650;
  }

  .clean-work-section li::before {
    position: absolute;
    top: 1.45rem;
    left: 0.1rem;
    width: 0.75rem;
    height: 0.35rem;
    border-bottom: 2px solid var(--ink);
    border-left: 2px solid var(--ink);
    content: "";
    transform: rotate(-45deg);
  }

  .faq-list {
    border-top: 1px solid var(--line);
  }

  .faq-list details {
    border-bottom: 1px solid var(--line);
  }

  .faq-list summary {
    display: grid;
    min-height: 4.8rem;
    align-items: center;
    grid-template-columns: 1fr 1.5rem;
    gap: var(--space-md);
    padding-block: var(--space-md);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

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

  .faq-list summary span {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
  }

  .faq-list summary span::before,
  .faq-list summary span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 0.125rem;
    background: var(--green);
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 180ms var(--ease-out);
  }

  .faq-list summary span::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .faq-list details[open] summary span::after {
    transform: translate(-50%, -50%);
  }

  .faq-list details p {
    max-width: 62ch;
    padding: 0 2rem 1.5rem 0;
    color: var(--muted);
  }

  .quote-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    padding: var(--space-section) var(--gutter);
    color: var(--white);
    background: var(--green-dark);
    gap: var(--space-2xl);
  }

  .quote-heading,
  .quote-form {
    width: 100%;
    max-width: calc(var(--max-width) / 2);
  }

  .quote-heading h2 {
    max-width: 11ch;
    margin-top: var(--space-lg);
  }

  .quote-heading > p:last-child {
    max-width: 38rem;
    margin-top: var(--space-xl);
    color: #c7ddd6;
  }

  .quote-form {
    display: grid;
    align-content: start;
    gap: var(--space-md);
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .field label {
    font-size: 0.8rem;
    font-weight: 700;
  }

  .field input,
  .field select,
  .field textarea {
    width: 100%;
    min-height: 3.3rem;
    padding: 0.8rem;
    color: var(--white);
    background: #0b5749;
    border: 1px solid #6d968b;
    border-radius: 0.25rem;
    caret-color: var(--coral);
    transition:
      border-color 150ms ease,
      background-color 150ms ease;
  }

  .field select {
    color-scheme: dark;
  }

  .field textarea {
    min-height: 9rem;
    resize: vertical;
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    background: #0d5f50;
    border-color: var(--coral);
    outline: 0;
  }

  .field input:focus-visible,
  .field select:focus-visible,
  .field textarea:focus-visible,
  .consent input:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
  }

  .field [aria-invalid="true"] {
    border-color: var(--error);
  }

  .field-hint,
  .field-error,
  .form-status {
    color: #c7ddd6;
    font-size: 0.75rem;
  }

  .field-error {
    min-height: 0;
    color: var(--error);
  }

  .field-error:not(:empty) {
    min-height: 1.15rem;
  }

  .consent {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    align-items: start;
    gap: var(--space-sm);
    color: #d8e9e4;
    font-size: 0.82rem;
    cursor: pointer;
  }

  .consent input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: var(--coral);
  }

  .form-status {
    min-height: 1.2rem;
  }

  .form-status.is-success {
    color: var(--success);
  }

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

  .quote-form .button[disabled] {
    cursor: wait;
    opacity: 0.72;
  }

  .site-footer {
    display: flex;
    max-width: var(--max-width);
    flex-direction: column;
    align-items: flex-start;
    margin-inline: auto;
    padding: 2.5rem var(--gutter) max(2.5rem, env(safe-area-inset-bottom));
    gap: var(--space-lg);
  }

  .site-footer p,
  .site-footer > a:last-child {
    color: var(--muted);
    font-size: 0.82rem;
  }

  .site-footer > a:last-child {
    min-height: 2.75rem;
    align-content: center;
    font-weight: 700;
    text-underline-offset: 0.25em;
  }
}

@layer responsive {
  @media (min-width: 42rem) {
    .decision-strip {
      flex-direction: row;
      justify-content: center;
      gap: 0;
    }

    .decision-strip p {
      width: min(33.333%, 28rem);
      padding: 1.2rem;
      border-right: 1px solid var(--mint-deep);
      border-bottom: 0;
      text-align: center;
    }

    .decision-strip p:last-child {
      border-right: 0;
    }

    .services-list article {
      grid-template-columns: 1fr auto;
      align-items: start;
      gap: var(--space-lg);
    }

    .process-steps li {
      grid-template-columns: 2.75rem 1fr;
      gap: var(--space-lg);
    }

    .quote-form {
      grid-template-columns: 1fr 1fr;
    }

    .field-wide {
      grid-column: 1 / -1;
    }

    .site-footer {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }

  @media (min-width: 48rem) {
    .hero {
      min-height: 46rem;
      grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .hero-photo {
      min-height: 46rem;
    }
  }

  @media (min-width: 64rem) {
    .nav-toggle {
      display: none;
    }

    .site-nav {
      position: static;
      display: flex;
      visibility: visible;
      flex-direction: row;
      align-items: center;
      gap: 1.8rem;
      padding: 0;
      color: var(--ink);
      background: transparent;
      opacity: 1;
      transform: none;
      pointer-events: auto;
      transition: none;
    }

    .site-nav a {
      display: inline-flex;
      min-height: 2.75rem;
      align-items: center;
      border: 0;
      font-size: 0.9rem;
      font-weight: 650;
      letter-spacing: 0;
    }

    .header-cta {
      display: inline-flex;
      min-height: 2.9rem;
      align-items: center;
      gap: 2rem;
      padding-inline: 1rem;
      color: var(--white);
      background: var(--green);
      border-radius: 0.25rem;
      font-size: 0.88rem;
      font-weight: 700;
      text-decoration: none;
      transition:
        background-color 160ms ease,
        transform 140ms var(--ease-out);
    }

    .header-cta:active {
      transform: scale(0.97);
    }

    .services-section,
    .process-section,
    .faq-section {
      grid-template-columns: minmax(0, 0.8fr) minmax(30rem, 1.2fr);
      gap: clamp(4rem, 8vw, 9rem);
    }

    .section-heading,
    .faq-heading {
      position: sticky;
      top: 2rem;
      align-self: start;
    }

    .assessment-section,
    .clean-work-section,
    .quote-section {
      grid-template-columns: 1fr 1fr;
      justify-items: center;
      gap: clamp(4rem, 8vw, 10rem);
    }

    .assessment-copy,
    .clean-work-lead,
    .quote-heading {
      justify-self: end;
    }

    .assessment-list,
    .clean-work-section ul,
    .quote-form {
      justify-self: start;
    }
  }

  @media (min-width: 100rem) {
    .site-header,
    .hero,
    .services-section,
    .process-section,
    .faq-section,
    .site-footer {
      border-inline: 1px solid var(--line);
    }
  }

  @media (max-width: 35rem) {
    .loader-brand {
      flex-direction: column;
      align-items: flex-start;
    }

    .loader-brand strong {
      max-width: none;
    }

    .demo-notice {
      align-items: flex-start;
      flex-direction: column;
    }

    .hero-actions,
    .hero-actions .button,
    .hero-actions .text-link {
      width: 100%;
    }

    .hero-actions .text-link {
      justify-content: flex-start;
    }

    .hero-photo figcaption {
      right: 1rem;
      left: 1rem;
    }
  }

  @media (max-width: 25rem) {
    .hero h1 {
      font-size: 2.75rem;
    }
  }

  @media (max-width: 23rem) {
    .logo > span {
      display: none;
    }

    .hero h1 {
      font-size: 2.65rem;
    }
  }
}

@layer motion {
  .instant-menu .site-nav {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .button-primary:hover,
    .header-cta:hover {
      background: var(--coral);
    }

    .button-coral:hover {
      background: var(--white);
    }

    .site-nav a:hover,
    .demo-notice a:hover,
    .site-footer > a:last-child:hover {
      text-decoration: underline;
      text-underline-offset: 0.3em;
    }

    .services-list a:hover span {
      transform: translateX(0.25rem);
    }

    .faq-list summary:hover {
      color: var(--green);
    }
  }

  @media (prefers-reduced-motion: no-preference) {
    .page-loader::before {
      animation: loader-air-current 19s linear infinite;
    }

    .page-loader::after {
      animation: loader-air-drift 13s var(--ease-out) infinite alternate;
    }

    .loader-brand {
      animation: loader-brand-in 620ms var(--ease-out) both;
    }

    .page-loader > p {
      animation: loader-copy-in 520ms 140ms var(--ease-out) both;
    }

    .page-loader.is-exiting .loader-brand,
    .page-loader.is-exiting > p {
      opacity: 0;
      transform: translateY(-0.5rem) scale(0.98);
      transition:
        opacity 160ms ease,
        transform 200ms var(--ease-out);
    }

    .assessment-section::before,
    .quote-section::before {
      animation: air-current 30s linear infinite;
    }

    .assessment-section::after,
    .quote-section::after,
    .clean-work-section::after {
      animation: air-drift 22s var(--ease-out) infinite alternate;
    }

    .clean-work-section::before {
      animation: air-counter-current 36s linear infinite;
    }

    .hero-copy,
    .hero-photo {
      opacity: 1;
      transform: translateY(0);
      transition:
        opacity 650ms var(--ease-out),
        transform 720ms var(--ease-out);
    }

    .hero-photo {
      transition-delay: 100ms;
    }

    @starting-style {
      .hero-copy,
      .hero-photo {
        opacity: 0;
        transform: translateY(1rem);
      }
    }
  }

  @keyframes air-current {
    from {
      transform: rotate(0deg) translate3d(-2%, 1%, 0);
    }
    to {
      transform: rotate(360deg) translate3d(3%, -2%, 0);
    }
  }

  @keyframes air-counter-current {
    from {
      transform: rotate(360deg) translate3d(0, 0, 0);
    }
    to {
      transform: rotate(0deg) translate3d(-3%, 2%, 0);
    }
  }

  @keyframes air-drift {
    from {
      transform: translate3d(-5%, 3%, 0) rotate(-5deg);
    }
    to {
      transform: translate3d(8%, -4%, 0) rotate(8deg);
    }
  }

  @keyframes loader-air-current {
    from {
      transform: rotate(0deg) translate3d(-2%, 1%, 0);
    }
    to {
      transform: rotate(360deg) translate3d(3%, -2%, 0);
    }
  }

  @keyframes loader-air-drift {
    from {
      transform: translate3d(-5%, 3%, 0) rotate(-4deg);
    }
    to {
      transform: translate3d(9%, -6%, 0) rotate(7deg);
    }
  }

  @keyframes loader-brand-in {
    from {
      opacity: 0;
      transform: translateY(1rem) scale(0.96);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }

  @keyframes loader-copy-in {
    from {
      opacity: 0;
      transform: translateY(0.5rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .page-loader {
      transition:
        opacity 20ms linear,
        clip-path 20ms linear;
    }

    .page-loader.is-exiting {
      opacity: 0;
      clip-path: inset(0);
    }

    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }
  }
}
