:root {
    --ink: #17352f;
    --muted: #60746d;
    --green: #236b53;
    --green-dark: #174c3c;
    --mint: #dceee5;
    --paper: #f5f8f6;
    --white: #fff;
    --line: #dce6e0;
    --orange: #e6a86a;
    --shadow: 0 18px 50px #17352f12
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 86px
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif
}

a {
    color: inherit
}

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

.shell {
    width: min(1160px, calc(100% - 48px));
    margin: auto
}

header {
    height: 78px;
    display: flex;
    align-items: center;
    background: #f5f8f6eb;
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #dce6e080
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 750;
    letter-spacing: -.03em
}

.brand-mark {
    width: 42px;
    height: 42px;
    background: var(--green);
    color: white;
    display: grid;
    place-items: center;
    border-radius: 13px
}

.brand-mark svg {
    width: 23px
}

.brand small {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.25
}

.links {
    display: flex;
    gap: 34px;
    align-items: center
}

.links a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 650;
    color: #50675e
}

.links a:hover,
.links a.active {
    color: var(--green)
}

.nav-apply,
.button {
    background: var(--green);
    color: white !important;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: .2s
}

.nav-apply:hover,
.button:hover {
    background: var(--green-dark);
    transform: translateY(-1px)
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 24px
}

.hero {
    padding: 78px 0 72px;
    overflow: hidden
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.03fr .97fr;
    gap: 64px;
    align-items: center
}

.eyebrow {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: 11px;
    font-weight: 800;
    color: var(--green)
}

.eyebrow:before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--orange)
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(44px, 5.3vw, 68px);
    line-height: 1.04;
    letter-spacing: -.055em;
    margin: 21px 0;
    color: #173c32;
    max-width: 650px
}

h1 em {
    font-family: Georgia, serif;
    font-weight: 500;
    color: var(--green);
    letter-spacing: -.06em
}

.hero-copy {
    max-width: 505px;
    color: var(--muted);
    font-size: 17px;
    margin: 0 0 27px
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px
}

.text-link {
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    font-size: 14px
}

.text-link span {
    margin-left: 5px
}

.hero-note {
    margin-top: 35px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--muted);
    font-size: 12px
}

.avatars {
    display: flex
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid var(--paper);
    margin-right: -8px;
    display: grid;
    place-items: center;
    background: #c5dfd1;
    color: #245842;
    font-size: 10px;
    font-weight: 800
}

.avatar:nth-child(2) {
    background: #f1d3b4
}

.avatar:nth-child(3) {
    background: #cad9e8
}

.hero-art {
    position: relative;
    min-height: 430px;
    border-radius: 46% 46% 18px 18px;
    background: #dcebe3;
    overflow: hidden;
    display: grid;
    place-items: center
}

.hero-art:before {
    content: "";
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: #bdd9c9;
    right: -70px;
    top: -110px
}

.hero-art:after {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: #e8f1eb;
    left: -100px;
    bottom: -100px
}

.art-label {
    position: absolute;
    z-index: 2;
    left: 25px;
    bottom: 25px;
    background: #fff;
    padding: 13px 17px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-weight: 750;
    font-size: 13px
}

.art-label small {
    display: block;
    color: var(--muted);
    font-weight: 500
}

.doctor {
    position: relative;
    z-index: 1;
    width: 78%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end
}

.doctor svg {
    width: 100%;
    max-width: 365px;
    height: auto;
    filter: drop-shadow(0 18px 18px #315a4820)
}

.stamp {
    position: absolute;
    z-index: 2;
    right: 20px;
    top: 28px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #fff;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--green);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    transform: rotate(10deg);
    box-shadow: var(--shadow)
}

.stamp strong {
    font-size: 22px;
    display: block
}

.stats {
    background: white;
    border-block: 1px solid var(--line)
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 23px 0
}

.stat {
    padding: 0 30px;
    border-right: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 14px
}

.stat:first-child {
    padding-left: 0
}

.stat:last-child {
    border: 0
}

.stat-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf5f0;
    color: var(--green);
    font-size: 19px
}

.stat b {
    font-size: 21px;
    letter-spacing: -.04em
}

.stat span {
    display: block;
    color: var(--muted);
    font-size: 12px
}

section.content {
    padding: 94px 0
}

.section-heading {
    max-width: 610px;
    margin-bottom: 42px
}

.section-heading h2 {
    font-size: clamp(34px, 4vw, 46px);
    letter-spacing: -.05em;
    line-height: 1.12;
    margin: 13px 0
}

