/* =========================================================
   Abasmalas — editorial magazine theme
   Warm cream paper, deep burgundy, aged gold accent
   ========================================================= */

:root {
    --paper: #f7f1e6;
    --paper-dark: #efe6d3;
    --ink: #1c1a16;
    --ink-soft: #3c3a35;
    --ink-muted: #6e6b62;
    --line: #ddd2bb;
    --line-soft: #e6ddc8;
    --burgundy: #7a1f2b;
    --burgundy-deep: #5a141f;
    --gold: #c9a66b;
    --gold-soft: #e1c694;
    --forest: #4f6b4a;

    --accent: var(--burgundy);

    --font-serif: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(28, 26, 22, 0.06), 0 1px 2px rgba(28, 26, 22, 0.08);
    --shadow-md: 0 10px 30px rgba(28, 26, 22, 0.1), 0 2px 6px rgba(28, 26, 22, 0.06);
    --shadow-lg: 0 24px 60px rgba(28, 26, 22, 0.15), 0 4px 10px rgba(28, 26, 22, 0.06);

    --container: 1180px;

    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.015em;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* Subtle paper grain backdrop */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .5;
    background-image:
        radial-gradient(circle at 20% 15%, rgba(201,166,107,.08), transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(122,31,43,.06), transparent 45%);
}
header, main, footer, section { position: relative; z-index: 1; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 40px);
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; top: -40px; left: 16px;
    background: var(--burgundy); color: #fff;
    padding: 10px 14px; border-radius: 10px;
    z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* -------- Eyebrow / shared elements -------- */
.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .72rem;
    color: var(--ink-muted);
}
.eyebrow--accent { color: var(--accent); }
.eyebrow--on-image {
    color: #fff;
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(6px);
    padding: 6px 12px;
    border-radius: 999px;
}

.dot { margin-inline: 8px; color: var(--ink-muted); }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
    will-change: transform;
}
.button--primary {
    background: var(--burgundy);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.button--primary:hover { background: var(--burgundy-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.button--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.button--ghost:hover { background: var(--ink); color: var(--paper); }
.button--sm { padding: 9px 16px; font-size: .85rem; }

/* -------- Header -------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 241, 230, .85);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 18px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}
.brand__mark {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    color: var(--burgundy);
    background: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.015em;
}
.brand__tag {
    font-size: .72rem;
    color: var(--ink-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav { display: flex; align-items: center; }
.nav__toggle {
    display: none;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}
.nav__toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s; }

.nav__list {
    display: flex;
    gap: 6px;
    align-items: center;
}
.nav__list a {
    display: inline-block;
    padding: 10px 14px;
    font-weight: 500;
    font-size: .95rem;
    color: var(--ink-soft);
    text-decoration: none;
    border-radius: 10px;
    transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: var(--burgundy); background: rgba(122, 31, 43, .07); }
.nav__list a[aria-current="page"] { color: var(--burgundy); font-weight: 600; }
.nav__list a[aria-current="page"]::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: var(--burgundy);
    margin: 4px auto 0;
    border-radius: 2px;
}

/* -------- Hero -------- */
.hero {
    padding-block: clamp(50px, 8vw, 110px) 60px;
    color: var(--ink);
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top left, rgba(201,166,107,.22), transparent 45%),
        radial-gradient(ellipse at bottom right, rgba(122,31,43,.14), transparent 45%),
        linear-gradient(180deg, var(--paper), #fbf5e9);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: end;
}
@media (min-width: 900px) {
    .hero__inner { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 80px; }
}
.hero__text { max-width: 820px; }
.hero__title {
    font-size: clamp(2.6rem, 6.5vw, 5.3rem);
    font-weight: 500;
    margin-top: 18px;
    line-height: 1.02;
}
.hero__title-accent {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--burgundy);
}
.hero__lede {
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    color: var(--ink-soft);
    margin-top: 22px;
    max-width: 640px;
    line-height: 1.6;
}
.hero__cta {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-top: 32px;
}

.hero__meta {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-md);
}
.hero__meta-title {
    font-family: var(--font-sans);
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin: 0 0 18px;
    font-weight: 600;
}
.hero__cats li + li { margin-top: 6px; }
.hero__cats a {
    --accent: var(--burgundy);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .2s, transform .2s var(--ease);
}
.hero__cats a:hover {
    background: rgba(0,0,0,.03);
    transform: translateX(4px);
}
.hero__cats-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent);
}
.hero__cats-count {
    margin-left: auto;
    font-size: .8rem;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
}
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 80px; color: var(--paper); display: block; }

