:root {
    --ink: #171715;
    --muted: #74716b;
    --cream: #f5f2eb;
    --paper: #fbfaf7;
    --line: rgba(23, 23, 21, .14);
    --gold: #a78b62;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --max: 1440px;
}

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    overflow-x: hidden;
}
body:before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: .045;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
button,
input,
textarea {
    font: inherit;
}
.container {
    width: min(calc(100% - 64px), var(--max));
    margin: auto;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}
.serif {
    font-family: var(--serif);
}
.display {
    font-size: clamp(58px, 9vw, 142px);
    line-height: .87;
    letter-spacing: -.065em;
    font-weight: 500;
}
.section {
    padding: 150px 0;
}
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in {
    opacity: 1;
    transform: none;
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 20px 32px;
    transition: .5s var(--ease);
}
.nav.scrolled {
    background: rgba(251, 250, 247, .72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    color: var(--ink)
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 19px;
    letter-spacing: .28em;
    font-weight: 600;
}
.logo span {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: .05em;
    color: var(--cream);
}
.nav-links {
    display: flex;
    gap: 28px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--cream);
}
.nav-cta {
    border: 1px solid var(--cream);
    padding: 11px 17px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cream)
}

.nav.scrolled .nav-links,
.nav.scrolled .nav-cta, 
.nav.scrolled .logo span {
    color: var(--ink);
}

.nav.scrolled .nav-cta {
    border-color: var(--ink);
}   

.menu {
    display: none;
    border: 0;
    background: none;
    font-size: 24px;
}

/* HERO */
.hero {
    height: 100svh;
    min-height: 720px;
    position: relative;
    background: #272623;
    color: #fff;
    overflow: hidden;
}
.hero-photo {
    position: absolute;
    inset: -7%;
    will-change: transform;
}
.hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 15, 13, .72) 0%, rgba(15, 15, 13, .2) 52%, rgba(15, 15, 13, .08));
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8.5vh;
}
.hero-copy {
    max-width: 1020px;
}
.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 25px;
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.hero-kicker:before {
    content: "";
    width: 54px;
    height: 1px;
    background: #fff;
}
.hero h1 {
    margin: 0;
    max-width: 950px;
}
.hero h1 em {
    font-family: var(--serif);
    font-weight: 400;
}
.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-top: 42px;
    max-width: 950px;
}
.hero-desc {
    max-width: 380px;
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}
.circle-link {
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: .5s var(--ease);
}
.circle-link:hover {
    background: #fff;
    color: var(--ink);
    transform: rotate(-10deg);
}
.scroll-mark {
    position: absolute;
    right: 32px;
    bottom: 30px;
    writing-mode: vertical-rl;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    opacity: .7;
}

/* INTRO */
.intro {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10vw;
    align-items: start;
}
.intro h2 {
    font-size: clamp(40px, 5.3vw, 78px);
    line-height: .95;
    letter-spacing: -.05em;
    margin: 0;
}
.intro h2 em {
    font-weight: 400;
}
.intro-copy {
    padding-top: 28px;
    max-width: 580px;
}
.intro-copy p {
    font-size: 17px;
    line-height: 1.85;
    color: #55514b;
    margin: 0 0 28px;
}
.line-link {
    display: inline-flex;
    gap: 14px;
    align-items: center;
    font-size: 11px;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 10px;
}
.line-link:after {
    content: "↗";
    font-size: 16px;
    transition: .3s;
}
.line-link:hover:after {
    transform: translate(4px, -4px);
}

/* SPECIALIZATIONS */
.special {
    background: var(--ink);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.special .section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 80px;
}
.special h2 {
    font-size: clamp(50px, 7vw, 105px);
    line-height: .88;
    letter-spacing: -.06em;
    margin: 12px 0 0;
}
.special-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1px;
}
.spec {
    border-top: 1px solid rgba(255, 255, 255, .22);
    padding: 30px 12px 38px;
    min-height: 220px;
    position: relative;
    transition: .5s var(--ease);
}
.spec:nth-child(1) {
    grid-column: span 4;
}
.spec:nth-child(2) {
    grid-column: span 4;
}
.spec:nth-child(3) {
    grid-column: span 4;
}
.spec:nth-child(4) {
    grid-column: 2 / span 4;
}
.spec:nth-child(5) {
    grid-column: 7 / span 4;
}
.spec-number {
    font-family: var(--serif);
    font-size: 17px;
    color: #aaa;
    margin-bottom: 65px;
}
.spec h3 {
    font-size: 25px;
    font-weight: 500;
    margin: 0 0 12px;
    letter-spacing: -.03em;
}
.spec p {
    color: #99958d;
    font-size: 13px;
    line-height: 1.7;
    max-width: 300px;
}
.spec:hover {
    background: rgba(255, 255, 255, .035);
    padding-left: 22px;
}
.spec-arrow {
    position: absolute;
    right: 15px;
    top: 30px;
    font-size: 20px;
    opacity: .5;
}