.section-heading p {
    color: var(--muted);
    margin: 0
}

.about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center
}

.about-card {
    background: var(--green-dark);
    color: white;
    border-radius: 16px;
    padding: 31px;
    min-height: 290px;
    position: relative;
    overflow: hidden
}

.about-card:after {
    content: "✳";
    position: absolute;
    color: #ffffff0c;
    font-size: 260px;
    right: -24px;
    bottom: -120px
}

.about-card h3 {
    font: italic 29px/1.2 Georgia, serif;
    max-width: 280px;
    position: relative;
    z-index: 1
}

.about-card p {
    color: #d1e2d9;
    font-size: 14px;
    max-width: 290px;
    position: relative;
    z-index: 1
}

.about-card .button {
    background: #fff;
    color: var(--green-dark) !important;
    margin-top: 8px;
    font-size: 13px
}

.values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 27px 23px
}

.value {
    border-top: 1px solid var(--line);
    padding-top: 15px
}

.value .num {
    font-size: 11px;
    color: #ae8052;
    font-weight: 800;
    letter-spacing: .1em
}

.value h3 {
    font-size: 16px;
    margin: 5px 0
}

.value p {
    font-size: 13px;
    color: var(--muted);
    margin: 0
}

.careers {
    background: #eaf2ed
}

.career-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 28px;
    margin-bottom: 28px
}

.career-head .section-heading {
    margin-bottom: 0
}

.opening {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 23px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    box-shadow: 0 8px 24px #17352f08
}

.opening-info {
    display: flex;
    align-items: center;
    gap: 17px
}

.opening-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    background: #eaf4ee;
    border-radius: 14px;
    color: var(--green);
    font-size: 23px
}

.opening h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -.025em
}

.meta {
    display: flex;
    gap: 15px;
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px
}

.badge {
    font-size: 11px;
    color: #24714e;
    background: #e4f3e9;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 750;
    white-space: nowrap
}

.career-foot {
    font-size: 12px;
    color: var(--muted);
    margin: 15px 0 0
}

.career-foot a {
    color: var(--green);
    font-weight: 700
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px
}

.contact-info p {
    color: var(--muted)
}

.contact-item {
    display: flex;
    gap: 13px;
    margin-top: 22px
}

.contact-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #eaf3ed;
    display: grid;
    place-items: center;
    color: var(--green);
    flex: none
}

.contact-item b {
    font-size: 13px;
    display: block
}

.contact-item span {
    font-size: 13px;
    color: var(--muted)
}

.contact-form,
.application-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 12px 35px #17352f08
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 17px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    font-size: 12px;
    font-weight: 700;
    color: #344f45
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #d9e4dd;
    border-radius: 7px;
    padding: 11px 12px;
    color: var(--ink);
    background: white;
    outline: none;
    font-size: 13px
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #4b9270;
    box-shadow: 0 0 0 3px #4b92701c
}

.field textarea {
    resize: vertical;
    min-height: 100px
}

.field small {
    color: #788982;
    font-size: 11px
}

.contact-form .button {
    margin-top: 18px
}

.contact-form .button,
.application-form .button {
    font-size: 13px;
    padding: 11px 16px
}

.form-status {
    font-size: 13px;
    color: var(--green);
    margin: 12px 0 0;
    min-height: 20px
}

