@charset "UTF-8";

:root {
    --paper: #f4efe5;
    --paper-2: #e9e0d2;
    --surface: #fffdf8;
    --ink: #17211f;
    --muted: #65706c;
    --teal: #0a5b5c;
    --teal-dark: #063f40;
    --teal-deep: #052f30;
    --coral: #e8785f;
    --line: rgba(23, 33, 31, 0.16);
    --white-line: rgba(255, 255, 255, 0.18);
    --shell: 1360px;
    --header-height: 92px;
    --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow: 0 28px 72px rgba(23, 33, 31, 0.14);
    --shadow-soft: 0 18px 48px rgba(23, 33, 31, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

figure,
blockquote,
h1,
h2,
h3,
p {
    margin-top: 0;
}

::selection {
    color: #fff;
    background: var(--teal);
}

:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 4px;
}

.shell {
    width: min(var(--shell), calc(100% - 64px));
    margin-inline: auto;
}

.section {
    padding-block: clamp(86px, 9vw, 148px);
}

.skip-link {
    position: fixed;
    z-index: 1000;
    left: 16px;
    top: 16px;
    padding: 11px 16px;
    color: #fff;
    background: var(--teal-dark);
    border-radius: 999px;
    transform: translateY(-180%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    color: var(--ink);
    background: rgba(244, 239, 229, 0.97);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 5px 24px rgba(23, 33, 31, 0.05);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1480px, calc(100% - 36px));
    height: 100%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr) 200px;
    align-items: center;
    gap: 24px;
}

.brand {
    width: fit-content;
    height: 82px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.brand img {
    width: 148px;
    height: 84px;
    object-fit: contain;
    object-position: left center;
    mix-blend-mode: multiply;
}

.desktop-nav {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(30px, 4vw, 64px);
    font-size: 0.92rem;
    font-weight: 760;
}

.desktop-nav a {
    position: relative;
    padding-block: 10px;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 3px;
    height: 1px;
    background: var(--teal);
    transition: left 180ms ease, right 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="true"]::after {
    left: 0;
    right: 0;
}

.header-cta {
    justify-self: end;
    min-width: 128px;
    padding: 12px 22px;
    color: #fff;
    text-align: center;
    background: var(--teal);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 850;
    transition: background 180ms ease, transform 180ms ease;
}

.header-cta:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
}

.menu-toggle,
.mobile-nav {
    display: none;
}

/* TYPOGRAPHY */

.eyebrow,
.section-label {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--teal);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.eyebrow {
    width: fit-content;
}

.eyebrow::before,
.section-label::before {
    content: "";
    flex: 0 0 34px;
    width: 34px;
    height: 1px;
    background: currentColor;
}

.section-label-light {
    color: var(--coral);
}

h1,
h2,
h3,
blockquote {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.038em;
}

/* HERO */

.hero {
    min-height: calc(100svh - var(--header-height));
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    background: var(--paper);
}

.hero-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding:
        clamp(64px, 6vw, 110px)
        clamp(48px, 4.5vw, 76px);
}

h1 {
    max-width: 940px;
    margin-bottom: 28px;
    font-size: clamp(3.8rem, 5.9vw, 6.8rem);
    line-height: 0.94;
}

.hero-lead {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.04rem, 1.35vw, 1.2rem);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.91rem;
    font-weight: 850;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--teal-dark);
}

.button-primary:hover {
    background: var(--teal);
}

.button-link {
    color: var(--teal-dark);
    background: transparent;
    border: 1px solid var(--line);
}

.button-link:hover {
    background: var(--surface);
}

.hero-info {
    margin-top: clamp(46px, 5vw, 72px);
    padding-top: 21px;
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    gap: 24px;
    border-top: 1px solid var(--line);
}

.hero-info span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.69rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.hero-info a,
.hero-info p {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.16rem;
}

