@font-face {
    font-display: swap;
    font-family: "Home Raleway";
    font-style: normal;
    font-weight: 400;
    src: url("../font/raleway-400-latin.woff2") format("woff2");
}

html,
body.home-landing {
    margin: 0;
    padding: 0;
}

@font-face {
    font-display: swap;
    font-family: "Home Raleway";
    font-style: normal;
    font-weight: 700;
    src: url("../font/raleway-700-latin.woff2") format("woff2");
}

.home-page {
    --home-ink: #17312e;
    --home-ink-deep: #0d201f;
    --home-paper: #f2efe6;
    --home-white: #fbfcf8;
    --home-sage: #c9d7c2;
    --home-moss: #7d9777;
    --home-line: rgba(23, 49, 46, 0.2);
    --home-ease: cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--home-white);
    color: var(--home-ink);
    font-family: "Home Raleway", "Helvetica Neue", Arial, sans-serif;
    min-width: 0;
    overflow: clip;
}

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

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p,
.home-page a,
.home-page li,
.home-page blockquote,
.home-page figcaption,
.home-page strong,
.home-page small {
    font-family: "Home Raleway", "Helvetica Neue", Arial, sans-serif;
}

.home-page a {
    color: inherit;
}

.home-page img {
    display: block;
    max-width: 100%;
}

.home-page svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.home-skip-link {
    background: var(--home-white);
    border-radius: 0 0 10px 0;
    color: var(--home-ink);
    font-size: 0.875rem;
    font-weight: 700;
    left: 0;
    padding: 0.8rem 1rem;
    position: fixed;
    top: 0;
    transform: translateY(-120%);
    transition: transform 180ms ease;
    z-index: 1000;
}

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

/* Homepage-only navigation treatment. Existing routes and menu behaviour remain in the layout. */
body.home-landing .site-header {
    animation: fadeIn 700ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1)) both;
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition:
        background-color 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease;
    width: 100%;
    -webkit-backdrop-filter: none;
}

body.home-landing .site-header .container-wide {
    max-width: 100rem;
    padding-inline: clamp(1.25rem, 3.5vw, 3.75rem);
}

body.home-landing .site-header .header-row {
    height: clamp(4.5rem, 7vw, 5.5rem);
}

body.home-landing .site-header .brand-link {
    color: #ffffff;
    font-family: "Home Raleway", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    font-weight: 700;
    gap: 0.65rem;
    letter-spacing: -0.01em;
}

body.home-landing .site-header .brand-link .logo-box {
    color: #dbe8d4;
    height: 1.7rem;
    width: 1.7rem;
}

body.home-landing .site-header .brand-link .logo-box svg {
    height: 100%;
    width: 100%;
}

body.home-landing .site-header .main-nav {
    gap: clamp(1rem, 2.2vw, 2.25rem);
}

body.home-landing .site-header .nav-link,
body.home-landing .site-header .btn-logout,
body.home-landing .site-header .nav-user-email {
    color: rgba(255, 255, 255, 0.9);
    font-family: "Home Raleway", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    position: relative;
}

body.home-landing .site-header .nav-link::after {
    background: currentColor;
    bottom: -0.25rem;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 260ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1));
    width: 100%;
}

body.home-landing .site-header .nav-link:hover::after,
body.home-landing .site-header .nav-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