/* -------- Section heading -------- */
.section-head {
    display: flex;
    gap: 40px;
    align-items: end;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.section-head__title {
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    font-weight: 500;
    margin-top: 10px;
}
.section-head__title--sm {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    margin-bottom: 28px;
}
.section-head__title em { color: var(--burgundy); font-style: italic; font-weight: 400; }
.section-head__lede { color: var(--ink-muted); max-width: 440px; font-size: 1rem; }

/* -------- Featured card -------- */
.featured { padding-block: 60px 20px; }
.feature-card {
    --accent: var(--burgundy);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease), box-shadow .4s;
    border: 1px solid var(--line-soft);
}
@media (min-width: 850px) { .feature-card { grid-template-columns: 1.1fr 1fr; } }
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.feature-card__image {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 260px;
}
@media (min-width: 850px) { .feature-card__image { aspect-ratio: auto; min-height: 420px; } }
.feature-card__badge {
    position: absolute;
    top: 20px; left: 20px;
    background: var(--accent);
    color: #fff;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 600;
}
.feature-card__body {
    padding: clamp(28px, 4vw, 48px);
    display: flex; flex-direction: column; gap: 14px; justify-content: center;
}
.feature-card__title {
    font-size: clamp(1.7rem, 3.2vw, 2.5rem);
    font-weight: 500;
    line-height: 1.1;
}
.feature-card__excerpt {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.6;
}
.feature-card__meta {
    color: var(--ink-muted);
    font-size: .88rem;
    margin-top: 8px;
}

/* -------- Grid cards -------- */
.latest { padding-block: 60px 80px; }
.grid { display: grid; gap: 28px; }
.grid--cards {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
@media (min-width: 1000px) { .grid--cards { grid-template-columns: repeat(3, 1fr); } }
.grid--cards-lg { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }

.card {
    --accent: var(--burgundy);
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s;
    border: 1px solid var(--line-soft);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}
.card__media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.card__cat {
    display: inline-block;
    align-self: flex-start;
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: 4px 9px;
    border-radius: 6px;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    transition: background-color .2s;
}
.card__cat:hover { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.card__title {
    font-size: 1.3rem;
    line-height: 1.22;
    font-weight: 500;
    margin-top: 2px;
}
.card__title a {
    color: var(--ink);
    text-decoration: none;
    background-image: linear-gradient(var(--accent), var(--accent));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: background-size .35s var(--ease);
}
.card__title a:hover { background-size: 100% 2px; }
.card__subtitle {
    color: var(--ink-soft);
    font-style: italic;
    font-size: .95rem;
}
.card__excerpt {
    color: var(--ink-soft);
    font-size: .94rem;
    line-height: 1.55;
}
.card__meta {
    margin-top: auto;
    color: var(--ink-muted);
    font-size: .82rem;
    padding-top: 10px;
}

.card--lg .card__media { aspect-ratio: 3 / 2; }
.card--lg .card__title { font-size: 1.55rem; }
.card--lg .card__body { padding: 28px 30px 32px; }

/* -------- Pull quote -------- */
.pull-quote { padding-block: 40px 100px; }
.pull-quote figure {
    margin: 0;
    max-width: 880px;
    margin-inline: auto;
    text-align: center;
    padding: 50px 30px;
    position: relative;
}
.pull-quote blockquote {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    color: var(--ink);
}
.pull-quote figcaption {
    margin-top: 22px;
    color: var(--ink-muted);
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
}
.pull-quote figure::before, .pull-quote figure::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 60px; height: 1px;
    background: var(--line);
    transform: translateX(-50%);
}
.pull-quote figure::before { top: 0; }
.pull-quote figure::after { bottom: 0; }

/* -------- Article page -------- */
.article__hero {
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: flex-end;
    padding-block: 60px 50px;
    position: relative;
}
.article__hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 20%, rgba(28,26,22,.75) 100%);
    pointer-events: none;
}
.article__hero-inner { position: relative; z-index: 1; max-width: 900px; }
.article__title {
    color: #fff;
    font-size: clamp(2.2rem, 5.5vw, 4.2rem);
    font-weight: 500;
    margin-top: 16px;
    line-height: 1.05;
}
.article__subtitle {
    color: rgba(255,255,255,.9);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    margin-top: 16px;
    max-width: 680px;
    font-weight: 300;
}
.article__meta {
    margin-top: 22px;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
    letter-spacing: .05em;
}

