:root {
    color-scheme: light;
    --paper: #f8f9fa;
    --surface: #ffffff;
    --ink: #1d3557;
    --muted: #46566b;
    --accent: #1d3557;
    --gold: #c5a059;
    --gold-dark: #79571f;
    --gold-soft: #e6dcc5;
    --line: #d8dce2;
    --serif: "Source Serif 4", Georgia, serif;
    --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
    background: var(--paper);
}

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

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

img {
    display: block;
    max-width: 100%;
}

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

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.16;
}

h1 {
    font-size: clamp(2.8rem, 5.2vw, 5rem);
    letter-spacing: -0.045em;
}

h2 {
    max-width: 760px;
    font-size: clamp(2.1rem, 3.6vw, 3.25rem);
    letter-spacing: -0.035em;
}

h3 {
    font-size: 1.55rem;
    letter-spacing: -0.02em;
}

p {
    color: var(--muted);
    font-weight: 400;
}

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

.site-header {
    position: sticky;
    z-index: 5;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

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

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.035em;
    text-decoration: none;
}

.brand span {
    color: var(--muted);
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.025em;
    text-decoration: none;
    transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--ink);
}

.nav-links .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid var(--gold);
    color: var(--ink);
}

.nav-cta svg {
    width: 14px;
    height: 14px;
    stroke-width: 1.5;
}

main > section:not(.hero-banner) {
    padding-block: clamp(72px, 9vw, 120px);
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 82px;
}

.hero-banner {
    position: relative;
    display: grid;
    min-height: clamp(250px, 34vw, 430px);
    place-items: center;
    overflow: hidden;
    background-color: var(--ink);
    background-image: url("images/hero-banner.jpg");
    background-position: center 52%;
    background-size: cover;
}

.hero-banner::before {
    position: absolute;
    inset: 0;
    background: rgb(18 34 57 / 24%);
    content: "";
}

.hero-banner-inner {
    position: relative;
    width: 100%;
    padding: 24px clamp(20px, 6vw, 90px);
    border-block: 1px solid var(--gold);
    background: rgb(29 53 87 / 96%);
    text-align: center;
}

.hero-banner h1 {
    color: var(--paper);
    font-size: clamp(2.2rem, 6.5vw, 5rem);
    font-weight: 400;
    letter-spacing: 0.015em;
}

.hero {
    padding-block: clamp(90px, 12vw, 156px) clamp(76px, 9vw, 112px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.65fr);
    align-items: end;
    gap: clamp(48px, 9vw, 132px);
}

.hero-copy {
    max-width: 760px;
}

.eyebrow,
.section-tag {
    color: var(--gold-dark);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 24px;
}

.hero-title {
    max-width: 760px;
    margin-bottom: 26px;
}

.hero-lead {
    max-width: 650px;
    font-family: var(--serif);
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 30px;
    margin-top: 36px;
}

.text-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid var(--gold);
    background: transparent;
    color: var(--accent);
    cursor: pointer;
    font: 500 0.86rem/1.4 var(--sans);
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
    border-color: var(--gold);
    color: var(--ink);
}

.text-link svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.5;
}

.text-link-muted {
    border-color: var(--line);
    color: var(--muted);
}

.hero-actions .text-link:first-child,
.submit-link {
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid var(--gold);
    background: var(--ink);
    color: var(--paper);
}

.hero-actions .text-link:first-child:hover,
.submit-link:hover {
    background: #29476d;
    color: #ffffff;
}

.hero-meta {
    display: grid;
    gap: 23px;
    padding: 25px;
    border: 1px solid var(--gold);
    background: #1d3557;
    color: #f8f9fa;
    font-style: normal;
}

.meta-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 13px;
    font-size: 0.78rem;
    line-height: 1.65;
}

.meta-item > svg {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    color: var(--gold);
    stroke-width: 1.5;
}

.meta-item strong,
.meta-item span,
.meta-item a {
    display: block;
}

.meta-item strong {
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meta-item a {
    color: #f1eee6;
    text-decoration: none;
}

.meta-item a:hover {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.section-header {
    display: grid;
    grid-template-columns: minmax(120px, 0.5fr) minmax(0, 1.5fr);
    gap: 28px;
    align-items: start;
    margin-bottom: clamp(36px, 5vw, 62px);
}

.section-tag {
    padding-top: 10px;
    color: var(--muted);
}

.section-tag span {
    padding-inline: 5px;
    color: var(--gold);
}

.prose {
    max-width: 720px;
    margin-left: min(25%, 220px);
}

.prose p,
.team-description,
.practice-item p,
.contact-copy > p:not(.section-tag) {
    font-weight: 450;
}

.prose p + p {
    margin-top: 17px;
}

.image-feature {
    width: min(100%, 760px);
    margin: clamp(42px, 6vw, 72px) 0 0 auto;
    overflow: hidden;
    border: 1px solid var(--gold-soft);
    background: var(--surface);
    box-shadow: 0 8px 24px rgb(29 53 87 / 6%);
}

.image-feature img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.principles-feature img {
    aspect-ratio: 4 / 3;
    object-position: center 43%;
}

.image-feature-caption {
    padding: clamp(20px, 3vw, 32px);
    border-top: 2px solid var(--gold);
}

.image-feature-caption h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.image-feature-caption p {
    max-width: 680px;
}

.consultation-feature {
    margin-top: clamp(36px, 5vw, 58px);
}

.profile-grid {
    display: grid;
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(38px, 7vw, 96px);
}

.profile-img-container img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--gold-soft);
    object-fit: cover;
}

.profile-copy {
    padding-top: 5px;
}

