:root {
    --ink: #262320;
    --ink-soft: #6b6459;
    --paper: #faf7f1;
    --paper-raised: #ffffff;
    --gold: #b8842a;
    --gold-deep: #8f651c;
    --gold-tint: #f3e6cb;
    --line: #e9e1d0;
    --radius: 12px;
    --shadow: 0 1px 2px rgba(38, 35, 32, .04), 0 14px 34px -18px rgba(38, 35, 32, .28);
    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    margin: 0 0 .5em;
    color: var(--ink);
}
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }

.eyebrow {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-deep);
    margin-bottom: .6em;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(250, 247, 241, .88);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 84px;
}
.brand-mark { height: 54px; width: auto; }

/* ---------- Hero ---------- */

.hero { padding: 6rem 0 5rem; }
.hero .eyebrow { font-size: 1.15rem; }
.hero-lede { max-width: 62ch; font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */

section { padding: 5.5rem 0; }
.section-alt { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section h2.text-center { margin-bottom: 3rem; }

/* ---------- Feature (På gång) ---------- */

.feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1rem;
}
.feature img { border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-body p { color: var(--ink-soft); }
@media (max-width: 860px) {
    .feature { grid-template-columns: 1fr; }
}

/* ---------- Project grid (Tidigare objekt) ---------- */

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.project-card-wide { grid-column: 1 / -1; }
.project-card-wide .project-body { display: flex; flex-direction: column; }

.project-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.project-card-wide {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
}
.project-card img { width: 100%; height: 260px; object-fit: cover; }
.project-card-wide img { height: 100%; min-height: 280px; }
.project-body { padding: 1.75rem 2rem; }
.project-body p { color: var(--ink-soft); }
.project-body .btn { margin-top: .5rem; }

@media (max-width: 860px) {
    .project-grid { grid-template-columns: 1fr; }
    .project-card-wide { grid-template-columns: 1fr; }
    .project-card-wide img { height: 220px; }
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    font-family: var(--font-body);
    font-weight: 600;
    padding: .8rem 1.6rem;
    border-radius: 100px;
    background: var(--gold);
    color: #fff !important;
    text-decoration: none !important;
    transition: background .15s ease, transform .15s ease;
    border: 1px solid transparent;
}
.btn:hover { background: var(--gold-deep); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: var(--gold-deep) !important;
    border-color: var(--gold-deep);
}
.btn-ghost:hover { background: var(--gold-deep); color: #fff !important; }

/* ---------- Contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

.info-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}
.info-card h3 { color: var(--gold-deep); font-size: 1.05rem; }
.info-card p { color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--gold-tint);
    border-top: 1px solid var(--line);
    margin-top: 0;
    color: var(--ink);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding: 4rem 24px 2.5rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-mark { height: 42px; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-soft); font-size: .92rem; max-width: 40ch; }

.site-footer h4 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-deep);
    margin-bottom: 1rem;
    font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; font-size: .92rem; color: var(--ink-soft); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--gold-deep); }

.footer-bottom {
    border-top: 1px solid rgba(38,35,32,.12);
    padding: 1.25rem 24px;
    font-size: .8rem;
    color: var(--ink-soft);
}
