/* ============================================================
   I CAN TELL BY THE CRUNCH™
   Chiropractic + Mobility Clinic
   Movement Assessment × Clinical Annotation
   ============================================================ */


/* ============================================================
   01. ROOT
   ============================================================ */

:root {
    --paper: #f1eee7;
    --paper-light: #f8f6f1;
    --bone: #ded7ca;
    --bone-dark: #b9ad9a;

    --ink: #1b1c1a;
    --ink-soft: #353633;
    --muted: #6f716c;

    --red: #d64832;
    --red-dark: #a93626;
    --red-soft: #efd1ca;

    --line: rgba(27, 28, 26, 0.18);
    --line-strong: rgba(27, 28, 26, 0.42);

    --white: #ffffff;

    --font-display: "Instrument Serif", Georgia, serif;
    --font-body: "DM Sans", Arial, sans-serif;

    --content: 1220px;
    --wide: 1450px;

    --page-pad: clamp(22px, 4vw, 64px);

    --section-y: clamp(88px, 9vw, 150px);

    --radius-small: 2px;
}


/* ============================================================
   02. RESET
   ============================================================ */

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

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;

    color: var(--ink);
    background:
        linear-gradient(
            to right,
            transparent 0,
            transparent calc(50% - 1px),
            rgba(27, 28, 26, 0.025) calc(50% - 1px),
            rgba(27, 28, 26, 0.025) 50%,
            transparent 50%
        ),
        var(--paper);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
summary {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

h1,
h2,
h3,
p,
blockquote,
dl,
dd,
dt {
    margin-top: 0;
}

::selection {
    color: var(--paper-light);
    background: var(--red);
}


/* ============================================================
   03. ACCESSIBILITY
   ============================================================ */

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 9999;

    padding: 10px 14px;

    color: var(--white);
    background: var(--ink);

    font-size: 0.78rem;
    font-weight: 700;

    transform: translateY(-160%);
}

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

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


/* ============================================================
   04. SHARED
   ============================================================ */

.section-code {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 22px;

    font-size: 0.72rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: var(--red);
}

.section-code::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
}

.text-link {
    display: inline-block;

    padding-bottom: 3px;
    border-bottom: 1px solid currentColor;

    font-size: 0.9rem;
    font-weight: 700;
}

.text-link:hover {
    color: var(--red);
}


/* ============================================================
   05. HEADER
   ============================================================ */

.site-header {
    position: relative;
    z-index: 50;

    border-bottom: 1px solid var(--line);

    background: rgba(241, 238, 231, 0.96);
}

.site-header__inner {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--wide));
    min-height: 94px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    align-items: center;
    gap: 38px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;

    width: max-content;
    max-width: 100%;
}

.brand__main {
    font-size: 0.96rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.brand__sub {
    font-size: 0.68rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 2.4vw, 42px);
}

.site-nav a {
    position: relative;

    font-size: 0.83rem;
    font-weight: 600;

    color: var(--ink-soft);
}

.site-nav a:not(.site-nav__cta)::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;

    height: 1px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

.site-nav a:not(.site-nav__cta):hover::after {
    transform: scaleX(1);
}

.site-nav__cta {
    padding: 12px 17px;

    color: var(--white) !important;
    background: var(--red);
}

.site-nav__cta:hover {
    background: var(--red-dark);
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 1px solid var(--line-strong);
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 1px;
    margin: 5px auto;

    background: var(--ink);
}


/* ============================================================
   06. HERO — ACTIVE ASSESSMENT SHEET
   ============================================================ */

.assessment-hero {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--wide));
    margin: 0 auto;

    padding-top: clamp(72px, 8vw, 124px);
    padding-bottom: clamp(82px, 8vw, 128px);
}

.assessment-hero__intro {
    position: relative;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.28fr);
    column-gap: 50px;
    align-items: end;

    padding-bottom: 36px;

    border-bottom: 1px solid var(--ink);
}

.assessment-hero__label {
    grid-column: 1 / -1;

    display: flex;
    justify-content: space-between;

    margin-bottom: 25px;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: var(--muted);
}

.assessment-hero h1 {
    margin: 0;

    max-width: 1080px;

    font-family: var(--font-display);
    font-size: clamp(5rem, 9vw, 10rem);
    font-weight: 400;
    line-height: 0.75;
    letter-spacing: -0.045em;
}

.assessment-hero__statement {
    padding-bottom: 8px;
    border-left: 1px solid var(--line-strong);
    padding-left: 20px;
}

.assessment-hero__statement p {
    margin-bottom: 9px;

    font-size: 0.72rem;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--muted);
}

.assessment-hero__statement strong {
    display: block;

    max-width: 260px;

    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2.5rem);
    line-height: 0.95;
    font-weight: 400;
}

.assessment-hero__sheet {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.65fr);

    margin-top: 42px;

    border: 1px solid var(--ink);
}

.assessment-hero__photo {
    position: relative;

    min-height: 590px;
    overflow: hidden;

    background: var(--bone);
}