.profile-header {
    margin-bottom: 25px;
    padding-bottom: 23px;
    border-bottom: 1px solid var(--line);
}

.profile-header h3 {
    font-size: 2rem;
}

.profile-role {
    margin-top: 7px;
    color: var(--ink);
    font-size: 0.82rem;
}

.profile-copy .prose {
    margin-left: 0;
}

.credentials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.cred-block h4 {
    margin-bottom: 12px;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cred-list {
    margin: 0;
    padding: 0;
    color: var(--muted);
    font-size: 0.82rem;
    list-style: none;
}

.cred-list li {
    position: relative;
    padding-left: 14px;
}

.cred-list li + li {
    margin-top: 7px;
}

.cred-list li::before {
    position: absolute;
    left: 0;
    color: var(--gold-dark);
    content: "—";
}

.team-banner-wrapper {
    overflow: hidden;
    border: 1px solid var(--gold-soft);
    background: var(--surface);
}

.team-banner-wrapper img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.team-description {
    max-width: 720px;
    margin: 22px 0 0 auto;
}

.practice-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.practice-item {
    display: grid;
    grid-template-columns: 30px 24px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    min-width: 0;
    padding: 26px 24px 28px;
    border: 1px solid var(--gold-soft);
    border-top: 2px solid var(--gold);
    background: var(--surface);
    box-shadow: 0 5px 16px rgb(32 42 49 / 3%);
}

.practice-item > div {
    min-width: 0;
}

.practice-number {
    padding-top: 5px;
    color: #41494c;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.practice-item > svg {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    color: var(--gold-dark);
    stroke-width: 1.5;
}

.practice-item h3 {
    margin-bottom: 6px;
    font-size: 1.4rem;
}

.practice-item p {
    max-width: 690px;
    font-size: 0.88rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(48px, 10vw, 136px);
    align-items: start;
}

.contact-copy h2 {
    margin: 22px 0 18px;
}

.contact-copy > p:not(.section-tag) {
    max-width: 440px;
}

.contact-emails {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.contact-emails .contact-label {
    margin-bottom: 11px;
    color: var(--ink);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-emails p + p {
    margin-top: 7px;
}

.contact-emails a {
    color: var(--accent);
    font-size: 0.82rem;
    text-decoration: none;
}

.contact-emails a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-emails span {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
}

.contact-form {
    min-width: 0;
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--gold);
    background: #1d3557;
    box-shadow: 0 8px 24px rgb(29 53 87 / 12%);
}

.form-group {
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

label {
    display: block;
    margin-bottom: 7px;
    color: #f8f9fa;
    font-size: 0.76rem;
    font-weight: 500;
}

label span {
    color: #d7dfeb;
    font-weight: 400;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid rgb(197 160 89 / 65%);
    border-radius: 2px;
    background: rgb(255 255 255 / 5%);
    color: #ffffff;
    font: 400 0.86rem/1.5 var(--sans);
}

input::placeholder,
textarea::placeholder {
    color: #d7dfeb;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    outline: 2px solid rgb(197 160 89 / 35%);
    outline-offset: 2px;
}

select {
    cursor: pointer;
}

select option {
    background: #1d3557;
    color: #ffffff;
}

textarea {
    min-height: 112px;
    resize: vertical;
}

.submit-link {
    margin-top: 2px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #1d3557;
    font-weight: 600;
}

.submit-link:hover {
    border-color: #dfc17f;
    background: #dfc17f;
    color: #152943;
}

.site-footer {
    padding-block: 30px;
    border-top: 1px solid var(--gold);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.footer-inner .brand {
    font-size: 1rem;
}

.footer-inner p,
.footer-inner p a {
    color: var(--muted);
    font-size: 0.72rem;
    text-decoration: none;
}

.footer-inner p span {
    padding-inline: 5px;
    color: var(--gold-dark);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-social a {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--ink);
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--gold);
}

.footer-social svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.footer-social a[aria-label="Facebook"] svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    stroke: none;
}

.footer-social .icon-fill {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 800px) {
    .nav-inner {
        min-height: 76px;
        flex-wrap: wrap;
        justify-content: center;
        padding-block: 14px;
    }

    .nav-inner nav {
        width: 100%;
    }

    .nav-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .image-feature {
        margin-right: auto;
    }

    .hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
        padding: 22px;
    }

    .section-header {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .section-tag {
        padding-top: 0;
    }

    .prose {
        margin-left: 0;
    }

    .contact-grid {
        gap: 50px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(calc(100% - 40px), 1160px);
    }

    body {
        font-size: 14px;
    }

    .nav-inner {
        gap: 10px;
    }

    .nav-links {
        gap: 5px 13px;
    }

    .nav-links a {
        font-size: 0.72rem;
    }

    .hero-meta {
        grid-template-columns: 1fr;
        gap: 17px;
    }

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

    .contact-grid {
        gap: 36px;
    }

    .profile-img-container {
        max-width: 360px;
    }

    .image-feature img {
        aspect-ratio: 4 / 3;
    }

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

    .practice-item {
        grid-template-columns: 24px 20px minmax(0, 1fr);
        gap: 10px;
        padding: 22px 18px;
    }

    .practice-item h3 {
        font-size: 1.25rem;
    }

    .practice-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 22px 18px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

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

    .nav-links {
        column-gap: 10px;
    }

    .practice-item {
        grid-template-columns: 20px 18px minmax(0, 1fr);
        gap: 8px;
        padding-inline: 14px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding-block: 48px;
    }

    .hero-banner {
        min-height: 190px;
    }

    .hero-banner-inner {
        padding-block: 16px;
    }

    main > section {
        padding-block: 56px;
    }

    .hero-grid {
        align-items: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
