:root {
    color-scheme: light;
    --paper: #f9f1e9;
    --ink: #341a27;
    --muted: #634955;
    --berry: #873249;
    --berry-dark: #641f37;
    --line: #ddc9c7;
    --display: Georgia, "Times New Roman", serif;
    --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
}

a { color: inherit; }
a:focus-visible { outline: 2px solid var(--berry); outline-offset: 5px; }

.frame {
    width: min(100% - clamp(2.5rem, 10vw, 10rem), 82rem);
    margin-inline: auto;
}

.header, .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.header {
    min-height: 5.25rem;
    border-bottom: 1px solid var(--line);
}

.wordmark {
    font: 700 2.5rem/.9 var(--display);
    letter-spacing: -.085em;
    text-decoration: none;
}

.wordmark span { color: var(--berry); }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 2.75rem;
    font-size: .9rem;
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: .35em;
}

.nav-link:hover { color: var(--berry); }

.hero {
    display: grid;
    grid-template-columns: .96fr 1.04fr;
    align-items: center;
    gap: clamp(2rem, 5vw, 5.5rem);
    padding-block: clamp(2.75rem, 6vw, 6.75rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1.3rem;
    color: var(--berry);
    font-size: .75rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow-line {
    width: 1.65rem;
    height: 1px;
    background: currentColor;
}

h1, h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -.075em;
}

h1 { font-size: clamp(3rem, 6.55vw, 7rem); line-height: .99; }
h2 { font-size: clamp(2.5rem, 5.25vw, 5rem); line-height: 1.03; }
h1 em, h2 em { color: var(--berry); font-weight: inherit; }

.intro, .about-content > p:last-child {
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.18rem);
    line-height: 1.65;
}

.intro { max-width: 29ch; margin: 1.55rem 0 1.85rem; }

.button {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    padding: .9rem 1.25rem;
    border-radius: 999px;
    background: var(--berry-dark);
    color: #fff8f4;
    font-size: .88rem;
    font-weight: 680;
    text-decoration: none;
}

.button:hover { background: var(--ink); }
.arrow {
    position: relative;
    display: inline-block;
    width: .85rem;
    height: .85rem;
}

.arrow::before, .arrow::after {
    position: absolute;
    content: "";
}

.arrow::before {
    left: calc(50% - .75px);
    top: 10%;
    height: 73%;
    border-left: 1.5px solid currentColor;
}

.arrow::after {
    left: 50%;
    bottom: 17%;
    width: 50%;
    height: 50%;
    transform: translateX(-50%) rotate(45deg);
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
}

.arrow-down { transform: rotate(-35deg); }
.arrow-up { transform: rotate(180deg); }

.hero-picture {
    aspect-ratio: 1.05;
    margin: 0;
    overflow: hidden;
    border-radius: 42% 42% 1rem 1rem / 35% 35% 1rem 1rem;
    background: #4b3031;
}

.hero-picture img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

.about {
    padding-block: clamp(3.5rem, 8vw, 7rem);
    background: #f1deda;
    border-block: 1px solid var(--line);
    text-align: center;
}

.about .eyebrow { justify-content: center; }
.about-content > p:last-child { max-width: 44ch; margin: 1.5rem auto 0; }
.footer { min-height: 5.75rem; }
.footer-mark { font-size: 1.9rem; }

@media (max-width: 740px) {
    .header { min-height: 4.5rem; }
    .hero { grid-template-columns: 1fr; gap: 2.25rem; }
    h1 { font-size: clamp(3.25rem, 10.6vw, 5.4rem); }
    .hero-picture { aspect-ratio: 1.15; }
}