.assessment-hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.assessment-hero__photo::before {
    content: "";

    position: absolute;
    inset: 22px;

    z-index: 2;

    border:
        1px solid rgba(248, 246, 241, 0.7);

    pointer-events: none;
}

.assessment-hero__photo::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 0;
    left: 0;

    z-index: 2;

    height: 1px;

    background: rgba(248, 246, 241, 0.32);

    pointer-events: none;
}

.photo-coordinate {
    position: absolute;
    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 52px;
    height: 26px;
    padding: 0 8px;

    color: var(--paper-light);
    background: var(--red);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.photo-coordinate--a {
    top: 34px;
    left: 34px;
}

.photo-coordinate--b {
    right: 34px;
    bottom: 34px;
}

.photo-coordinate--c {
    top: 48%;
    right: 34px;

    color: var(--ink);
    background: var(--paper-light);
}

.assessment-hero__data {
    display: grid;
    grid-template-rows: repeat(3, 1fr);

    background: var(--paper-light);
}

.data-reading {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 170px;
    padding: 27px;

    border-bottom: 1px solid var(--line-strong);
}

.data-reading:last-child {
    border-bottom: 0;
}

.data-reading__label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--muted);
}

.data-reading strong {
    max-width: 310px;

    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.2vw, 2.35rem);
    line-height: 1.02;
    font-weight: 400;
}

.data-reading--status {
    color: var(--white);
    background: var(--ink);
}

.data-reading--status .data-reading__label {
    color: var(--red-soft);
}

.assessment-hero__footer {
    display: grid;
    grid-template-columns: minmax(0, 650px) auto;
    justify-content: space-between;
    gap: 50px;
    align-items: end;

    padding-top: 30px;
}

.assessment-hero__footer p {
    margin: 0;

    font-size: clamp(1.02rem, 1.35vw, 1.18rem);
    line-height: 1.65;
}


/* ============================================================
   07. BODY MAP
   ============================================================ */

.body-map {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.45fr);
    gap: clamp(50px, 7vw, 110px);

    padding:
        var(--section-y)
        max(var(--page-pad), calc((100vw - var(--wide)) / 2));

    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);

    background: var(--paper-light);
}

.body-map__heading {
    align-self: start;
    position: sticky;
    top: 30px;
}

.body-map__heading h2 {
    margin-bottom: 28px;

    font-family: var(--font-display);
    font-size: clamp(3.6rem, 5.8vw, 6.7rem);
    line-height: 0.9;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.body-map__heading p {
    max-width: 470px;
    margin-bottom: 0;

    color: var(--ink-soft);

    font-size: 1rem;
}

.body-map__diagram {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr;

    min-height: 720px;

    border: 1px solid var(--ink);
}

.body-map__figure {
    position: relative;
    overflow: hidden;

    min-height: 720px;

    background:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px),
        var(--bone);

    background-size:
        44px 44px,
        44px 44px,
        auto;
}

.figure-head {
    position: absolute;
    top: 72px;
    left: 50%;

    width: 76px;
    height: 90px;

    border: 2px solid var(--ink);
    border-radius: 48%;

    transform: translateX(-50%);
}

.figure-neck {
    position: absolute;
    top: 158px;
    left: 50%;

    width: 34px;
    height: 46px;

    border-right: 2px solid var(--ink);
    border-left: 2px solid var(--ink);

    transform: translateX(-50%);
}

.figure-torso {
    position: absolute;
    top: 202px;
    left: 50%;

    width: 148px;
    height: 250px;

    border: 2px solid var(--ink);
    border-radius: 50% 50% 32% 32%;

    transform: translateX(-50%);
}

.figure-arm {
    position: absolute;
    top: 215px;

    width: 34px;
    height: 265px;

    border: 2px solid var(--ink);
    border-radius: 30px;
}

.figure-arm--left {
    left: calc(50% - 115px);
    transform: rotate(7deg);
}

.figure-arm--right {
    right: calc(50% - 115px);
    transform: rotate(-7deg);
}

.figure-leg {
    position: absolute;
    top: 440px;

    width: 52px;
    height: 245px;

    border: 2px solid var(--ink);
    border-radius: 24px;
}

.figure-leg--left {
    left: calc(50% - 58px);
}

.figure-leg--right {
    right: calc(50% - 58px);
}

.body-marker {
    position: absolute;
    z-index: 3;

    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    color: var(--white);
    background: var(--red);

    border-radius: 50%;

    font-size: 0.65rem;
    font-weight: 700;
}

.body-marker::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 34px;

    width: 58px;
    height: 1px;

    background: var(--red);
}

.body-marker--01 {
    top: 175px;
    left: calc(50% + 35px);
}

.body-marker--02 {
    top: 315px;
    left: calc(50% - 28px);
}

.body-marker--03 {
    top: 438px;
    left: calc(50% + 22px);
}

.body-marker--04 {
    top: 570px;
    left: calc(50% - 75px);
}

