:root {
    color-scheme: light;
    --paper: #f3f5f0;
    --white: #fff;
    --sage-wash: #e5ece5;
    --sage-line: #cad7cb;
    --forest: #214837;
    --forest-deep: #18382b;
    --ink: #1c2b23;
    --muted: #526158;
    --muted-light: #d0ddd2;
    --signal: #d87453;
    --display: "Archivo", "Arial", sans-serif;
    --body: "Source Sans 3", "Arial", sans-serif;
    --content: 1180px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
    font-family: var(--body);
}

::selection {
    color: var(--white);
    background: var(--forest);
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

button,
input,
textarea {
    font-size: inherit;
}

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

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

.container {
    width: min(var(--content), calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    transform: translateY(-160%);
    color: var(--white);
    background: var(--forest-deep);
}

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

.topline {
    color: var(--white);
    background: var(--forest-deep);
    font-size: 14px;
}

.topline-inner,
.topline-contacts {
    display: flex;
    align-items: center;
}

.topline-inner {
    min-height: 38px;
    justify-content: space-between;
}

.topline-contacts {
    gap: 28px;
}

.topline a {
    text-decoration: none;
}

.topline a:hover {
    color: #d6e7d8;
}

.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    background: rgba(243, 245, 240, 0.97);
    border-bottom: 1px solid rgba(33, 72, 55, 0.15);
}

.header-inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.wordmark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.wordmark-logo {
    display: block;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    object-fit: contain;
}

.wordmark-name {
    display: grid;
    color: var(--ink);
    font-family: var(--display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.15;
}

.wordmark-name small {
    margin-top: 4px;
    color: var(--muted);
    font-family: var(--body);
    font-size: 12px;
    font-weight: 500;
}

.primary-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 15px;
}

.primary-navigation a {
    text-decoration: none;
}

.primary-navigation a:not(.nav-call):hover {
    color: var(--forest);
    text-decoration: underline;
}

.primary-navigation .nav-call {
    padding: 11px 15px;
    color: var(--white);
    background: var(--forest);
    font-weight: 600;
    transition: background 160ms ease, transform 160ms ease;
}

.primary-navigation .nav-call:hover,
.button-primary:hover {
    background: var(--forest-deep);
    transform: translateY(-1px);
}

.menu-toggle,
.header-call {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

.hero-grid {
    display: grid;
    min-height: 690px;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: center;
    gap: 9%;
    padding-block: 54px 66px;
}

.hero-copy {
    padding-block: 20px;
    animation: enter 620ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.location-line,
.record-date,
.timeline-date {
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: 0.02em;
}

.location-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 27px;
    color: var(--forest);
    font-family: var(--body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.location-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--signal);
}

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

h1,
h2,
h3 {
    font-family: var(--display);
}

.hero h1 {
    max-width: 680px;
    margin-bottom: 24px;
    color: var(--ink);
    font-size: 68px;
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: 0;
}

.hero h1 span {
    color: var(--forest);
}

.hero-lead {
    max-width: 540px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.5;
}

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

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.button-primary {
    color: var(--white);
    background: var(--forest);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--forest);
    font-weight: 600;
    text-decoration-color: var(--sage-line);
    text-decoration-thickness: 1px;
    text-underline-offset: 5px;
}

.text-link:hover {
    color: var(--forest-deep);
    text-decoration-color: var(--forest);
}

.text-link span {
    color: var(--signal);
    font-size: 18px;
}

.hero-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.hero-portrait {
    position: relative;
    width: 100%;
    max-width: 460px;
    justify-self: end;
    margin: 0;
    padding: 0 20px 20px 0;
    animation: enter 760ms 100ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.portrait-mat {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--sage-wash);
}

.portrait-mat::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(28, 43, 35, 0.12);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.portrait-mat img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 35%;
}

.hero-portrait::before {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 75%;
    border-radius: 28px;
    background: var(--sage-wash);
    content: "";
}

.hero-bottomline {
    height: 5px;
    background: var(--signal);
}

.record-strip {
    color: var(--white);
    background: var(--forest);
}

.record-grid {
    display: grid;
    min-height: 140px;
    grid-template-columns: 0.7fr repeat(3, 1fr);
    align-items: center;
    gap: 36px;
    padding-block: 28px;
}

