@charset "UTF-8";
:root {
    --ink:#23372e;
    --paper:#f8f6ef;
    --olive:#667145;
    --line:#d8ddcd;
    --muted:#58675e
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font:17px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}
a {
    color:inherit;
    text-underline-offset:5px
}
a:hover {
    color:var(--olive)
}
a:focus-visible {
    outline:3px solid #aa6d22;
    outline-offset:5px
}
.skip {
    position:absolute;
    top:-100px;
    left:16px;
    background:white;
    padding:10px;
    z-index:10
}
.skip:focus {
    top:8px
}
.preview {
    text-align:center;
    background:#e8ecdF;
    font-size:12px;
    padding:8px;
    letter-spacing:.05em
}
header,main,footer {
    max-width:1240px;
    margin:auto;
    padding-left:48px;
    padding-right:48px
}
header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:28px;
    padding-bottom:28px;
    border-bottom:1px solid var(--line);
    gap:30px
}
.wordmark {
    font:42px Georgia,serif;
    text-decoration:none;
    letter-spacing:.02em
}
.wordmark span {
    display:block;
    font:10px system-ui;
    letter-spacing:.14em;
    text-transform:uppercase;
    margin-top:8px
}
nav {
    display:flex;
    gap:26px;
    flex-wrap:wrap
}
nav a {
    text-decoration:none;
    font-size:14px
}
nav a[aria-current] {
    text-decoration:underline;
    font-weight:700
}
main {
    padding-bottom:64px
}
.hero {
    display:grid;
    grid-template-columns:1.35fr 1fr;
    gap:70px;
    align-items:center;
    padding:80px 0
}
.eyebrow {
    text-transform:uppercase;
    font-size:12px;
    letter-spacing:.18em;
    font-weight:700;
    color:var(--olive)
}
h1,h2 {
    font-family:Georgia,serif;
    line-height:1.12;
    font-weight:400;
    letter-spacing:-.025em
}
h1 {
    font-size:clamp(40px,5vw,68px);
    margin:18px 0 24px;
    max-width:780px
}
h2 {
    font-size:34px
}
h3 {
    font-size:21px;
    line-height:1.35
}
.lead {
    font-size:20px;
    color:var(--muted);
    max-width:740px
}
.actions {
    display:flex;
    gap:25px;
    align-items:center;
    flex-wrap:wrap;
    margin-top:32px
}
.button {
    display:inline-block;
    background:var(--ink);
    color:white;
    border-radius:4px;
    padding:13px 20px;
    text-decoration:none;
    font-size:14px;
    font-weight:650
}
.button:hover {
    background:var(--olive);
    color:white
}
.art {
    min-height:400px;
    max-width:440px;
    width:100%;
    justify-self:end;
    background:transparent url("andalusian-arch.svg") center/100% 100% no-repeat;
    padding:68px 60px 44px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center
}
.art span[lang] {
    font:86px Georgia,serif;
    color:var(--olive)
}
.art-line {
    height:1px;
    width:70px;
    background:var(--olive);
    margin:24px
}
.art small {
    font-size:12px;
    margin-top:14px;
    color:var(--muted)
}
section {
    margin-bottom:42px
}
.grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px
}
.grid.two {
    grid-template-columns:repeat(2,1fr)
}
article,.heritage {
    background:#fffefa;
    border:1px solid var(--line);
    border-radius:8px;
    padding:28px
}
article h2 {
    font-size:30px
}
article p {
    color:var(--muted)
}
article>a {
    display:inline-block;
    margin-top:12px
}
.number {
    font:14px Georgia;
    color:var(--olive)
}
.intro {
    padding:60px 0 24px
}
.story-layout {
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:55px;
    align-items:start
}
.story-layout section h2 {
    margin-top:35px
}
.heritage img {
    max-width:100%;
    height:auto
}
.note {
    padding:32px;
    background:#e8ecdf;
    border-radius:8px;
    margin-top:36px
}
.small {
    font-size:13px;
    color:var(--muted)
}
footer {
    padding-top:32px;
    padding-bottom:32px;
    border-top:1px solid var(--line);
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px
}
footer strong {
    font:30px Georgia
}
footer p {
    font-size:14px;
    max-width:380px
}
footer>.small {
    grid-column:1/-1
}
footer nav {
    align-content:start
}
@media(max-width:760px) {
    header,main,footer {
        padding-left:22px;
        padding-right:22px
    }
    header {
        align-items:start;
        flex-direction:column;
        gap:20px
    }
    nav {
        gap:15px
    }
    .hero {
        grid-template-columns:1fr;
        gap:25px;
        padding:38px 0
    }
    .art {
        min-height:340px;
        max-width:400px;
        width:100%;
        justify-self:center;
        padding:60px 46px 35px
    }
    .art span[lang] {
        font-size:65px
    }
    .grid,.grid.two,.story-layout,footer {
        grid-template-columns:1fr
    }
    .intro {
        padding-top:36px
    }
    article {
        padding:24px
    }
    h2 {
        font-size:29px
    }

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

}