.range-arc {
    position: absolute;

    border: 1px dashed var(--red);
    border-radius: 50%;

    pointer-events: none;
}

.range-arc--shoulder {
    top: 190px;
    left: calc(50% - 122px);

    width: 245px;
    height: 160px;
}

.range-arc--hip {
    top: 390px;
    left: calc(50% - 104px);

    width: 208px;
    height: 170px;
}

.body-map__index {
    background: var(--paper-light);
}

.body-region {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 18px;

    min-height: 180px;
    padding: 28px;

    border-bottom: 1px solid var(--line-strong);
}

.body-region:last-child {
    border-bottom: 0;
}

.body-region > span {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--red);
}

.body-region h3 {
    margin-bottom: 10px;

    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.6vw, 2.8rem);
    line-height: 1;
    font-weight: 400;
}

.body-region p {
    max-width: 430px;
    margin-bottom: 0;

    color: var(--muted);

    font-size: 0.9rem;
}


/* ============================================================
   08. CARE FEATURE
   ============================================================ */

.care-feature {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--wide));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.8fr);
    gap: clamp(65px, 8vw, 130px);

    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.care-feature__photo {
    position: relative;

    min-height: 760px;

    border: 1px solid var(--ink);
    background: var(--bone);

    transform: rotate(-0.8deg);
}

.care-feature__photo::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 18px;
    right: -18px;
    bottom: -18px;
    left: 18px;

    border: 1px solid var(--red);
}

.care-feature__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinical-stamp {
    position: absolute;
    right: -32px;
    bottom: 62px;

    width: 235px;
    padding: 18px;

    border: 2px solid var(--red);

    color: var(--red);
    background: var(--paper-light);

    transform: rotate(4deg);
}

.clinical-stamp span {
    display: block;

    margin-bottom: 7px;

    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.clinical-stamp strong {
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 0.95;
    font-weight: 400;
}

.care-feature__copy {
    align-self: center;

    max-width: 540px;
}

.care-feature__copy h2 {
    margin-bottom: 28px;

    font-family: var(--font-display);
    font-size: clamp(4rem, 6vw, 7.2rem);
    line-height: 0.84;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.care-feature__lead {
    max-width: 440px;
    margin-bottom: 24px;

    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.6vw, 2.8rem);
    line-height: 1.06;
}

.care-feature__copy > p:not(.care-feature__lead) {
    max-width: 470px;

    color: var(--ink-soft);
}

.clinical-note {
    position: relative;

    margin-top: 52px;
    padding: 20px 0 0 42px;

    border-top: 1px solid var(--ink);
}

.clinical-note::before {
    content: "↳";

    position: absolute;
    top: 20px;
    left: 0;

    color: var(--red);

    font-size: 1.4rem;
}

.clinical-note span {
    display: block;

    margin-bottom: 10px;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: var(--red);
}

.clinical-note p {
    max-width: 390px;
    margin-bottom: 0;

    font-size: 0.9rem;
}


/* ============================================================
   09. CARE PATH
   ============================================================ */

.care-path {
    padding:
        var(--section-y)
        max(var(--page-pad), calc((100vw - var(--wide)) / 2));

    color: var(--paper-light);
    background: var(--ink);
}

.care-path .section-code {
    color: #f47f6c;
}

.care-path__heading {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 40px;
    align-items: end;

    margin-bottom: 58px;
}

.care-path__heading .section-code {
    grid-column: 1 / -1;
}

.care-path__heading h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(4rem, 6.8vw, 7.7rem);
    line-height: 0.88;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.care-path__heading p {
    margin-bottom: 12px;

    font-family: var(--font-display);
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-style: italic;

    color: #b9b7b1;
}

.care-path__timeline {
    border-top: 1px solid rgba(248, 246, 241, 0.32);
}

.care-step {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr) minmax(220px, 0.35fr);
    gap: 28px;

    padding: 42px 0;

    border-bottom: 1px solid rgba(248, 246, 241, 0.24);
}

.care-step__number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    line-height: 1;

    color: #f47f6c;
}

.care-step__content {
    max-width: 660px;
}

.care-step__content > span,
.care-step__reading > span {
    display: block;

    margin-bottom: 10px;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;

    color: #b9b7b1;
}

.care-step__content h3 {
    margin-bottom: 14px;

    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.6vw, 4rem);
    line-height: 0.95;
    font-weight: 400;
}

.care-step__content p {
    max-width: 560px;
    margin-bottom: 0;

    color: #c6c4be;
}

.care-step__reading {
    align-self: end;

    padding-left: 20px;
    border-left: 1px solid rgba(248, 246, 241, 0.28);
}

.care-step__reading strong {
    display: block;

    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
}


/* ============================================================
   10. MOTION STUDY
   ============================================================ */

.motion-study {
    display: grid;
    grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.25fr);

    min-height: 850px;

    border-bottom: 1px solid var(--ink);
}