.record-heading {
    padding-left: 14px;
    border-left: 3px solid var(--signal);
    color: var(--white);
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.record-item {
    display: grid;
    gap: 6px;
    padding-left: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.record-item > span:last-child {
    color: var(--white);
    font-family: var(--display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.record-date {
    color: #f2b49c;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.section {
    padding-block: 112px;
}

.practice-section {
    background: var(--sage-wash);
}

.practice-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 10%;
}

.section-intro h2,
.profile-heading h2,
.contact-copy h2 {
    margin-bottom: 22px;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
}

.section-intro > p:not(.section-index),
.profile-heading > p:not(.section-index) {
    max-width: 380px;
    margin-bottom: 27px;
    color: var(--muted);
    font-size: 18px;
}

.practice-list {
    border-top: 1px solid rgba(33, 72, 55, 0.35);
}

.practice-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 16px;
    align-items: start;
    padding: 24px 0 23px;
    border-bottom: 1px solid rgba(33, 72, 55, 0.25);
}

.row-number {
    padding-top: 2px;
    color: var(--forest);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
}

.practice-row h3 {
    margin-bottom: 7px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.practice-row p {
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.row-mark {
    width: 14px;
    height: 2px;
    margin-top: 8px;
    background: var(--signal);
}

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

.profile-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 10%;
}

.timeline {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--sage-line);
}

.timeline-entry {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--sage-line);
}

.timeline-date {
    padding-top: 3px;
    color: var(--forest);
    font-size: 12px;
}

.timeline-entry h3 {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 700;
}

.timeline-entry p {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.contact-section {
    padding-block: 112px;
    color: var(--white);
    background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 55%);
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 8%;
    align-items: center;
}

.contact-copy h2 {
    margin-bottom: 18px;
    font-size: 48px;
}

.contact-copy > p {
    margin-bottom: 32px;
    color: var(--muted-light);
    font-size: 18px;
}

.contact-phone {
    display: inline-grid;
    gap: 2px;
    color: var(--white);
    text-decoration: none;
}

.contact-phone-label {
    color: #f2b49c;
    font-size: 14px;
    font-weight: 600;
}

.contact-phone-number {
    font-family: var(--display);
    font-size: 34px;
    font-weight: 600;
    font-variant-numeric: lining-nums;
    line-height: 1.15;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
    transition: text-decoration-color 160ms ease;
}

.contact-phone:hover .contact-phone-number {
    text-decoration-color: #f2b49c;
}

.contact-details {
    display: grid;
    margin: 28px 0 0;
}

.contact-details div {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 16px;
    padding-block: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details div:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-details dt {
    color: var(--muted-light);
    font-size: 15px;
}

.contact-details dd {
    margin: 0;
    font-size: 17px;
    overflow-wrap: anywhere;
}

.contact-details a {
    color: var(--white);
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 3px;
}

.contact-details a:hover {
    text-decoration-color: var(--white);
}

.form-panel {
    padding: 40px;
    border-radius: 16px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 30px 60px -24px rgba(6, 20, 14, 0.55);
}

.form-panel h3 {
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 600;
}

.form-intro {
    max-width: 490px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 16px;
}

.field-group {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.field-group label {
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.field-optional {
    color: var(--muted);
    font-weight: 400;
}

.field-group input,
.field-group textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--sage-line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--paper);
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field-group input:hover,
.field-group textarea:hover {
    border-color: #a9bbac;
}

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

.field-group input:focus,
.field-group textarea:focus {
    border-color: var(--forest);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(33, 72, 55, 0.16);
}

.form-submit {
    width: 100%;
    margin-top: 8px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.form-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.form-status {
    min-height: 24px;
    margin: 14px 0 0;
    color: var(--forest);
    font-size: 15px;
    font-weight: 600;
}

.form-status:empty {
    display: none;
}

.form-status[data-state="error"] {
    color: #9e3d2c;
}

.site-footer {
    color: #d0ddd2;
    background: #102a20;
    font-size: 14px;
}

.footer-inner {
    display: flex;
    min-height: 84px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner p {
    margin: 0;
}

.footer-brand {
    color: var(--white);
    font-family: var(--display);
    font-weight: 600;
    text-decoration: none;
}

.footer-brand span {
    margin-left: 8px;
    color: #c4d5c7;
    font-family: var(--body);
    font-size: 13px;
    font-weight: 400;
}

@keyframes enter {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .hero-grid {
        min-height: 630px;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
        gap: 6%;
    }

    .hero h1 {
        font-size: 56px;
    }

    .portrait-mat {
        height: 440px;
    }

    .primary-navigation {
        gap: 20px;
    }

    .practice-layout,
    .profile-layout,
    .contact-layout {
        gap: 7%;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 73px;
    }

    .container {
        width: min(var(--content), calc(100% - 40px));
    }

    .topline-inner {
        min-height: 34px;
        justify-content: center;
    }

    .topline-inner > span {
        display: none;
    }

    .topline-contacts {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 13px;
    }

    .header-inner {
        min-height: 72px;
        gap: 10px;
    }

    .header-call {
        display: grid;
        width: 44px;
        height: 44px;
        margin-left: auto;
        place-items: center;
        border-radius: 2px;
        color: var(--white);
        background: var(--forest);
    }

    .header-call:active {
        background: var(--forest-deep);
    }

    .wordmark-logo {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        align-content: center;
        justify-items: center;
        gap: 6px;
        border: 1px solid var(--sage-line);
        border-radius: 2px;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--forest);
        transition: transform 160ms ease;
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .primary-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 20px 20px;
        border-bottom: 1px solid var(--sage-line);
        background: var(--paper);
    }

    .primary-navigation.is-open {
        display: grid;
    }

    .primary-navigation a {
        padding: 12px 4px;
        border-bottom: 1px solid var(--sage-line);
    }

    .primary-navigation .nav-call {
        margin-top: 12px;
        padding: 13px 14px;
        border: 0;
        text-align: center;
    }

    .hero-grid {
        min-height: unset;
        grid-template-columns: 1fr;
        gap: 38px;
        padding-block: 48px 52px;
    }

    .hero-copy {
        padding: 0;
    }

    .location-line {
        align-items: flex-start;
        margin-bottom: 22px;
        font-size: 14px;
    }

    .hero h1 {
        margin-bottom: 18px;
        font-size: 48px;
    }

    .hero-lead {
        margin-bottom: 24px;
        font-size: 18px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .hero-note {
        max-width: 320px;
    }

    .hero-portrait {
        width: min(100%, 440px);
        justify-self: start;
        padding-right: 15px;
        padding-bottom: 15px;
    }

    .portrait-mat {
        height: auto;
        aspect-ratio: 1 / 1.04;
    }

    .record-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 14px;
        padding-block: 25px;
    }

    .record-heading {
        grid-column: 1 / -1;
    }

    .record-item {
        min-height: 42px;
        padding-left: 12px;
    }

    .record-item > span:last-child {
        font-size: 17px;
    }

    .record-item:last-child {
        grid-column: 1 / -1;
    }

    .section {
        padding-block: 76px;
    }

    .practice-layout,
    .profile-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .section-intro h2,
    .profile-heading h2,
    .contact-copy h2 {
        font-size: 36px;
    }

    .section-intro > p:not(.section-index),
    .profile-heading > p:not(.section-index) {
        font-size: 17px;
    }

    .practice-row {
        grid-template-columns: 30px minmax(0, 1fr) 18px;
        gap: 10px;
        padding-block: 20px;
    }

    .practice-row h3 {
        font-size: 18px;
    }

    .practice-row p {
        font-size: 15px;
    }

    .timeline-entry {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding-block: 21px;
    }

    .timeline-entry h3 {
        font-size: 20px;
        font-weight: 700;
    }

    .timeline-entry p {
        font-size: 15px;
    }

    .contact-section {
        padding-block: 76px;
    }

    .contact-copy h2 {
        font-size: 42px;
    }

    .contact-details div {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .contact-phone-number {
        font-size: 28px;
    }

    .form-panel {
        padding: 28px 20px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        padding-block: 22px;
    }
}

@media (max-width: 380px) {
    .container {
        width: calc(100% - 32px);
    }

    .topline-contacts {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .button {
        width: 100%;
    }

    .timeline-entry {
        grid-template-columns: 88px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}