.hero-visual {
    position: relative;
    min-width: 0;
    min-height: calc(100svh - var(--header-height));
    overflow: hidden;
    background: var(--teal-dark);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4, 37, 38, 0.02), rgba(4, 37, 38, 0.42)),
        linear-gradient(90deg, rgba(4, 37, 38, 0.12), transparent 42%);
    pointer-events: none;
}

.hero-visual img {
    height: 100%;
    object-fit: cover;
    object-position: 57% center;
}

.hero-card {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 28px;
    width: min(390px, calc(100% - 56px));
    padding: 23px 25px;
    color: var(--ink);
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.44);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero-card span {
    display: block;
    margin-bottom: 9px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-card p {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.34rem;
    line-height: 1.25;
}

/* CLINIC */

.clinic {
    background: var(--surface);
}

.section-heading,
.services-heading,
.contact-heading {
    display: grid;
    grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1.66fr);
    gap: 64px;
    margin-bottom: 66px;
}

.section-heading h2,
.services-heading h2,
.space-heading h2,
.contact-heading h2 {
    max-width: 1000px;
    margin-bottom: 23px;
    font-size: clamp(3rem, 5.35vw, 5.8rem);
    line-height: 0.99;
}

.section-heading > div > p,
.services-heading > div > p,
.contact-heading > div > p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.04rem;
}

.clinic-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.65fr);
    gap: 18px;
}

.clinic-grid figure {
    margin: 0;
    overflow: hidden;
    background: var(--paper-2);
}

.clinic-grid figure img {
    height: 100%;
    object-fit: cover;
}

.clinic-large {
    min-height: 660px;
}

.clinic-side {
    min-width: 0;
    display: grid;
    grid-template-rows: minmax(320px, 1fr) auto;
    gap: 18px;
}

.clinic-side blockquote {
    margin: 0;
    padding: 34px;
    color: #fff;
    background: var(--teal);
}

.clinic-side blockquote p {
    margin: 0;
    font-size: clamp(1.75rem, 2.55vw, 2.6rem);
    line-height: 1.13;
}

/* PRINCIPLES */

.principles {
    padding-block: 78px;
    background: var(--paper);
    border-block: 1px solid var(--line);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principles article {
    min-width: 0;
    min-height: 250px;
    padding: 12px 46px;
    border-right: 1px solid var(--line);
}

.principles article:first-child {
    padding-left: 0;
}

.principles article:last-child {
    padding-right: 0;
    border-right: 0;
}

.principles article > span,
.service-number {
    display: block;
    margin-bottom: 33px;
    color: var(--coral);
    font-family: var(--serif);
    font-size: 0.95rem;
    font-style: italic;
}

.principles h3 {
    margin-bottom: 15px;
    font-size: 1.95rem;
    line-height: 1.08;
}

.principles p {
    margin-bottom: 0;
    color: var(--muted);
}

/* SERVICES */

.services {
    color: #fff;
    background: var(--teal-dark);
}

.services-heading > div > p {
    color: rgba(255, 255, 255, 0.66);
}

.services-list {
    border-top: 1px solid var(--white-line);
}

.service-row {
    display: grid;
    grid-template-columns: 84px minmax(250px, 0.78fr) minmax(360px, 1.22fr);
    gap: 32px;
    align-items: start;
    padding: 29px 20px 31px;
    border-bottom: 1px solid var(--white-line);
    transition: color 180ms ease, background 180ms ease;
}

.service-row:hover {
    color: var(--ink);
    background: var(--paper);
}

.service-number {
    margin: 4px 0 0;
}

.service-row h3 {
    margin: 0;
    font-size: 1.95rem;
    line-height: 1.08;
}

.service-row p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
}

.service-row:hover p {
    color: var(--muted);
}

.services-callout {
    margin-top: 32px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.89rem;
}

.services-callout a {
    color: #fff;
    font-weight: 850;
    border-bottom: 1px solid rgba(255, 255, 255, 0.38);
}