.motion-study__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        var(--section-y)
        clamp(30px, 5vw, 85px)
        var(--section-y)
        max(var(--page-pad), calc((100vw - var(--wide)) / 2));

    border-right: 1px solid var(--ink);

    background: var(--paper-light);
}

.motion-study__title {
    position: relative;

    margin-bottom: 38px;
}

.motion-study__title h2 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(5rem, 8vw, 9rem);
    line-height: 0.78;
    font-weight: 400;
    letter-spacing: -0.045em;
}

.motion-study__title em {
    display: block;

    margin-top: 5px;
    margin-left: 34%;

    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 5.7rem);
    line-height: 0.9;
    font-weight: 400;

    color: var(--red);
}

.motion-study__copy > p {
    max-width: 500px;

    color: var(--ink-soft);
}

.motion-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 54px;

    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.motion-metrics > div {
    padding: 18px 12px;

    border-right: 1px solid var(--line-strong);
}

.motion-metrics > div:last-child {
    border-right: 0;
}

.motion-metrics span {
    display: block;

    margin-bottom: 5px;

    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--muted);
}

.motion-metrics strong {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
}

.motion-study__photo {
    position: relative;
    overflow: hidden;

    min-height: 850px;

    background: var(--bone);
}

.motion-study__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.motion-study__photo::before {
    content: "";

    position: absolute;
    z-index: 2;

    top: 50%;
    right: 6%;
    left: 6%;

    height: 1px;

    background: rgba(248, 246, 241, 0.55);
}

.motion-study__photo::after {
    content: "";

    position: absolute;
    z-index: 2;

    top: 7%;
    bottom: 7%;
    left: 50%;

    width: 1px;

    background: rgba(248, 246, 241, 0.45);
}

.angle-line {
    position: absolute;
    z-index: 3;

    width: 170px;
    height: 1px;

    background: var(--red);

    transform-origin: left center;
}

.angle-line::before {
    content: "";

    position: absolute;
    top: -4px;
    left: 0;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--red);
}

.angle-line--one {
    top: 39%;
    left: 43%;

    transform: rotate(-37deg);
}

.angle-line--two {
    top: 56%;
    left: 48%;

    transform: rotate(31deg);
}

.angle-value {
    position: absolute;
    z-index: 4;

    padding: 6px 8px;

    color: var(--white);
    background: var(--red);

    font-size: 0.7rem;
    font-weight: 700;
}

.angle-value--one {
    top: 27%;
    left: 56%;
}

.angle-value--two {
    top: 64%;
    left: 61%;
}


/* ============================================================
   11. SYMPTOM INDEX
   ============================================================ */

.symptom-index {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--wide));
    margin: 0 auto;

    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.symptom-index__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.35fr);
    gap: 40px;
    align-items: end;

    margin-bottom: 55px;
}

.symptom-index__heading .section-code {
    grid-column: 1 / -1;
}

.symptom-index__heading h2 {
    margin: 0;

    max-width: 920px;

    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 8rem);
    line-height: 0.83;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.symptom-index__table {
    border-top: 2px solid var(--ink);
}

.symptom-row {
    display: grid;
    grid-template-columns: 80px minmax(180px, 0.45fr) minmax(300px, 1fr) 90px;
    gap: 25px;
    align-items: center;

    padding: 25px 0;

    border-bottom: 1px solid var(--line-strong);
}

.symptom-row__code {
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--red);
}

.symptom-row h3 {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.5vw, 2.7rem);
    line-height: 1;
    font-weight: 400;
}

.symptom-row p {
    margin: 0;

    color: var(--muted);

    font-size: 0.87rem;
}

.symptom-row__status {
    justify-self: end;

    padding: 7px 10px;

    border: 1px solid var(--red);

    font-size: 0.6rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--red);
}

.symptom-index__note {
    max-width: 620px;
    margin: 28px 0 0 auto;

    color: var(--muted);

    font-size: 0.72rem;
}


/* ============================================================
   12. CLINIC PROFILE
   ============================================================ */

.clinic-profile {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);

    min-height: 760px;

    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);

    background: var(--paper-light);
}

.clinic-profile__image {
    min-height: 760px;

    background: var(--bone);
}

.clinic-profile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clinic-profile__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        var(--section-y)
        max(var(--page-pad), calc((100vw - var(--wide)) / 2))
        var(--section-y)
        clamp(45px, 6vw, 100px);

    border-left: 1px solid var(--ink);
}

.clinic-profile__copy h2 {
    margin-bottom: 30px;

    font-family: var(--font-display);
    font-size: clamp(4rem, 6.3vw, 7.2rem);
    line-height: 0.86;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.clinic-profile__copy > p {
    max-width: 520px;

    color: var(--ink-soft);
}

.credential-list {
    margin: 50px 0 0;

    border-top: 1px solid var(--ink);
}

.credential-list > div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid var(--line-strong);
}

.credential-list dt {
    margin: 0;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--muted);
}

