:root {
    color-scheme: light;
    --paper: #fbf1e5;
    --field: #fffaf4;
    --ink: #352a23;
    --muted: #786b60;
    --rule: #dfcdbc;
    --accent: #ffb51b;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(1264px, calc(100% - 64px));
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.site-header {
    min-height: 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--rule);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 17px;
}

.brand-mark {
    width: 44px;
    height: 48px;
    border: 1px solid var(--ink);
    display: grid;
    place-items: center;
    position: relative;
    font-family: var(--serif);
    font-size: 21px;
}

.brand-mark::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 12px;
    width: 18px;
    height: 1px;
    background: var(--accent);
}

.brand-name {
    font-family: var(--serif);
    font-size: 27px;
}

.header-note {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    text-transform: uppercase;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

main {
    flex: 1;
}

.intro {
    min-height: 323px;
    padding: 54px 0 55px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 384px;
    grid-template-rows: auto 1fr;
    column-gap: 72px;
    align-items: end;
    border-bottom: 1px solid var(--rule);
}

.eyebrow {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 27px;
    font-size: 11px;
    text-transform: uppercase;
}

.eyebrow-line {
    width: 32px;
    height: 2px;
    background: var(--accent);
}

h1,
h2,
p {
    margin: 0;
}

h1 {
    align-self: center;
    font-family: var(--serif);
    font-size: 80px;
    font-weight: 400;
    line-height: 1.06;
}

.intro-copy {
    align-self: center;
    padding: 8px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.intro-copy p + p {
    margin-top: 20px;
    color: var(--ink);
}

.contact {
    min-height: 403px;
    padding: 45px 0 47px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 680px);
    column-gap: 72px;
}

.contact-info h2 {
    font-family: var(--serif);
    font-size: 39px;
    font-weight: 400;
    line-height: 1.15;
}

.contact-description {
    max-width: 400px;
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    gap: 24px;
    margin-top: 31px;
}

.contact-detail {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 14px;
    align-items: start;
}

.contact-icon {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.contact-detail div {
    display: grid;
    gap: 7px;
}

.detail-label {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}

.detail-value {
    font-size: 14px;
}

.contact-form {
    display: grid;
    align-content: start;
    gap: 21px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: grid;
    gap: 9px;
    font-size: 12px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    border: 1px solid var(--rule);
    border-radius: 0;
    background: var(--field);
    color: var(--ink);
    font: 14px var(--sans);
}

.form-field input {
    height: 52px;
    padding: 0 15px;
}

.form-field textarea {
    min-height: 112px;
    padding: 15px;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #84776c;
    opacity: 1;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.form-submit-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.submit-button {
    width: 176px;
    min-height: 52px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    border: 0;
    background: var(--accent);
    color: #211a13;
    font: 500 14px var(--sans);
    cursor: pointer;
    transition: background-color 160ms ease;
}

.submit-button:hover {
    background: #f3a900;
}

.submit-button:focus-visible,
.header-note:focus-visible,
.brand:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 4px;
}

.submit-button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.form-note {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}

.site-footer {
    min-height: 121px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 27px;
    border-top: 1px solid var(--rule);
}

.footer-brand {
    font-family: var(--serif);
    font-size: 20px;
}

.footer-note {
    padding-top: 5px;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 1050px) {
    .page-shell {
        width: min(100% - 48px, 900px);
    }

    .intro {
        grid-template-columns: minmax(0, 1fr) 300px;
        column-gap: 36px;
    }

    h1 {
        font-size: 64px;
    }

    .contact {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        column-gap: 36px;
    }

    .contact-info h2 {
        font-size: 34px;
    }
}

@media (max-width: 700px) {
    .page-shell {
        width: calc(100% - 40px);
    }

    .site-header {
        min-height: 88px;
    }

    .brand {
        gap: 12px;
    }

    .brand-mark {
        width: 38px;
        height: 42px;
    }

    .brand-name {
        font-size: 22px;
    }

    .header-note {
        gap: 8px;
        font-size: 9px;
    }

    .intro {
        min-height: 0;
        padding: 43px 0 42px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 0;
    }

    .eyebrow {
        margin-bottom: 23px;
    }

    h1 {
        font-size: 56px;
        line-height: 1.02;
    }

    .desktop-break {
        display: none;
    }

    .intro-copy {
        max-width: 440px;
        padding: 25px 0 0;
        font-size: 15px;
    }

    .intro-copy p + p {
        margin-top: 12px;
    }

    .contact {
        min-height: 0;
        padding: 36px 0 40px;
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .contact-info h2 {
        font-size: 35px;
    }

    .contact-description {
        margin-top: 12px;
    }

    .contact-details {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        margin-top: 25px;
    }

    .contact-detail {
        grid-template-columns: 18px 1fr;
        gap: 9px;
    }

    .detail-value {
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .contact-form {
        gap: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-field input {
        height: 50px;
    }

    .form-field textarea {
        min-height: 126px;
    }

    .form-submit-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .submit-button {
        width: 100%;
    }

    .site-footer {
        min-height: 100px;
        gap: 16px;
    }

    .footer-brand {
        font-size: 18px;
    }

    .footer-note {
        max-width: 145px;
        text-align: right;
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .page-shell {
        width: calc(100% - 32px);
    }

    .brand-name {
        font-size: 19px;
    }

    .header-note {
        font-size: 8px;
    }

    h1 {
        font-size: 48px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}