:root {
    --cream: #faf6f0;
    --warm: #f3ece3;
    --gold: #b8945f;
    --green: #5a6b58;
    --text: #3d4038;
    --muted: #6b7268;
    --font-serif: "Libre Baskerville", Georgia, serif;
    --font-sans: "Source Sans 3", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

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

.skip-link {
    position: fixed;
    top: -100%;
    left: 1rem;
    z-index: 100;
    padding: 0.5rem 0.85rem;
    background: var(--green);
    color: var(--cream);
    font-size: 0.875rem;
    text-decoration: none;
}

.skip-link:focus { top: 1rem; }

.canvas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100dvh;
}

.canvas__visual {
    position: relative;
    overflow: hidden;
    background: var(--warm);
}

.canvas__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 55% 82%;
}

.canvas__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 82%, var(--cream) 100%);
    pointer-events: none;
}

.canvas__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.75rem;
    padding: clamp(2.5rem, 8vw, 5rem);
    background: var(--cream);
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.brand__logo {
    width: clamp(112px, 14vw, 152px);
    height: auto;
}

.brand h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.55rem, 2.8vw, 1.95rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.brand__location {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green);
}

.brand__location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.5rem;
    text-decoration: none;
    transition: color 0.3s;
}

.brand__location:hover {
    color: var(--gold);
}

.icon {
    flex-shrink: 0;
    color: var(--gold);
}

.brand__location .icon {
    width: 0.95rem;
    height: 0.95rem;
}

.links .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.quote {
    border: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-weight: 400;
    line-height: 1.55;
    color: var(--text);
}

.quote em {
    font-style: italic;
    font-weight: 500;
    color: var(--gold);
}

.links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.5rem;
}

.links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s;
}

.links a:hover { color: var(--gold); }

.canvas__visual picture {
    position: absolute;
    inset: 0;
}

@media (max-width: 768px) {
    .canvas {
        grid-template-columns: 1fr;
        grid-template-rows: 34vh auto;
    }

    .canvas__photo {
        object-position: 50% 80%;
    }

    .canvas__visual::after {
        background: linear-gradient(0deg, var(--cream) 8%, transparent 60%);
    }

    .canvas__content {
        align-items: center;
        text-align: center;
        padding: 2.5rem 1.5rem 3rem;
        gap: 1.5rem;
    }

    .brand {
        align-items: center;
    }

    .quote { max-width: none; }

    .links {
        justify-content: center;
    }
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100dvh;
    padding: 2.5rem 1.5rem;
    text-align: center;
    gap: 1.25rem;
}

.error-page__logo {
    width: clamp(96px, 18vw, 128px);
    height: auto;
}

.error-page__code {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 12vw, 5.5rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.06em;
    color: var(--gold);
}

.error-page h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.error-page__desc {
    max-width: 34ch;
    font-size: 1rem;
    line-height: 1.55;
    color: var(--muted);
}

.error-page__link {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: var(--green);
    transition: color 0.3s;
}

.error-page__link:hover {
    color: var(--gold);
}