.credential-list dd {
    margin: 0;

    font-weight: 600;
}


/* ============================================================
   13. OUTCOME NOTES
   ============================================================ */

.outcome-notes {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--wide));
    margin: 0 auto;

    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.outcome-notes__heading {
    margin-bottom: 54px;
}

.outcome-notes__heading h2 {
    margin-bottom: 6px;

    font-family: var(--font-display);
    font-size: clamp(4rem, 6.8vw, 7.5rem);
    line-height: 0.86;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.outcome-notes__heading > p {
    margin: 0;

    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.5vw, 2.7rem);
    font-style: italic;

    color: var(--red);
}

.outcome-notes__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.outcome-card {
    min-height: 480px;
    margin: 0;
    padding: clamp(32px, 4vw, 62px);

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid var(--ink);

    background: var(--paper-light);
}

.outcome-card + .outcome-card {
    border-left: 0;
}

.outcome-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--muted);
}

.outcome-card > p {
    margin: 50px 0;

    font-family: var(--font-display);
    font-size: clamp(2rem, 3.3vw, 3.8rem);
    line-height: 1.02;
}

.outcome-card footer {
    font-size: 0.75rem;
    font-weight: 700;
}

.outcome-card--dark {
    color: var(--paper-light);
    background: var(--ink);
}

.outcome-card--dark .outcome-card__meta {
    color: #aaa9a4;
}

.demo-disclaimer {
    max-width: 680px;
    margin: 24px 0 0 auto;

    color: var(--muted);

    font-size: 0.72rem;
}


/* ============================================================
   14. FAQ
   ============================================================ */

.clinic-faq {
    padding:
        var(--section-y)
        max(var(--page-pad), calc((100vw - var(--wide)) / 2));

    border-top: 1px solid var(--ink);

    background: var(--bone);
}

.clinic-faq__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.3fr);

    margin-bottom: 52px;
}

.clinic-faq__heading .section-code {
    grid-column: 1 / -1;
}

.clinic-faq__heading h2 {
    margin: 0;

    max-width: 900px;

    font-family: var(--font-display);
    font-size: clamp(4rem, 7vw, 7.7rem);
    line-height: 0.85;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.clinic-faq__list {
    border-top: 2px solid var(--ink);
}

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

.clinic-faq summary {
    list-style: none;
    cursor: pointer;

    display: grid;
    grid-template-columns: 55px 1fr 45px;
    gap: 20px;
    align-items: center;

    min-height: 94px;
}

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

.clinic-faq summary > span:first-child {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--red);
}

.clinic-faq summary strong {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.7vw, 3rem);
    line-height: 1;
    font-weight: 400;
}

.faq-plus {
    justify-self: end;

    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: 1;

    transition: transform 160ms ease;
}

.clinic-faq details[open] .faq-plus {
    transform: rotate(45deg);
}

.faq-answer {
    max-width: 680px;

    padding:
        0 0 34px
        75px;
}

.faq-answer p {
    margin: 0;

    color: var(--ink-soft);
}


/* ============================================================
   15. PATIENT INTAKE
   ============================================================ */

.patient-intake {
    padding:
        var(--section-y)
        max(var(--page-pad), calc((100vw - var(--wide)) / 2));

    color: var(--paper-light);
    background: var(--ink);
}

.patient-intake .section-code {
    color: #f47f6c;
}

.patient-intake__heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
    gap: 50px;
    align-items: end;

    margin-bottom: 58px;
}

.patient-intake__heading h2 {
    margin: 0;

    max-width: 960px;

    font-family: var(--font-display);
    font-size: clamp(4.3rem, 7vw, 8rem);
    line-height: 0.83;
    font-weight: 400;
    letter-spacing: -0.04em;
}

.patient-intake__heading > p {
    margin-bottom: 8px;

    color: #aaa9a4;

    font-size: 0.78rem;
}

.intake-form {
    border: 1px solid rgba(248, 246, 241, 0.62);
}

.intake-form__masthead {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;

    padding: 13px 18px;

    border-bottom: 1px solid rgba(248, 246, 241, 0.4);

    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #aaa9a4;
}

.intake-form__masthead span:nth-child(2) {
    text-align: center;
}

.intake-form__masthead span:last-child {
    text-align: right;

    color: #f47f6c;
}

.intake-form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.field {
    display: flex;
    flex-direction: column;

    min-width: 0;

    border-right: 1px solid rgba(248, 246, 241, 0.35);
    border-bottom: 1px solid rgba(248, 246, 241, 0.35);
}

.field:nth-child(even) {
    border-right: 0;
}

.field > span {
    padding: 12px 15px 0;

    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: #aaa9a4;
}

.field input,
.field select,
.field textarea {
    width: 100%;

    border: 0;
    outline: 0;

    color: var(--paper-light);
    background: transparent;
}

.field input,
.field select {
    min-height: 72px;
    padding: 15px;
}

.field textarea {
    min-height: 165px;
    padding: 16px;
    resize: vertical;
}