/* SERVICES */
.services-head {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10vw;
    margin-bottom: 80px;
}
.services-head h2 {
    font-size: clamp(52px, 7vw, 100px);
    line-height: .88;
    letter-spacing: -.06em;
    margin: 12px 0;
}
.services-head p {
    max-width: 490px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    padding-top: 35px;
}
.service-row {
    display: grid;
    grid-template-columns: 90px 1.15fr 1fr 70px;
    gap: 30px;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    transition: .45s var(--ease);
}
.service-row:last-child {
    border-bottom: 1px solid var(--line);
}
.service-row:hover {
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(167, 139, 98, .07), transparent);
}
.service-num {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--gold);
}
.service-name {
    font-family: var(--serif);
    font-size: clamp(25px, 2.5vw, 39px);
}
.service-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--muted);
}
.service-arrow {
    font-size: 25px;
    text-align: right;
}

/* FEATURE */
.feature {
    height: 780px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.feature-image {
    position: absolute;
    inset: -8%;
    will-change: transform;
}
.feature:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 10, 9, .72), rgba(10, 10, 9, .05) 65%);
}
.feature-content {
    position: absolute;
    z-index: 2;
    left: 6%;
    bottom: 7%;
    max-width: 700px;
}
.feature h2 {
    font-size: clamp(52px, 7vw, 108px);
    line-height: .87;
    letter-spacing: -.06em;
    margin: 15px 0;
}
.feature h2 em {
    font-weight: 400;
}
.feature p {
    max-width: 420px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

/* PACKAGES */
.packages {
    background: var(--cream);
}
.packages-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 80px;
}
.packages-head h2 {
    font-size: clamp(50px, 7vw, 98px);
    line-height: .9;
    letter-spacing: -.06em;
    margin: 15px 0 22px;
}
.packages-head p {
    color: var(--muted);
    line-height: 1.7;
}
.package-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 20px;
    align-items: start;
}
.package {
    padding: 42px 34px 48px;
    border: 1px solid var(--line);
    min-height: 500px;
    background: rgba(255, 255, 255, .25);
    position: relative;
    transition: .5s var(--ease);
}
.package:nth-child(2) {
    background: var(--ink);
    color: #fff;
    transform: translateY(-35px);
    border-color: var(--ink);
}
.package:hover {
    transform: translateY(-8px);
}
.package:nth-child(2):hover {
    transform: translateY(-43px);
}
.package-tag {
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
}
.package h3 {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 500;
    margin: 55px 0 10px;
}
.package-price {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 45px;
}
.package:nth-child(2) .package-price {
    color: #aaa;
}
.package ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.package li {
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 13px;
}
.package li:before {
    content: "— ";
    color: var(--gold);
}
.package-btn {
    position: absolute;
    bottom: 38px;
    left: 34px;
    right: 34px;
    text-align: center;
    border: 1px solid currentColor;
    padding: 14px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 10px;
}

/* DOCTORS */
.doctors-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 65px;
}
.doctors-head h2 {
    font-size: clamp(52px, 6.5vw, 95px);
    line-height: .88;
    letter-spacing: -.06em;
    margin: 12px 0;
}
.doctors-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 20px;
}
.doctor {
    position: relative;
}
.doctor-img {
    height: 620px;
    overflow: hidden;
    background: #ddd;
}
.doctor:nth-child(2) .doctor-img,
.doctor:nth-child(3) .doctor-img {
    height: 470px;
    margin-top: 150px;
}
.doctor img {
    filter: saturate(.82);
    transition: 1s var(--ease);
}
.doctor:hover img {
    transform: scale(1.04);
}
.doctor-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    margin-top: 14px;
}
.doctor-name {
    font-family: var(--serif);
    font-size: 23px;
}
.doctor-role {
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: right;
}

/* CREDENTIALS */
.credentials {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 50px 0;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
}
.credential-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.credential {
    font-family: var(--serif);
    font-size: 19px;
    padding: 5px 0;
}
.credential small {
    display: block;
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 10px;
}

/* JOURNAL */
.journal {
    background: #eeeae2;
}
.journal-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 65px;
}
.journal-head h2 {
    font-size: clamp(50px, 6vw, 90px);
    line-height: .9;
    letter-spacing: -.06em;
    margin: 12px 0;
}
.posts {
    display: grid;
    grid-template-columns: 1.25fr .8fr .8fr;
    gap: 22px;
}
.post-image {
    height: 480px;
    overflow: hidden;
}
.post:nth-child(2) .post-image,
.post:nth-child(3) .post-image {
    height: 320px;
}
.post img {
    transition: 1s var(--ease);
}
.post:hover img {
    transform: scale(1.04);
}
.post-meta {
    display: flex;
    justify-content: space-between;
    padding: 16px 0 0;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--muted);
}
.post h3 {
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.05;
    margin: 12px 0;
}