body.home-landing .site-header .btn-login {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #ffffff;
    font-family: "Home Raleway", "Helvetica Neue", Arial, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.65rem 1.1rem;
    transition:
        background-color 220ms ease,
        color 220ms ease,
        transform 220ms var(--home-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

body.home-landing .site-header .btn-login:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--home-ink, #17312e);
    transform: translateY(-1px);
}

body.home-landing .site-header .hamburger-line {
    background: #ffffff;
}

body.home-landing .site-header.header-scrolled {
    background: rgba(13, 32, 31, 0.94);
    backdrop-filter: saturate(130%) blur(14px);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(8, 24, 22, 0.14);
    -webkit-backdrop-filter: saturate(130%) blur(14px);
}

body.home-landing .site-header.nav-light.header-scrolled {
    background: rgba(251, 252, 248, 0.96);
    border-bottom-color: rgba(23, 49, 46, 0.12);
}

body.home-landing .site-header.nav-light .brand-link,
body.home-landing .site-header.nav-light .nav-link,
body.home-landing .site-header.nav-light .nav-user-email,
body.home-landing .site-header.nav-light .btn-logout {
    color: var(--home-ink, #17312e);
}

body.home-landing .site-header.nav-light .brand-link .logo-box {
    color: var(--brand-primary, #0a7e8c);
}

body.home-landing .site-header.nav-light .hamburger-line {
    background: var(--home-ink, #17312e);
}

body.home-landing .site-header.nav-light .btn-login {
    background: var(--home-ink, #17312e);
    border-color: var(--home-ink, #17312e);
    color: #ffffff;
}

/* First viewport */
.home-hero {
    background: var(--home-ink-deep);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    isolation: isolate;
    justify-content: flex-end;
    min-height: max(100svh, 52rem);
    padding-top: clamp(5.5rem, 9vw, 7rem);
    position: relative;
}

.home-hero__media,
.home-hero__wash {
    inset: 0;
    position: absolute;
}

.home-hero__media {
    overflow: hidden;
    z-index: -2;
}

.home-hero__image {
    height: 100%;
    object-fit: cover;
    object-position: center 46%;
    transform: scale(1.015);
    width: 100%;
}

.home-hero__wash {
    background:
        linear-gradient(90deg, rgba(8, 28, 25, 0.88) 0%, rgba(8, 28, 25, 0.56) 47%, rgba(8, 28, 25, 0.2) 78%),
        linear-gradient(0deg, rgba(8, 26, 24, 0.92) 0%, rgba(8, 26, 24, 0.18) 42%, rgba(8, 26, 24, 0.28) 100%);
}

.home-hero__content {
    align-self: stretch;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 100rem;
    padding: clamp(3rem, 8vh, 6.5rem) clamp(1.25rem, 3.5vw, 3.75rem) clamp(3rem, 6vh, 4.75rem);
    width: 100%;
}

.home-hero__heading-wrap {
    max-width: 92rem;
}

.home-hero__title {
    color: #ffffff;
    font-size: clamp(3.8rem, 8.6vw, 8.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.86;
    margin: 0;
    text-wrap: balance;
}

.home-hero__line {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.22em;
}

.home-hero__line + .home-hero__line {
    margin-top: 0.08em;
}

.home-hero__line--soft {
    color: rgba(255, 255, 255, 0.58);
}

.home-hero__word-mask {
    display: inline-flex;
    overflow: hidden;
    padding-bottom: 0.09em;
}

.home-hero__word {
    display: inline-block;
}

.home-hero__support {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: clamp(2rem, 4vw, 3.75rem);
}

.home-hero__description {
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.55;
    margin: 0;
    max-width: 38rem;
}

.home-hero__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.1rem 1.5rem;
    justify-content: flex-start;
}

.home-button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 1.5rem;
    justify-content: space-between;
    min-height: 3.65rem;
    padding: 0.75rem 0.9rem 0.75rem 1.45rem;
    text-decoration: none;
    transition:
        background-color 220ms ease,
        color 220ms ease,
        transform 260ms var(--home-ease),
        box-shadow 260ms ease;
}

.home-button svg {
    border: 1px solid currentColor;
    border-radius: 50%;
    height: 2rem;
    padding: 0.42rem;
    transition: transform 260ms var(--home-ease);
    width: 2rem;
}

.home-button:hover {
    transform: translateY(-2px);
}

.home-button:hover svg {
    transform: translateX(3px);
}

.home-page .home-button--light {
    background: #ffffff;
    color: var(--home-ink);
    box-shadow: 0 14px 34px rgba(7, 21, 20, 0.22);
}

.home-page .home-button--light:hover {
    background: var(--home-sage);
    color: var(--home-ink-deep);
}

.home-page .home-button--ink {
    background: var(--home-ink);
    color: #ffffff;
    box-shadow: 0 14px 34px rgba(23, 49, 46, 0.18);
}

.home-page .home-button--ink:hover {
    background: var(--home-ink-deep);
    color: #ffffff;
}

.home-text-link {
    align-items: center;
    color: var(--home-ink);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 700;
    gap: 0.65rem;
    position: relative;
    text-decoration: none;
    width: fit-content;
}

.home-text-link::after {
    background: currentColor;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    top: calc(100% + 0.22rem);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 260ms var(--home-ease);
    width: 100%;
}

.home-text-link:hover::after {
    transform: scaleX(0.22);
    transform-origin: right;
}

.home-text-link--light {
    color: #ffffff;
}

.home-feature-grid {
    align-self: end;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 100rem;
    overflow: hidden;
    padding-inline: clamp(1.25rem, 3.5vw, 3.75rem);
    position: relative;
    width: 100%;
}

.home-feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 14.5rem;
    padding: clamp(1.6rem, 2.5vw, 2.4rem);
}

.home-feature:first-child {
    border-radius: 1.25rem 0 0;
}

.home-feature:last-child {
    border-radius: 0 1.25rem 0 0;
}

.home-feature--paper {
    background: var(--home-paper);
    color: var(--home-ink);
}

.home-feature--sage {
    background: var(--home-sage);
    color: var(--home-ink-deep);
}

.home-feature--ink {
    background: var(--home-ink);
    color: #ffffff;
}

.home-feature__icon {
    height: 1.6rem;
    width: 1.6rem;
}

.home-feature h2 {
    color: inherit;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 2.4rem 0 0.8rem;
}

.home-feature p {
    color: currentColor;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    max-width: 29rem;
    opacity: 0.8;
}

/* Shared section language */
.home-section {
    padding:
        clamp(5.5rem, 10vw, 9rem)
        max(clamp(1.25rem, 4vw, 3.75rem), calc((100vw - 92rem) / 2));
}

.home-section--paper {
    background: var(--home-paper);
}

.home-section--white {
    background: var(--home-white);
}

.home-section__intro h2,
.home-section__heading h2,
.home-stories__heading h2,
.home-cta h2 {
    color: inherit;
    font-size: clamp(2.8rem, 5.8vw, 5.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.96;
    margin: 0;
    text-wrap: balance;
}

.home-section__intro > p:last-child {
    color: rgba(23, 49, 46, 0.72);
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    line-height: 1.6;
    margin: 1.5rem 0 0;
    max-width: 35rem;
}

.home-section__heading {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.home-section__heading h2 {
    max-width: 13ch;
}

/* How it works */
.home-process {
    display: grid;
    gap: clamp(3rem, 8vw, 9rem);
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.home-process__steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.home-process__step {
    align-items: start;
    border-top: 1px solid var(--home-line);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 3.2rem 1fr;
    padding: 1.85rem 0 2rem;
}

.home-process__number {
    color: var(--home-moss);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.home-process__step h3 {
    color: var(--home-ink);
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0;
}

.home-process__step p {
    color: rgba(23, 49, 46, 0.7);
    font-size: 0.96rem;
    line-height: 1.62;
    margin: 0.75rem 0 0;
    max-width: 38rem;
}

.home-process__faq {
    align-items: center;
    border-top: 1px solid var(--home-line);
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding-top: 1.65rem;
}

.home-process__faq p {
    color: rgba(23, 49, 46, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Coaches */
.home-coach-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.75rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5.5rem);
}

.home-coach {
    background: #ffffff;
    border: 1px solid rgba(23, 49, 46, 0.14);
    border-radius: 1.25rem;
    color: var(--home-ink);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    transition:
        border-color 260ms ease,
        box-shadow 360ms ease,
        transform 360ms var(--home-ease);
}

.home-coach:hover {
    border-color: rgba(23, 49, 46, 0.36);
    box-shadow: 0 22px 46px rgba(23, 49, 46, 0.12);
    transform: translateY(-0.45rem);
}

.home-coach__portrait {
    aspect-ratio: 1 / 0.94;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.home-coach__portrait img {
    height: 100%;
    object-fit: cover;
    transition: transform 700ms var(--home-ease);
    width: 100%;
}

.home-coach:hover .home-coach__portrait img {
    transform: scale(1.035);
}

.home-coach__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: clamp(1.35rem, 2vw, 2rem);
}

.home-coach__body > p {
    color: rgba(23, 49, 46, 0.68);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.15rem 0 0;
}

.home-coach__body h3 {
    color: var(--home-ink);
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0.65rem 0 0.9rem;
}

.home-coach__body strong {
    align-items: center;
    color: var(--home-ink);
    display: flex;
    font-size: 0.84rem;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 1.8rem;
}

.home-coach__body strong svg {
    height: 1rem;
    transition: transform 240ms var(--home-ease);
    width: 1rem;
}

.home-coach:hover .home-coach__body strong svg {
    transform: translateX(0.25rem);
}

.home-empty {
    border-top: 1px solid var(--home-line);
    color: rgba(23, 49, 46, 0.7);
    margin: 3rem 0 0;
    padding-top: 1.5rem;
}

/* Services */
.home-services {
    background: #dfe5da;
}

.home-section__intro--wide {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.home-section__intro--wide h2 {
    max-width: 10ch;
}

.home-section__intro--wide > p:last-child {
    margin: 0;
}

.home-services__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(3rem, 6vw, 5.25rem);
}

.home-service {
    border-radius: 1.25rem;
    min-height: 34rem;
    padding: clamp(2rem, 4vw, 4rem);
}

.home-service--light {
    background: var(--home-white);
    color: var(--home-ink);
}

.home-service--dark {
    background: var(--home-ink);
    color: #ffffff;
}

.home-service__icon {
    height: 2.8rem;
    margin-bottom: clamp(4rem, 9vw, 8rem);
    width: 2.8rem;
}

.home-service h3 {
    color: inherit;
    font-size: clamp(2.2rem, 4vw, 4.25rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.98;
    margin: 0;
}

.home-service > p {
    color: currentColor;
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.4rem 0 2rem;
    max-width: 36rem;
    opacity: 0.72;
}

.home-service ul {
    border-top: 1px solid currentColor;
    list-style: none;
    margin: 0 0 2.5rem;
    padding: 0;
}

.home-service li {
    border-bottom: 1px solid currentColor;
    font-size: 0.86rem;
    font-weight: 700;
    opacity: 0.7;
    padding: 0.9rem 0;
}

/* Closing action */
.home-cta {
    padding:
        clamp(5.5rem, 10vw, 9rem)
        max(clamp(1.25rem, 4vw, 3.75rem), calc((100vw - 92rem) / 2));
}

.home-cta__inner {
    align-items: end;
    display: grid;
    gap: clamp(3rem, 8vw, 9rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.55fr);
}

.home-cta h2 {
    /* The title already carries its own manual <br> for a clean two-line
       break; a further ch cap here fought that and wrapped it into 3-4
       ragged lines at the section's large display size. */
    max-width: none;
}

.home-cta__inner > div p {
    color: rgba(23, 49, 46, 0.72);
    font-size: 1rem;
    line-height: 1.62;
    margin: 0 0 1.8rem;
}

.home-contact {
    align-items: center;
    background: var(--home-white);
    border-top: 1px solid var(--home-line);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding:
        2.2rem
        max(clamp(1.25rem, 4vw, 3.75rem), calc((100vw - 92rem) / 2));
}

.home-contact p {
    color: rgba(23, 49, 46, 0.7);
    font-size: 0.86rem;
    margin: 0;
}

.home-contact > div {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home-contact > div > a:not(.home-text-link) {
    color: var(--home-ink);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
}

/* Motion: visible by default, enhanced only after JavaScript initialises. */
@keyframes fadeUp {
    from {
        filter: blur(4px);
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-2.5rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(2.5rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.975);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes wordReveal {
    from {
        filter: blur(8px);
        opacity: 0;
        transform: translateY(115%);
    }
    to {
        filter: blur(0);
        opacity: 1;
        transform: translateY(0);
    }
}

body.home-motion-enabled .home-hero__image {
    animation: scaleIn 1.35s var(--home-ease) both;
}

body.home-motion-enabled .home-hero__word {
    animation: wordReveal 820ms var(--home-ease) both;
    animation-delay: calc(100ms + (var(--word-index) * 72ms));
}

body.home-motion-enabled .home-hero__support {
    animation: fadeUp 850ms var(--home-ease) 520ms both;
}

body.home-motion-enabled .home-feature {
    animation: fadeUp 820ms var(--home-ease) both;
}

body.home-motion-enabled .home-feature:nth-child(1) { animation-delay: 650ms; }
body.home-motion-enabled .home-feature:nth-child(2) { animation-delay: 760ms; }
body.home-motion-enabled .home-feature:nth-child(3) { animation-delay: 870ms; }

body.home-motion-enabled .home-reveal {
    opacity: 0;
}

body.home-motion-enabled .home-reveal.is-visible {
    animation: fadeUp 780ms var(--home-ease) var(--reveal-delay, 0ms) both;
}

body.home-motion-enabled .home-reveal--left.is-visible {
    animation-name: slideInLeft;
}

body.home-motion-enabled .home-reveal--right.is-visible {
    animation-name: slideInRight;
}

body.home-motion-enabled .home-reveal--scale.is-visible {
    animation-name: scaleIn;
}

.home-page :is(a, button):focus-visible {
    outline: 3px solid #d6e9c8;
    outline-offset: 4px;
}

@media (max-width: 61.99rem) {
    .home-hero {
        min-height: 100svh;
    }

    .home-hero__support,
    .home-section__intro--wide {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .home-hero__support {
        display: grid;
    }

    .home-hero__actions {
        justify-content: flex-start;
    }

    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-feature {
        border-top: 1px solid rgba(23, 49, 46, 0.18);
        min-height: 12rem;
    }

    .home-feature:first-child {
        border-radius: 1.25rem 1.25rem 0 0;
        border-top: 0;
    }

    .home-feature:last-child {
        border-radius: 0;
    }

    .home-process {
        grid-template-columns: 1fr;
    }

    .home-section__intro {
        max-width: 44rem;
    }

    .home-section__intro--wide {
        display: grid;
    }

    .home-coach-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-coach:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

    .home-coach:last-child:nth-child(odd) {
        display: grid;
        grid-template-columns: minmax(16rem, 0.8fr) 1fr;
    }

    .home-services__grid {
        grid-template-columns: 1fr;
    }

    .home-service {
        min-height: auto;
    }

    .home-service__icon {
        margin-bottom: 5rem;
    }

    .home-cta__inner {
        align-items: start;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 47.99rem) {
    body.home-landing .site-header .header-row {
        height: 4.5rem;
    }

    body.home-landing .site-header .main-nav.nav-open,
    body.home-landing .site-header.nav-light .main-nav.nav-open {
        background: rgba(13, 32, 31, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 0 0 1rem 1rem;
        left: -0.35rem;
        padding: 1rem 1.25rem 1.25rem;
        right: -0.35rem;
    }

    body.home-landing .site-header.nav-light .main-nav.nav-open .nav-link,
    body.home-landing .site-header.nav-light .main-nav.nav-open .nav-user-email,
    body.home-landing .site-header.nav-light .main-nav.nav-open .btn-logout {
        color: #ffffff;
    }

    body.home-landing .site-header.nav-light .main-nav.nav-open .btn-login {
        background: #ffffff;
        border-color: #ffffff;
        color: var(--home-ink);
    }

    .home-hero {
        min-height: auto;
        padding-top: 4.5rem;
    }

    .home-hero__image {
        object-position: 48% center;
    }

    .home-hero__wash {
        background:
            linear-gradient(90deg, rgba(8, 28, 25, 0.86), rgba(8, 28, 25, 0.46)),
            linear-gradient(0deg, rgba(8, 26, 24, 0.98) 0%, rgba(8, 26, 24, 0.18) 55%, rgba(8, 26, 24, 0.4) 100%);
    }

    .home-hero__content {
        min-height: calc(100svh - 4.5rem);
        padding-bottom: 3.5rem;
        padding-top: clamp(4rem, 16vh, 7rem);
    }

    .home-hero__title {
        font-size: clamp(3.3rem, 15.5vw, 5rem);
        line-height: 0.88;
    }

    .home-hero__line {
        gap: 0 0.18em;
    }

    .home-hero__support {
        margin-top: 2.4rem;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-button {
        width: 100%;
    }

    .home-feature {
        padding: 1.5rem;
    }

    .home-feature h2 {
        margin-top: 2rem;
    }

    .home-section {
        padding-bottom: 5rem;
        padding-top: 5rem;
    }

    .home-section__heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-process__faq,
    .home-contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-coach-grid {
        grid-template-columns: 1fr;
    }

    .home-coach:last-child:nth-child(odd) {
        display: flex;
        grid-column: auto;
    }

    .home-service {
        padding: 1.6rem;
    }

    .home-service__icon {
        margin-bottom: 4rem;
    }

    .home-contact {
        gap: 1rem;
    }
}

@media (max-width: 23.5rem) {
    .home-hero__title {
        font-size: 3.05rem;
    }

    .home-process__step {
        gap: 0.8rem;
        grid-template-columns: 2.3rem 1fr;
    }

    .home-contact > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.85rem;
    }
}

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

    body.home-landing .site-header,
    body.home-motion-enabled .home-hero__image,
    body.home-motion-enabled .home-hero__word,
    body.home-motion-enabled .home-hero__support,
    body.home-motion-enabled .home-feature,
    body.home-motion-enabled .home-reveal,
    body.home-motion-enabled .home-reveal.is-visible {
        animation: none;
        filter: none;
        opacity: 1;
        transform: none;
    }

    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
    }
}