.field select {
    color-scheme: dark;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #797a76;
}

.field:focus-within {
    box-shadow: inset 0 0 0 1px #f47f6c;
}

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

    border-right: 0;
}

.intake-form__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 35px;
    align-items: center;

    padding: 22px;
}

.intake-form__footer p {
    max-width: 650px;
    margin: 0;

    color: #aaa9a4;

    font-size: 0.7rem;
}

.intake-submit {
    min-height: 52px;
    padding: 0 24px;

    border: 0;

    color: var(--white);
    background: var(--red);

    font-weight: 700;

    cursor: pointer;
}

.intake-submit:hover {
    background: #ef5a43;
}

.form-status {
    margin: 0;
    padding: 0 22px 22px;

    color: #f47f6c;

    font-size: 0.82rem;
    font-weight: 700;
}


/* ============================================================
   16. CLOSING NOTE
   ============================================================ */

.closing-note {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--wide));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(240px, 0.3fr) 1fr;
    gap: clamp(50px, 7vw, 120px);

    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.closing-note__annotation {
    align-self: center;

    padding-left: 20px;
    border-left: 2px solid var(--red);
}

.closing-note__annotation span {
    display: block;

    margin-bottom: 8px;

    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--red);
}

.closing-note__annotation strong {
    display: block;

    max-width: 210px;

    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 400;
}

.closing-note__main p {
    margin-bottom: 4px;

    color: var(--muted);
}

.closing-note__main h2 {
    margin-bottom: 30px;

    font-family: var(--font-display);
    font-size: clamp(5rem, 9vw, 10rem);
    line-height: 0.75;
    font-weight: 400;
    letter-spacing: -0.05em;
}

.closing-note__main a {
    display: inline-block;

    padding-bottom: 4px;

    border-bottom: 1px solid var(--ink);

    font-weight: 700;
}

.closing-note__main a:hover {
    color: var(--red);
    border-color: var(--red);
}


/* ============================================================
   17. FOOTER
   ============================================================ */

.site-footer {
    display: grid;
    grid-template-columns: 1.55fr 0.7fr 0.55fr 1fr;
    gap: clamp(28px, 4vw, 70px);

    padding:
        58px
        max(var(--page-pad), calc((100vw - var(--wide)) / 2))
        38px;

    color: var(--paper-light);
    background: #10110f;
}