/* CONTACT */
.contact {
    background: var(--ink);
    color: #fff;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
}
.contact h2 {
    font-size: clamp(55px, 7vw, 105px);
    line-height: .87;
    letter-spacing: -.06em;
    margin: 15px 0 35px;
}
.contact h2 em {
    font-weight: 400;
}
.contact-copy {
    color: #aaa;
    line-height: 1.8;
    max-width: 430px;
}
.contact-details {
    margin-top: 65px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.detail span {
    display: block;
    font-size: 9px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 9px;
}
.detail {
    font-size: 13px;
    line-height: 1.6;
}
form {
    border-top: 1px solid rgba(255, 255, 255, .25);
}
.field {
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    padding: 20px 0;
}
.field label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #777;
    margin-bottom: 10px;
}
.field input,
.field textarea {
    width: 100%;
    background: none;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 15px;
    resize: none;
}
.field textarea {
    height: 85px;
}
.submit {
    margin-top: 25px;
    width: 100%;
    padding: 17px;
    background: #fff;
    color: var(--ink);
    border: 0;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 10px;
    cursor: pointer;
    transition: .35s;
}
.submit:hover {
    background: var(--gold);
    color: #fff;
}

/* NEWSLETTER */
.newsletter {
    padding: 75px 0;
    border-bottom: 1px solid var(--line);
}
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.newsletter h3 {
    font-family: var(--serif);
    font-size: 35px;
    font-weight: 500;
    margin: 0 0 8px;
}
.newsletter p {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}
.newsletter form {
    border: 0;
    display: flex;
    width: min(480px, 100%);
    gap: 0;
}
.newsletter input {
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: none;
    padding: 15px 0;
    outline: 0;
    flex: 1;
}
.newsletter button {
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: none;
    padding: 15px 0 15px 20px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 10px;
    cursor: pointer;
}

/* FOOTER */
footer {
    padding: 35px 0 50px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.footer-links {
    display: flex;
    gap: 25px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}
.copyright {
    font-size: 10px;
    color: var(--muted);
    margin-top: 65px;
    display: flex;
    justify-content: space-between;
}

/* RESPONSIVE */
@media(max-width: 900px) {
    .container {
        width: min(calc(100% - 38px), var(--max));
    }
    .nav {
        padding: 17px 19px;
    }
    .nav-links,
    .nav-cta {
        display: none;
    }
    .menu {
        display: block;
    }
    .section {
        padding: 95px 0;
    }
    .intro,
    .services-head,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .intro-copy {
        padding-top: 0;
    }
    .services-head p {
        padding-top: 0;
    }
    .special .section-head,
    .doctors-head,
    .journal-head,
    .newsletter-inner {
        display: block;
    }
    .special-grid {
        grid-template-columns: 1fr 1fr;
    }
    .spec:nth-child(n) {
        grid-column: auto;
    }
    .package-grid {
        grid-template-columns: 1fr;
    }
    .package:nth-child(2) {
        transform: none;
    }
    .package:hover,
    .package:nth-child(2):hover {
        transform: translateY(-5px);
    }
    .doctors-grid {
        grid-template-columns: 1fr 1fr;
    }
    .doctor:first-child {
        grid-column: 1/-1;
    }
    .doctor:nth-child(2) .doctor-img,
    .doctor:nth-child(3) .doctor-img {
        height: 430px;
        margin-top: 0;
    }
    .doctor:first-child .doctor-img {
        height: 560px;
    }
    .credentials {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .credential-list {
        grid-template-columns: 1fr 1fr;
    }
    .posts {
        grid-template-columns: 1fr;
    }
    .post-image,
    .post:nth-child(2) .post-image,
    .post:nth-child(3) .post-image {
        height: 420px;
    }
    .newsletter form {
        margin-top: 35px;
    }
}

@media(max-width: 600px) {
    .hero {
        min-height: 650px;
    }
    .hero-content {
        padding-bottom: 55px;
    }
    .hero-bottom {
        display: block;
    }
    .hero-desc {
        font-size: 13px;
        margin-bottom: 30px;
    }
    .circle-link {
        width: 78px;
        height: 78px;
    }
    .display {
        font-size: clamp(54px, 16vw, 85px);
    }
    .special-grid {
        grid-template-columns: 1fr;
    }
    .spec:nth-child(n) {
        grid-column: auto;
    }
    .spec {
        min-height: 180px;
    }
    .service-row {
        grid-template-columns: 35px 1fr 30px;
        gap: 10px;
    }
    .service-desc {
        display: none;
    }
    .feature {
        height: 650px;
    }
    .feature-content {
        left: 7%;
        right: 7%;
    }
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .doctor:first-child {
        grid-column: auto;
    }
    .doctor:first-child .doctor-img {
        height: 500px;
    }
    .doctor:nth-child(2) .doctor-img,
    .doctor:nth-child(3) .doctor-img {
        height: 430px;
    }
    .contact-details {
        grid-template-columns: 1fr;
    }
    .copyright,
    .footer-top {
        display: block;
    }
    .footer-links {
        margin-top: 25px;
        flex-wrap: wrap;
    }
}
.footer-top .logo span {
    color: var(--ink);
}