.breadcrumbs {
    font-size: .85rem;
    color: inherit;
    opacity: .9;
    display: flex; gap: 10px; align-items: center;
}
.breadcrumbs a { color: inherit; text-decoration: none; opacity: .75; }
.breadcrumbs a:hover { opacity: 1; text-decoration: underline; }

.article__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-block: 70px 60px;
}
@media (min-width: 950px) {
    .article__body { grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr); gap: 80px; }
}

.article__content {
    max-width: 720px;
}
.article__content > * + * { margin-top: 24px; }
.article__h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 500;
    margin-top: 48px !important;
    padding-top: 10px;
    position: relative;
}
.article__h2::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--accent);
    border-radius: 3px;
}
.article__h3 {
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--accent);
    margin-top: 36px !important;
}
.article__p {
    font-size: 1.07rem;
    line-height: 1.75;
    color: var(--ink);
}
.article__p--lede {
    font-size: 1.22rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.6;
}
.article__p--lede::first-letter {
    font-family: var(--font-serif);
    font-size: 4.2em;
    font-weight: 500;
    float: left;
    line-height: .85;
    padding: 6px 12px 0 0;
    color: var(--accent);
}
.article__credit {
    margin-top: 40px;
    color: var(--ink-muted);
    font-size: .8rem;
    font-style: italic;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
}

.article__aside { align-self: start; position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
.aside-card {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}
.aside-card h3 {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .72rem;
    color: var(--ink-muted);
    margin-bottom: 10px;
}
.aside-card h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
}
.aside-card p { color: var(--ink-soft); font-size: .95rem; margin-bottom: 14px; }

.share { display: flex; flex-wrap: wrap; gap: 8px; }
.share a, .share button {
    appearance: none;
    background: var(--paper);
    border: 1px solid var(--line);
    padding: 10px 14px;
    border-radius: 999px;
    font-size: .85rem;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s;
}
.share a:hover, .share button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.related { padding-block: 40px 100px; }

/* -------- Category head -------- */
.category-head {
    --accent: var(--burgundy);
    padding: clamp(60px, 10vw, 110px) 0 40px;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, color-mix(in srgb, var(--accent) 60%, black) 0%, transparent 45%),
        linear-gradient(135deg, color-mix(in srgb, var(--accent) 95%, black 10%), color-mix(in srgb, var(--accent) 65%, black 30%));
    position: relative;
    overflow: hidden;
}
.category-head::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: .4;
    pointer-events: none;
}
.category-head__inner { position: relative; }
.category-head__title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    color: #fff;
    margin-top: 14px;
    font-weight: 500;
}
.category-head__lede {
    max-width: 640px;
    color: rgba(255,255,255,.92);
    margin-top: 18px;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.category-head__count {
    margin-top: 18px;
    font-size: .88rem;
    opacity: .8;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.category-head .breadcrumbs a { color: rgba(255,255,255,.75); }
.category-head .eyebrow--accent { color: #fff; opacity: .8; }
.category-head__wave {
    position: absolute; bottom: -1px; left: 0; width: 100%; height: 50px; color: var(--paper);
}

/* Category grid section padding */
.category-head + .container { padding-top: 60px; padding-bottom: 100px; }

.empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--ink-muted);
    font-style: italic;
}

/* -------- Page head (about / contact) -------- */
.page-head {
    padding: clamp(60px, 9vw, 110px) 0 30px;
    background: linear-gradient(180deg, rgba(201,166,107,.18), transparent);
}
.page-head__title {
    font-size: clamp(2.3rem, 5vw, 3.8rem);
    margin-top: 14px;
}
.page-head__lede {
    max-width: 680px;
    color: var(--ink-soft);
    margin-top: 18px;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
}

/* -------- Prose (About) -------- */
.prose {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr;
    padding-block: 30px 100px;
}
@media (min-width: 900px) {
    .prose { grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); gap: 70px; }
}
.prose__body { max-width: 720px; }
.prose__body > * + * { margin-top: 22px; }
.prose__body h2 {
    font-size: 1.7rem;
    margin-top: 44px !important;
    font-weight: 500;
}
.prose__body p { font-size: 1.05rem; line-height: 1.75; color: var(--ink-soft); }
.prose__body strong { color: var(--ink); }
.prose__lede {
    font-size: 1.22rem !important;
    color: var(--ink) !important;
    line-height: 1.6 !important;
}
.prose__list { padding-left: 22px; list-style: disc; }
.prose__list li { margin-top: 8px; color: var(--ink-soft); }
.prose__aside { display: flex; flex-direction: column; gap: 22px; align-self: start; position: sticky; top: 100px; }
.link-arrow {
    color: var(--burgundy);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-list a {
    --accent: var(--burgundy);
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
}
.cat-list a::before {
    content: "";
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent);
}
.cat-list a:hover { color: var(--accent); }

