@font-face {
    font-family: Avenir;
    src: url("./avenir-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
}
@font-face {
    font-family: "Avenir Next";
    src: url("./avenir-next-medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

:root {
    color-scheme: light;
    --burgundy: #841618;
    --ink: #28211e;
    --cream: #f7f2e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--burgundy); font-family: Avenir, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 7px; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; transform: translateY(-180%); padding: 12px 18px; background: white; }
.skip-link:focus { transform: translateY(0); }
.atelier { max-width: 1920px; margin-inline: auto; background: #fff; }
.hero { position: relative; isolation: isolate; aspect-ratio: 1.845; overflow: hidden; background: #dfcfb9; }
.hero-image { position: absolute; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.site-header { position: absolute; top: 3.4%; left: 50%; transform: translateX(-50%); }
.site-header a { display: block; }
.hero-copy { position: absolute; top: 31%; left: 6.4%; right: 52%; text-align: center; }
.brand { width: clamp(78px, 6.5vw, 125px); margin: 0 auto; }
h1 { margin: 0; font-family: "Avenir Next", Avenir, Arial, sans-serif; font-size: clamp(28px, 4.6vw, 88px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; }
h1 span { display: block; white-space: nowrap; }
.introduction { padding: clamp(30px, 3.8vw, 73px) 5% clamp(26px, 3.5vw, 67px); }
.introduction p { max-width: 1700px; margin: 0 0 clamp(15px, 1.5vw, 28px); font-size: clamp(16px, 1.69vw, 32px); line-height: 1.4; font-weight: 500; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; padding: 4px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); text-decoration: none; text-transform: uppercase; font-size: clamp(11px, 1.21vw, 23px); line-height: 1.3; }
.text-link::after { content: ""; width: .68em; height: .68em; border-right: 1px solid var(--burgundy); border-top: 1px solid var(--burgundy); transform: rotate(45deg); transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px) rotate(45deg); }
.text-link:hover { color: var(--burgundy); }
.possibilities { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; scroll-margin-top: 16px; }
.feature { position: relative; isolation: isolate; aspect-ratio: 1.57; overflow: hidden; background: #e4d7c4; }
.feature > img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.feature::after { position: absolute; z-index: -1; content: ""; inset: 50% 45% 0 0; background: linear-gradient(0deg, rgba(247,238,222,.38), transparent); pointer-events: none; }
.feature:hover > img { transform: scale(1.025); }
.feature-copy { position: absolute; bottom: 3.1%; left: 5%; right: 4%; }
.feature h2 { font-size: clamp(14px, 1.48vw, 28px); font-weight: 500; line-height: 1.15; margin: 0 0 clamp(10px, 1.6vw, 30px); }
.feature .text-link { font-size: clamp(10px, 1.1vw, 21px); }
.feature h2 span { display: block; }
dialog { color: var(--burgundy); background: var(--cream); border: 0; padding: 0; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 40px); box-shadow: 0 24px 100px #22150d40; }
dialog::backdrop { background: #20170f80; backdrop-filter: blur(5px); }
.dialog-content { padding: clamp(30px, 6vw, 64px); }
.close-dialog { position: absolute; right: 12px; top: 12px; border: 0; background: transparent; color: var(--burgundy); width: 44px; height: 44px; font-family: Arial, sans-serif; font-size: 30px; line-height: 1; }
.eyebrow { margin: 0 0 18px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
dialog h2 { margin: 0 0 22px; font-size: clamp(30px, 5vw, 44px); line-height: 1.12; font-weight: 500; letter-spacing: -.035em; }
dialog p:not(.eyebrow) { color: #51443b; line-height: 1.7; font-size: 16px; }
.email-address { display: block; font-size: clamp(15px, 3.9vw, 23px); overflow-wrap: anywhere; margin: 28px 0; text-underline-offset: 6px; }
.primary-link { display: inline-flex; align-items: center; gap: 18px; padding: 15px 22px; background: var(--burgundy); color: #fff; text-decoration: none; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.primary-link:hover { background: #651011; }
.primary-link:focus-visible { outline-offset: 4px; }
.dialog-divider { height: 1px; background: #84161825; margin: 28px 0; }
body:has(dialog[open]) { overflow: hidden; }
.site-footer { display: grid; grid-template-columns: 20% 23% 1fr; align-items: center; gap: 3%; max-width: 1920px; margin: 0 auto; padding: 2.8% 6.2%; background: #fff; border-top: 1px solid #e7e2da; font-family: "Avenir Next", Avenir, Arial, sans-serif; font-weight: 500; font-size: clamp(12px, 1.04vw, 20px); color: #232020; }
.footer-brand { display: block; width: 75%; max-width: 245px; }
.footer-contact { display: flex; flex-direction: column; line-height: 1.4; }
.footer-contact a { color: var(--burgundy); text-decoration: none; overflow-wrap: anywhere; }
.footer-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-socials { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-socials a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }
.footer-socials a:hover { color: var(--burgundy); }
.footer-socials img { flex: none; height: 20px; width: auto; max-width: 22px; }
@media (max-width: 1050px) {
    .site-footer { grid-template-columns: 22% 1fr; padding-block: 32px; gap: 18px 7%; font-size: 14px; }
    .footer-brand { grid-row: 1 / 3; width: 100%; max-width: 170px; }
    .footer-socials { justify-content: flex-start; flex-wrap: wrap; gap: 8px 24px; }
}
@media (max-width: 640px) {
    .hero { aspect-ratio: auto; height: min(760px, 105svh); min-height: 610px; max-height: 850px; }
    .hero-image { object-position: 66% bottom; height: 68%; top: 32%; object-fit: cover; }
    .hero::after { content: ""; position: absolute; z-index: -1; inset: 0 0 61%; background: linear-gradient(#e3d4c0 78%, #e3d4c000); }
    .site-header { top: 5%; }
    .hero-copy { top: 17%; left: 6%; right: 6%; }
    .brand { width: 102px; min-width: 0; }
    h1 { font-size: clamp(29px, 8.2vw, 47px); line-height: 1.06; letter-spacing: -.03em; }
    .introduction { padding: 32px 7% 29px; }
    .introduction p { font-size: 16px; line-height: 1.6; margin-bottom: 18px; }
    .text-link { font-size: 11px; min-height: 44px; }
    .possibilities { grid-template-columns: 1fr; gap: 3px; }
    .feature { aspect-ratio: 1.3; }
    .feature-copy { left: 6%; bottom: 5%; }
    .feature h2 { font-size: 17px; margin-bottom: 12px; }
    .feature .text-link { font-size: 11px; }
    .feature::after { inset: 50% 36% 0 0; background: linear-gradient(0deg, #f7eedeb3, transparent); }
    .site-footer { grid-template-columns: 1fr; gap: 24px; padding: 36px 7%; }
    .footer-brand { grid-row: auto; width: 125px; }
    .footer-socials { gap: 4px 24px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
