:root {
    --ink: #171713;
    --paper: #f5f1e8;
    --cream: #ebe3d3;
    --gold: #bc8a4b;
    --muted: #706c63;
    --white: #fffdf8;
    --line: rgba(23, 23, 19, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
    position: absolute;
    z-index: 10;
    width: 100%;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.18);
}
.site-header.solid { position: relative; color: var(--ink); border-color: var(--line); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { text-decoration: none; font: 700 23px/1 Georgia, serif; letter-spacing: .16em; text-transform: uppercase; }
.logo span { display: block; margin-top: 6px; color: var(--gold); font: 600 9px/1 Inter, sans-serif; letter-spacing: .38em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .07em; }
.menu-button { display: none; border: 0; background: transparent; color: inherit; font-size: 26px; cursor: pointer; }

.button {
    display: inline-flex; min-height: 50px; padding: 0 24px; align-items: center; justify-content: center;
    border: 1px solid var(--gold); background: var(--gold); color: var(--white); text-decoration: none;
    font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
    transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); background: #a8773d; }
.button.outline { color: inherit; background: transparent; border-color: currentColor; }
.button.danger { border-color: #84372f; background: #84372f; }
.button.danger:hover { background: #6e2923; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }

.hero {
    position: relative; min-height: 760px; display: grid; place-items: center; color: var(--white);
    background: linear-gradient(90deg, rgba(10,10,8,.9), rgba(10,10,8,.3)), url('https://images.unsplash.com/photo-1503951914875-452162b0f3f1?auto=format&fit=crop&w=2000&q=85') center/cover;
}
.hero-content { padding-top: 80px; }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.08; }
h1 { max-width: 720px; margin: 0; font-size: clamp(52px, 7vw, 92px); }
.hero-copy { max-width: 570px; margin: 26px 0 34px; color: rgba(255,255,255,.78); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.section { padding: 110px 0; }
.section.alt { background: var(--cream); }
.intro-grid, .split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.section h2 { margin: 0 0 25px; font-size: clamp(38px, 5vw, 62px); }
.section-copy { color: var(--muted); }
.section-copy strong { color: var(--ink); }
.image-frame { position: relative; }
.image-frame::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); z-index: 0; }
.image-frame img { position: relative; z-index: 1; width: 100%; height: 580px; object-fit: cover; filter: saturate(.7); }

.services-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 52px; }
.services-heading h2 { max-width: 550px; margin-bottom: 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { padding: 45px 36px; background: var(--paper); }
.service-number { color: var(--gold); font: 700 11px Inter, sans-serif; letter-spacing: .18em; }
.service-card h3 { margin: 42px 0 14px; font-size: 29px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

.experience { background: var(--ink); color: var(--white); }
.experience .section-copy { color: #aaa79f; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.stat { padding: 25px 18px 0 0; }
.stat strong { display: block; color: var(--gold); font: 38px Georgia, serif; }
.stat span { color: #aaa79f; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.experience img { width: 100%; height: 590px; object-fit: cover; opacity: .82; }

.cta { text-align: center; }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { max-width: 580px; margin: 0 auto 32px; color: var(--muted); }

.site-footer { padding: 65px 0 30px; color: #c6c2ba; background: #10100e; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; padding-bottom: 50px; }
.site-footer .logo { color: var(--white); }
.site-footer p, .site-footer a { color: #8f8c85; font-size: 13px; }
.site-footer h4 { margin-top: 0; color: var(--white); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.page-hero { padding: 85px 0 70px; background: var(--cream); }
.page-hero h1 { color: var(--ink); font-size: clamp(44px, 6vw, 70px); }
.page-hero p { max-width: 640px; color: var(--muted); }
.legal { max-width: 800px; padding: 70px 0 110px; }
.legal h2 { margin: 48px 0 10px; font-size: 28px; }
.legal p, .legal li { color: var(--muted); }
.legal .updated { font-size: 13px; }

.form-layout { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 1fr 1fr; }
.form-art { background: linear-gradient(rgba(15,15,12,.32),rgba(15,15,12,.6)), url('https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1200&q=85') center/cover; }
.form-side { display: grid; place-items: center; padding: 70px 30px; }
.form-card { width: min(460px, 100%); }
.form-card h1 { font-size: clamp(40px, 5vw, 58px); }
.form-card > p { color: var(--muted); }
.field { margin-top: 28px; }
.field label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid var(--line); outline: none; background: var(--white); font: inherit; }
.field input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(188,138,75,.13); }
.form-card button { width: 100%; margin-top: 20px; }
.form-message { display: none; margin-top: 20px; padding: 15px; font-size: 14px; }
.form-message.show { display: block; }
.form-message.success { color: #285b3a; background: #dfeddf; }
.form-message.error { color: #84372f; background: #f4dfda; }
.back-link { display: inline-block; margin-top: 24px; color: var(--muted); font-size: 13px; }
.confirmation { display: flex; align-items: flex-start; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.confirmation input { width: 17px; height: 17px; margin-top: 3px; accent-color: #84372f; }

@media (max-width: 780px) {
    .nav-links { display: none; position: absolute; top: 84px; left: 0; width: 100%; padding: 25px 20px; background: var(--ink); flex-direction: column; align-items: start; }
    .solid .nav-links { background: var(--paper); }
    .nav-links.open { display: flex; }
    .menu-button { display: block; }
    .hero { min-height: 690px; }
    .section { padding: 80px 0; }
    .intro-grid, .split, .form-layout { grid-template-columns: 1fr; }
    .image-frame img { height: 430px; }
    .service-grid { grid-template-columns: 1fr; }
    .services-heading { display: block; }
    .services-heading .button { margin-top: 25px; }
    .experience .split > div:first-child { order: 2; }
    .form-art { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; }
}