.site-footer__brand > a {
    display: inline-block;

    margin-bottom: 12px;

    font-size: clamp(1rem, 1.45vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.03em;
}

.site-footer__brand p,
.site-footer__contact p {
    margin: 0;

    color: #92938e;

    font-size: 0.76rem;
}

.site-footer__contact,
.site-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.site-footer__contact > span,
.site-footer__nav > span {
    margin-bottom: 8px;

    color: #777873;

    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.site-footer__contact a,
.site-footer__nav a {
    width: fit-content;

    font-size: 0.76rem;
}

.site-footer__contact a:hover,
.site-footer__nav a:hover {
    color: #f47f6c;
}

.site-footer__legal {
    max-width: 410px;
}

.site-footer__legal p {
    margin-bottom: 12px;

    color: #777873;

    font-size: 0.62rem;
}

.site-footer__legal span {
    display: inline-block;

    margin-top: 12px;

    color: #f47f6c;

    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}


/* ============================================================
   18. WIDE DESKTOP CONTROL
   ============================================================ */

@media (min-width: 1600px) {

    .assessment-hero h1 {
        font-size: 9.2rem;
    }

    .assessment-hero__photo {
        min-height: 640px;
    }

    .body-map__heading h2,
    .care-feature__copy h2,
    .clinic-profile__copy h2 {
        font-size: 6.2rem;
    }

    .care-path__heading h2,
    .outcome-notes__heading h2,
    .clinic-faq__heading h2 {
        font-size: 6.7rem;
    }

    .motion-study__title h2 {
        font-size: 7.4rem;
    }

    .symptom-index__heading h2 {
        font-size: 7rem;
    }

    .patient-intake__heading h2 {
        font-size: 7rem;
    }

    .closing-note__main h2 {
        font-size: 8rem;
    }
}


/* ============================================================
   19. TABLET
   ============================================================ */

@media (max-width: 1050px) {

    .assessment-hero__intro {
        grid-template-columns: 1fr;
    }

    .assessment-hero__statement {
        margin-top: 28px;
        padding-left: 0;
        padding-top: 20px;

        border-left: 0;
        border-top: 1px solid var(--line-strong);
    }

    .assessment-hero__sheet {
        grid-template-columns: 1fr;
    }

    .assessment-hero__photo {
        min-height: 560px;
    }

    .assessment-hero__data {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: none;
    }

    .data-reading {
        min-height: 190px;

        border-right: 1px solid var(--line-strong);
        border-bottom: 0;
    }

    .data-reading:last-child {
        border-right: 0;
    }

    .body-map {
        grid-template-columns: 1fr;
    }

    .body-map__heading {
        position: static;
    }

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

    .care-feature__photo {
        min-height: 650px;
    }

    .care-feature__copy {
        max-width: 720px;
    }

    .motion-study {
        grid-template-columns: 1fr;
    }

    .motion-study__copy {
        border-right: 0;
        border-bottom: 1px solid var(--ink);
    }

    .motion-study__photo {
        min-height: 700px;
    }

    .clinic-profile {
        grid-template-columns: 1fr;
    }

    .clinic-profile__image {
        min-height: 680px;
    }

    .clinic-profile__copy {
        border-left: 0;
        border-top: 1px solid var(--ink);
    }

    .site-footer {
        grid-template-columns: 1.2fr 1fr;
    }
}


/* ============================================================
   20. MOBILE NAV + LAYOUT
   ============================================================ */

@media (max-width: 820px) {

    :root {
        --section-y: 88px;
    }

    body.nav-open {
        overflow: hidden;
    }

    .site-header__inner {
        min-height: 82px;
        grid-template-columns: 1fr auto;
    }

    .brand__main {
        font-size: 0.76rem;
    }

    .brand__sub {
        font-size: 0.58rem;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: fixed;
        z-index: 40;

        inset:
            82px
            0
            0
            0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 28px var(--page-pad);

        background: var(--paper-light);

        transform: translateX(100%);
        transition: transform 220ms ease;
    }

    body.nav-open .site-nav {
        transform: translateX(0);
    }

    .site-nav a {
        padding: 18px 0;

        border-bottom: 1px solid var(--line);

        font-family: var(--font-display);
        font-size: clamp(2.7rem, 9vw, 4.6rem);
        line-height: 0.95;
        font-weight: 400;
    }

    .site-nav__cta {
        margin-top: 22px;
        padding: 18px 20px;

        font-family: var(--font-body) !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;

        text-align: center;

        border-bottom: 0 !important;
    }

    body.nav-open .menu-toggle span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    body.nav-open .menu-toggle span:last-child {
        transform: translateY(-3px) rotate(-45deg);
    }

    .assessment-hero {
        padding-top: 60px;
    }

    .assessment-hero h1 {
        font-size: clamp(4.2rem, 16vw, 7rem);
        line-height: 0.77;
    }

    .assessment-hero__photo {
        min-height: 480px;
    }

    .assessment-hero__data {
        grid-template-columns: 1fr;
    }

    .data-reading {
        min-height: 150px;

        border-right: 0;
        border-bottom: 1px solid var(--line-strong);
    }

    .assessment-hero__footer {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .body-map__diagram {
        grid-template-columns: 1fr;
    }

    .body-map__figure {
        min-height: 650px;
    }

    .body-map__index {
        border-top: 1px solid var(--ink);
    }

    .care-feature__photo {
        min-height: 560px;
    }

    .clinical-stamp {
        right: 14px;
        bottom: 20px;
    }

    .care-path__heading {
        grid-template-columns: 1fr;
    }

    .care-path__heading p {
        margin-top: 18px;
    }

    .care-step {
        grid-template-columns: 65px 1fr;
    }

    .care-step__reading {
        grid-column: 2;
    }

    .motion-study__photo {
        min-height: 600px;
    }

    .symptom-index__heading {
        grid-template-columns: 1fr;
    }

    .symptom-row {
        grid-template-columns: 55px 1fr auto;
    }

    .symptom-row p {
        grid-column: 2 / -1;
    }

    .clinic-profile__image {
        min-height: 590px;
    }

    .outcome-notes__grid {
        grid-template-columns: 1fr;
    }

    .outcome-card + .outcome-card {
        border-top: 0;
        border-left: 1px solid var(--ink);
    }

    .patient-intake__heading {
        grid-template-columns: 1fr;
    }

    .intake-form__grid {
        grid-template-columns: 1fr;
    }

    .field {
        border-right: 0;
    }

    .field--wide {
        grid-column: auto;
    }

    .closing-note {
        grid-template-columns: 1fr;
    }

    .site-footer {
        grid-template-columns: 1fr 1fr;
    }

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


/* ============================================================
   21. SMALL MOBILE
   ============================================================ */

@media (max-width: 560px) {

    :root {
        --page-pad: 20px;
        --section-y: 72px;
    }

    .assessment-hero__label {
        gap: 20px;
    }

    .assessment-hero h1 {
        font-size: clamp(3.75rem, 18vw, 5.7rem);
    }

    .assessment-hero__photo {
        min-height: 410px;
    }

    .photo-coordinate--a {
        top: 24px;
        left: 24px;
    }

    .photo-coordinate--b {
        right: 24px;
        bottom: 24px;
    }

    .photo-coordinate--c {
        right: 24px;
    }

    .body-map__heading h2,
    .care-feature__copy h2,
    .clinic-profile__copy h2 {
        font-size: clamp(3.6rem, 15vw, 5.2rem);
    }

    .body-map__figure {
        min-height: 590px;
    }

    .figure-head {
        top: 55px;
    }

    .figure-neck {
        top: 141px;
    }

    .figure-torso {
        top: 184px;
        height: 220px;
    }

    .figure-arm {
        top: 198px;
        height: 230px;
    }

    .figure-leg {
        top: 395px;
        height: 175px;
    }

    .body-marker--01 {
        top: 157px;
    }

    .body-marker--02 {
        top: 285px;
    }

    .body-marker--03 {
        top: 388px;
    }

    .body-marker--04 {
        top: 490px;
    }

    .range-arc--shoulder {
        top: 175px;
    }

    .range-arc--hip {
        top: 345px;
    }

    .body-region {
        min-height: auto;
        padding: 24px 20px;
    }

    .care-feature__photo {
        min-height: 470px;
    }

    .care-feature__photo::before {
        top: 10px;
        right: -10px;
        bottom: -10px;
        left: 10px;
    }

    .clinical-stamp {
        width: 190px;
    }

    .clinical-note {
        margin-top: 38px;
    }

    .care-path__heading h2,
    .outcome-notes__heading h2,
    .clinic-faq__heading h2,
    .patient-intake__heading h2 {
        font-size: clamp(3.7rem, 15vw, 5.6rem);
    }

    .care-step {
        grid-template-columns: 42px 1fr;
        gap: 16px;
    }

    .care-step__number {
        font-size: 2rem;
    }

    .care-step__content h3 {
        font-size: 2.2rem;
    }

    .motion-study__title h2 {
        font-size: clamp(4.8rem, 20vw, 7rem);
    }

    .motion-study__title em {
        margin-left: 24%;

        font-size: clamp(3rem, 13vw, 4.6rem);
    }

    .motion-metrics {
        grid-template-columns: 1fr;
    }

    .motion-metrics > div {
        border-right: 0;
        border-bottom: 1px solid var(--line-strong);
    }

    .motion-metrics > div:last-child {
        border-bottom: 0;
    }

    .motion-study__photo {
        min-height: 500px;
    }

    .symptom-index__heading h2 {
        font-size: clamp(3.8rem, 16vw, 5.8rem);
    }

    .symptom-row {
        grid-template-columns: 42px 1fr;
        gap: 16px;

        padding: 24px 0;
    }

    .symptom-row__status {
        grid-column: 2;
        justify-self: start;
    }

    .symptom-row p {
        grid-column: 2;
    }

    .clinic-profile__image {
        min-height: 480px;
    }

    .credential-list > div {
        grid-template-columns: 90px 1fr;
    }

    .outcome-card {
        min-height: 410px;
    }

    .clinic-faq summary {
        grid-template-columns: 34px 1fr 30px;
        gap: 12px;

        min-height: 84px;
    }

    .faq-answer {
        padding-left: 46px;
    }

    .intake-form__masthead {
        grid-template-columns: 1fr auto;
    }

    .intake-form__masthead span:nth-child(2) {
        display: none;
    }

    .intake-form__footer {
        grid-template-columns: 1fr;
    }

    .intake-submit {
        width: 100%;
    }

    .closing-note__main h2 {
        font-size: clamp(5rem, 22vw, 7.5rem);
    }

    .site-footer {
        grid-template-columns: 1fr;
    }

    .site-footer__brand,
    .site-footer__legal {
        grid-column: auto;
    }
}


/* ============================================================
   22. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

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

/* === TF WIDE CONTENT CONTAINMENT START === */

@media (min-width: 1500px) {

    :root {
        --wide: 1280px;
        --content: 1120px;
    }

    .assessment-hero,
    .care-feature,
    .symptom-index,
    .outcome-notes,
    .closing-note {
        width: min(calc(100% - 128px), var(--wide));
    }

    .body-map,
    .care-path,
    .clinic-faq,
    .patient-intake {
        padding-left: max(64px, calc((100vw - var(--wide)) / 2));
        padding-right: max(64px, calc((100vw - var(--wide)) / 2));
    }

    .motion-study__copy {
        padding-left: max(64px, calc((100vw - var(--wide)) / 2));
        padding-right: 64px;
    }

    .clinic-profile__copy {
        padding-left: 64px;
        padding-right: max(64px, calc((100vw - var(--wide)) / 2));
    }

    .site-footer {
        padding-left: max(64px, calc((100vw - var(--wide)) / 2));
        padding-right: max(64px, calc((100vw - var(--wide)) / 2));
    }
}

/* === TF WIDE CONTENT CONTAINMENT END === */

/* === TF ROM OVERLAY CLEANUP START === */

.angle-line,
.angle-value {
    display: none;
}

/* === TF ROM OVERLAY CLEANUP END === */

/* === TF SELECT DROPDOWN FIX START === */

.field select option {
    color: var(--ink);
    background: var(--paper-light);
}

.field select option[value=""] {
    color: var(--muted);
}

/* === TF SELECT DROPDOWN FIX END === */