/* SPACE */

.space {
    background: var(--paper);
}

.space-heading {
    max-width: 980px;
    margin-bottom: 56px;
}

.space-heading h2 {
    margin-bottom: 0;
}

.gallery {
    display: grid;
    grid-template-columns: 1.28fr 0.72fr;
    grid-template-rows: 370px 300px;
    gap: 16px;
}

.gallery figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: var(--paper-2);
}

.gallery figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 40, 41, 0.52), transparent 43%);
    pointer-events: none;
}

.gallery img {
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.gallery figure:hover img {
    transform: scale(1.03);
}

.gallery figcaption {
    position: absolute;
    z-index: 2;
    left: 21px;
    bottom: 17px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.gallery-main {
    grid-row: 1 / 3;
}

/* APPOINTMENT */

.appointment {
    background:
        linear-gradient(180deg, var(--paper) 0%, var(--paper) 42%, var(--surface) 42%, var(--surface) 100%);
}

.appointment-shell {
    display: grid;
    grid-template-columns: minmax(330px, 0.72fr) minmax(0, 1.28fr);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.appointment-intro {
    min-height: 760px;
    padding: clamp(36px, 5vw, 68px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(5, 47, 48, 0.72), rgba(5, 47, 48, 0.96)),
        url("assets/bed.interior2.jpeg") center / cover no-repeat;
}

.appointment-intro h2 {
    max-width: 560px;
    margin-bottom: 24px;
    font-size: clamp(3.1rem, 4.5vw, 5rem);
    line-height: 0.98;
}

.appointment-intro > div > p:not(.section-label) {
    max-width: 520px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.76);
}

.appointment-contact {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.appointment-contact span,
.appointment-contact small {
    display: block;
}

.appointment-contact span {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.appointment-contact a {
    display: inline-block;
    margin-bottom: 12px;
    font-family: var(--serif);
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
}

.appointment-contact small {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.68);
}

.appointment-panel {
    min-width: 0;
    padding: clamp(34px, 5vw, 68px);
    color: var(--ink);
    background: var(--surface);
}

.form-heading {
    margin-bottom: 34px;
    padding-bottom: 22px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid var(--line);
}

.form-heading span {
    display: block;
    margin-bottom: 6px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-heading h3 {
    margin-bottom: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.04;
}

.form-heading small {
    color: var(--muted);
    white-space: nowrap;
}

.appointment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
}

.form-field {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    color: var(--ink);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 54px;
    padding: 13px 15px;
    color: var(--ink);
    background: #fbf8f1;
    border: 1px solid rgba(23, 33, 31, 0.18);
    border-radius: 10px;
    outline: none;
    transition:
        border-color 160ms ease,
        background 160ms ease,
        box-shadow 160ms ease;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    background: #fff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    background: #fff;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(10, 91, 92, 0.10);
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--muted);
    font-size: 0.84rem;
    cursor: pointer;
}

.form-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--teal);
}

.form-actions {
    grid-column: 1 / -1;
    margin-top: 6px;
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
}

.form-actions p {
    max-width: 390px;
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
}

.form-actions p a {
    color: var(--teal-dark);
    font-weight: 850;
}