/* -------- Contact -------- */
.contact {
    display: grid;
    gap: 44px;
    grid-template-columns: 1fr;
    padding-block: 30px 100px;
}
@media (min-width: 900px) {
    .contact { grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr); gap: 60px; }
}
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__form {
    background: #fff;
    padding: clamp(28px, 4vw, 44px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
}
.contact__title { font-size: 1.6rem; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--ink-muted);
    margin-bottom: 6px;
    font-weight: 600;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--paper);
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--burgundy) 18%, transparent);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact__ok {
    margin-top: 14px;
    padding: 10px 14px;
    background: color-mix(in srgb, var(--forest) 15%, transparent);
    color: var(--forest);
    border-radius: 10px;
    font-weight: 500;
}

/* -------- 404 -------- */
.error-page {
    text-align: center;
    padding-block: 120px 160px;
}
.error-page__code {
    font-family: var(--font-serif);
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 300;
    color: var(--burgundy);
    opacity: .85;
    line-height: 1;
    display: block;
}
.error-page__title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-top: 14px;
}
.error-page__lede {
    color: var(--ink-soft);
    max-width: 500px;
    margin: 18px auto 32px;
}
.error-page__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* -------- Footer -------- */
.site-footer {
    background: #1c1a16;
    color: #d8d1bf;
    padding: 70px 0 30px;
    margin-top: 40px;
}
.site-footer__inner {
    display: grid;
    gap: 42px;
    grid-template-columns: 1fr;
}
@media (min-width: 720px) { .site-footer__inner { grid-template-columns: 1.4fr repeat(2, 1fr) 1.3fr; } }
.site-footer__brand {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: #f7f1e6;
    font-weight: 500;
    margin-bottom: 10px;
}
.site-footer__col p { color: #a39b85; font-size: .92rem; line-height: 1.6; }
.site-footer__col h4 {
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .75rem;
    color: #e4dcc6;
    margin-bottom: 14px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a {
    color: #c3bba7;
    text-decoration: none;
    font-size: .93rem;
    transition: color .2s;
}
.site-footer__col a:hover { color: var(--gold-soft); }

.signup { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.signup input {
    flex: 1 1 180px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #3b362b;
    background: #26231d;
    color: #f7f1e6;
    font-size: .92rem;
}
.signup input::placeholder { color: #7c7563; }
.signup input:focus { outline: none; border-color: var(--gold); }
.signup button {
    appearance: none;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--gold);
    color: #1c1a16;
    font-weight: 600;
    border: none;
    transition: background-color .2s;
}
.signup button:hover { background: var(--gold-soft); }
.signup small { display: block; width: 100%; color: var(--gold-soft); margin-top: 6px; }

.site-footer__bottom {
    margin-top: 50px;
    padding-top: 24px;
    border-top: 1px solid #2d2922;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
    color: #7c7563;
    font-size: .82rem;
}

/* -------- Responsive nav -------- */
@media (max-width: 820px) {
    .nav__toggle { display: inline-flex; }
    .nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(247, 241, 230, .98);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line-soft);
        flex-direction: column;
        padding: 12px 20px 20px;
        gap: 2px;
    }
    .nav__list.is-open { display: flex; }
    .nav__list a { display: block; padding: 12px 14px; }
}

/* reduce-motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}