footer {
    background: #173c32;
    color: #e2ede7;
    padding: 28px 0
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.footer-brand {
    font-size: 13px;
    font-weight: 700
}

.footer-brand small {
    display: block;
    color: #a8c0b4;
    font-size: 11px;
    font-weight: 400
}

.footer-row>span {
    font-size: 11px;
    color: #a8c0b4
}

dialog {
    width: min(740px, calc(100% - 28px));
    max-height: 90vh;
    border: 0;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 25px 100px #0d211aaa;
    color: var(--ink)
}

dialog::backdrop {
    background: #10251dcc;
    backdrop-filter: blur(3px)
}

.modal-head {
    padding: 25px 28px 18px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: white;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: start
}

.modal-head h2 {
    font-size: 25px;
    letter-spacing: -.04em;
    margin: 0
}

.modal-head p {
    font-size: 12px;
    color: var(--muted);
    margin: 5px 0 0
}

.close {
    border: 0;
    background: #edf4ef;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 21px;
    color: var(--green);
    cursor: pointer
}

.application-form {
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 22px 28px 28px
}

.form-section {
    grid-column: 1/-1;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    color: var(--green);
    margin: 4px 0 -6px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e7eeea
}

.checkbox-row {
    grid-column: 1/-1;
    display: flex;
    gap: 10px;
    align-items: start;
    color: var(--muted);
    font-size: 12px
}

.checkbox-row input {
    margin-top: 4px;
    accent-color: var(--green)
}

.submit-row {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 14px
}

.submit-row small {
    color: var(--muted);
    font-size: 11px
}

.application-form input[type=file] {
    padding: 8px
}

.required {
    color: #b45245
}

@media(max-width:760px) {
    .shell {
        width: min(100% - 32px, 600px)
    }

    header {
        height: 68px
    }

    .menu-btn {
        display: block
    }

    .links {
        display: none;
        position: absolute;
        top: 67px;
        left: 0;
        right: 0;
        background: var(--paper);
        padding: 18px 24px 22px;
        box-shadow: 0 15px 20px #17352f12;
        flex-direction: column;
        align-items: stretch;
        gap: 15px
    }

    .links.open {
        display: flex
    }

    .links .nav-apply {
        text-align: center
    }

    .hero {
        padding: 48px 0 45px
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px
    }

    .hero-art {
        min-height: 330px;
        max-width: 500px;
        margin: auto;
        width: 100%
    }

    .hero-copy {
        font-size: 16px
    }

    .stats-grid {
        padding: 12px 0;
        grid-template-columns: 1fr;
        gap: 0
    }

    .stat {
        padding: 12px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .stat:last-child {
        border: 0
    }

    .stat b {
        font-size: 18px
    }

    .content section,
    section.content {
        padding: 67px 0
    }

    .about-card {
        min-height: 245px
    }

    .career-head {
        align-items: start;
        flex-direction: column
    }

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

    .opening-info {
        align-items: start
    }

    .opening .button {
        width: 100%
    }

    .meta {
        flex-wrap: wrap;
        gap: 7px 12px
    }

    .contact-grid {
        gap: 28px
    }

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

    .field.full,
    .form-section,
    .checkbox-row,
    .submit-row {
        grid-column: 1
    }

    .footer-row {
        align-items: start;
        flex-direction: column
    }

    .contact-form {
        padding: 21px
    }

    .modal-head {
        padding: 20px
    }

    .application-form {
        padding: 18px 20px 23px
    }
}


/* Multi-page additions */
.page-intro {
    padding: 70px 0 36px
}

.page-intro h1 {
    font-size: clamp(40px, 5vw, 58px);
    margin: 14px 0
}

.page-intro p {
    color: var(--muted);
    max-width: 620px
}

.vacancy-notice {
    background: #eaf2ed;
    padding: 60px 0
}

.notice-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow)
}

.notice-card h3 {
    margin: 5px 0;
    font-size: 21px
}

.notice-card p {
    color: var(--muted);
    font-size: 13px;
    margin: 0
}

.feedback-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 50px;
    align-items: start
}

.feedback-form {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 26px
}

.job-details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px;
    margin-top: 22px
}

.job-details h3 {
    margin: 0 0 10px
}

.job-details p,
.job-details li {
    color: var(--muted);
    font-size: 14px
}

.job-details ul {
    padding-left: 20px
}

.job-details li {
    margin: 8px 0
}

.rating select {
    max-width: 170px
}

.opening .button:disabled,
.contact-form button:disabled,
.feedback-form button:disabled,
.application-form button:disabled {
    opacity: .65;
    cursor: wait
}

.flow-hidden {
    display: none !important
}

.account-intro {
    font-size: 13px;
    color: var(--muted);
    padding: 0 28px;
    margin: 18px 0 0
}

.application-form input[readonly] {
    background: #f2f6f3;
    color: #54665d
}

.links a[href="staff.html"] {
    font-size: 13px
}

@media(max-width:760px) {
    .page-intro {
        padding: 48px 0 24px
    }

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

    .notice-card .button {
        width: 100%
    }

    .feedback-wrap {
        grid-template-columns: 1fr;
        gap: 24px
    }
}

.capture-video {
    display: block;
    width: min(100%, 360px);
    aspect-ratio: 4/3;
    background: #14271f;
    border-radius: 12px;
    object-fit: cover
}

.capture-preview {
    display: block;
    max-width: 180px;
    max-height: 220px;
    object-fit: cover;
    margin-top: 10px;
    border: 1px solid var(--line);
    border-radius: 8px
}

.button-row {
    display: flex;
    gap: 10px;
    margin: 10px 0
}

.button.secondary {
    background: #e8efeb;
    color: #14271f
}