.form-submit {
    min-height: 54px;
    padding: 0 26px;
    color: #fff;
    background: var(--teal-dark);
    border: 0;
    border-radius: 999px;
    font-weight: 850;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.form-submit:hover {
    background: var(--teal);
    transform: translateY(-1px);
}

.form-message {
    margin-bottom: 26px;
    padding: 16px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
}

.form-message-success {
    color: #155c42;
    background: #e5f2ea;
    border: 1px solid #bfddca;
}

.form-message-error {
    color: #842d25;
    background: #f7e7e4;
    border: 1px solid #ebc6c0;
}

.form-message-error strong {
    display: block;
    margin-bottom: 6px;
}

.form-message-error ul {
    margin: 0;
    padding-left: 20px;
}

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* CONTACT */

.contact {
    color: #fff;
    background: var(--teal-deep);
}

.contact-heading > div > p {
    color: rgba(255, 255, 255, 0.66);
}

.contact-layout {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    min-height: 570px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.contact-card {
    padding: clamp(32px, 4vw, 52px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--ink);
    background: var(--paper);
}

.contact-item {
    padding-block: 20px;
    border-bottom: 1px solid var(--line);
}

.contact-item:first-child {
    border-top: 1px solid var(--line);
}

.contact-item span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 0.71rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-item a,
.contact-item p {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.35rem;
    line-height: 1.2;
}

.contact-directions {
    min-height: 50px;
    margin-top: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: #fff;
    background: var(--teal-dark);
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 850;
}

.contact-map {
    min-width: 0;
    min-height: 570px;
    background: var(--paper-2);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 570px;
    border: 0;
    filter: saturate(0.7) contrast(1.03);
}

/* FOOTER */

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    background: #102b2c;
}

.footer-main {
    min-height: 250px;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    align-items: center;
    gap: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-main > strong {
    color: #fff;
    font-family: var(--serif);
    font-size: 2.15rem;
    font-weight: 400;
}

.footer-main > p {
    max-width: 620px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2.4vw, 2.35rem);
    line-height: 1.23;
}

.footer-main nav {
    display: grid;
    gap: 9px;
    text-align: right;
    font-size: 0.88rem;
}

.footer-main a:hover,
.footer-bottom a:hover {
    color: #fff;
}

.footer-bottom {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: 0.81rem;
}

.mobile-call {
    display: none;
}

/* REVEAL */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 620ms cubic-bezier(.2, .8, .2, 1),
        transform 620ms cubic-bezier(.2, .8, .2, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* TABLET */

@media (max-width: 1100px) {
    :root {
        --header-height: 80px;
    }

    .shell {
        width: min(var(--shell), calc(100% - 40px));
    }

    .header-inner {
        width: calc(100% - 24px);
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .brand {
        height: 70px;
    }

    .brand img {
        width: 126px;
        height: 72px;
    }

    .desktop-nav,
    .header-cta {
        display: none;
    }

    .menu-toggle {
        position: relative;
        z-index: 132;
        justify-self: end;
        width: 48px;
        height: 48px;
        padding: 0;
        display: grid;
        place-content: center;
        gap: 5px;
        color: #fff;
        background: var(--teal-dark);
        border: 0;
        border-radius: 50%;
        cursor: pointer;
    }

    .menu-toggle span {
        width: 20px;
        height: 2px;
        display: block;
        background: currentColor;
        border-radius: 999px;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .mobile-nav {
        position: fixed;
        z-index: 130;
        top: var(--header-height);
        left: 12px;
        right: 12px;
        max-height: calc(100svh - var(--header-height) - 12px);
        overflow-y: auto;
        padding: 14px 22px 22px;
        color: var(--ink);
        background: rgba(255, 253, 248, 0.99);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .mobile-nav:not([hidden]) {
        display: grid;
    }

    .mobile-nav a {
        padding-block: 14px;
        border-bottom: 1px solid var(--line);
        font-family: var(--serif);
        font-size: 1.45rem;
    }

    .mobile-nav .mobile-nav-call {
        margin-top: 12px;
        padding: 14px 18px;
        color: #fff;
        text-align: center;
        border: 0;
        border-radius: 999px;
        background: var(--teal);
        font-family: var(--sans);
        font-size: 0.9rem;
        font-weight: 850;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        min-height: 640px;
        padding: 86px 40px 66px;
    }

    .hero-visual {
        min-height: 680px;
    }

    .section-heading,
    .services-heading,
    .contact-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .clinic-grid {
        grid-template-columns: 1fr;
    }

    .clinic-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .principles article,
    .principles article:first-child,
    .principles article:last-child {
        min-height: auto;
        padding: 29px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .principles article:last-child {
        border-bottom: 0;
    }

    .service-row {
        grid-template-columns: 70px minmax(230px, 0.8fr) minmax(0, 1.2fr);
        gap: 26px;
    }

    .appointment-shell {
        grid-template-columns: 1fr;
    }

    .appointment-intro {
        min-height: 420px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-card {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: start;
        gap: 22px;
    }

    .contact-item,
    .contact-item:first-child {
        padding: 0;
        border: 0;
    }

    .contact-directions {
        grid-column: 1 / -1;
        width: fit-content;
        margin-top: 4px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 500px;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    :root {
        --header-height: 74px;
    }

    .header-inner {
        width: calc(100% - 16px);
    }

    .brand {
        height: 64px;
    }

    .brand img {
        width: 116px;
        height: 66px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .mobile-nav {
        left: 8px;
        right: 8px;
    }

    .shell {
        width: min(var(--shell), calc(100% - 28px));
    }

    .section {
        padding-block: 76px;
    }

    .hero-copy {
        min-height: 610px;
        padding: 70px 20px 54px;
    }

    h1 {
        font-size: clamp(3.25rem, 15.5vw, 4.85rem);
        line-height: 0.94;
    }

    .hero-actions {
        display: grid;
        align-items: stretch;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .hero-visual img {
        object-position: 62% center;
    }

    .hero-card {
        right: 15px;
        bottom: 15px;
        width: calc(100% - 30px);
        padding: 19px;
    }

    .section-heading h2,
    .services-heading h2,
    .space-heading h2,
    .contact-heading h2 {
        font-size: clamp(2.6rem, 11.5vw, 3.9rem);
    }

    .clinic-large {
        min-height: 440px;
    }

    .clinic-side {
        grid-template-columns: 1fr;
    }

    .clinic-side figure {
        min-height: 320px;
    }

    .clinic-side blockquote {
        padding: 27px;
    }

    .service-row {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 9px 16px;
        padding: 25px 0 29px;
    }

    .service-row h3 {
        font-size: 1.72rem;
    }

    .service-row p {
        grid-column: 2;
    }

    .services-callout {
        display: grid;
        justify-content: start;
    }

    .gallery {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .gallery figure,
    .gallery-main {
        min-height: 310px;
        grid-row: auto;
    }

    .appointment-shell {
        width: 100%;
    }

    .appointment-intro {
        min-height: 380px;
        padding: 34px 26px;
    }

    .appointment-intro h2 {
        font-size: clamp(2.8rem, 12vw, 4rem);
    }

    .appointment-panel {
        padding: 34px 22px;
    }

    .form-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .form-heading small {
        white-space: normal;
    }

    .appointment-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full,
    .form-consent,
    .form-actions {
        grid-column: 1;
    }

    .form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .form-submit {
        width: 100%;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-directions {
        width: 100%;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 420px;
    }

    .footer-main {
        min-height: auto;
        padding-block: 54px;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-main nav {
        text-align: left;
    }

    .footer-bottom {
        padding-block: 21px 94px;
        display: grid;
        justify-content: start;
    }

    .mobile-call {
        position: fixed;
        z-index: 90;
        right: 15px;
        bottom: 15px;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 18px;
        color: #fff;
        background: rgba(6, 63, 64, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        box-shadow: 0 16px 34px rgba(6, 63, 64, 0.25);
        backdrop-filter: blur(14px);
        font-size: 0.82rem;
        font-weight: 850;
    }
}

@media (max-width: 430px) {
    .hero-copy {
        min-height: 640px;
    }

    .hero-visual {
        min-height: 480px;
    }

    .hero-card p {
        font-size: 1.18rem;
    }

    .clinic-large {
        min-height: 380px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

body > progress,
body > meter,
body > input[type="range"],
main > progress,
main > meter,
main > input[type="range"] {
    display: none !important;
}