/* ===== ARTesy — shared styles for the About / Contact / Privacy pages =====
   Same ink-paper-gold palette as the gallery, in a calmer reading layout. */

:root {
    --ink: #191410;
    --ink-soft: #221b15;
    --paper: #efe7d8;
    --gold: #c9a24b;
    --line: rgba(239, 231, 216, .16);
    --muted: rgba(239, 231, 216, .66);
    --body: rgba(239, 231, 216, .88);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--ink);
    color: var(--paper);
    font-family: 'Jost', system-ui, -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 .4em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: 1.5rem; margin-top: 2.2em; }
h3 { font-size: 1.15rem; margin-top: 1.6em; }

p, li { color: var(--body); }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #e0c074; }

/* ---------- top bar ---------- */

.topbar {
    border-bottom: 1px solid var(--line);
    background: rgba(25, 20, 16, .9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--paper);
    text-decoration: none;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.3rem;
    letter-spacing: .02em;
}

.brand em { color: var(--gold); font-style: italic; }
.brand svg { width: 26px; height: 26px; }

.page-nav {
    margin-left: auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: .86rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.page-nav a { color: var(--muted); text-decoration: none; }
.page-nav a:hover, .page-nav a[aria-current="page"] { color: var(--gold); }

/* ---------- layout ---------- */

.wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 22px 90px;
}

.kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: .68rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.lede {
    font-size: 1.08rem;
    color: rgba(239, 231, 216, .8);
    max-width: 62ch;
    margin: 0 0 2.2em;
}

.hero-rule {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0 0 2.4em;
}

.muted { color: var(--muted); font-size: .9rem; }

/* ---------- cards ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 28px 0 10px;
}

.card {
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 20px 22px;
    background: rgba(239, 231, 216, .03);
}

.card h3 { margin: 0 0 .35em; font-size: 1.1rem; }
.card p { margin: 0; font-size: .94rem; color: var(--muted); }

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(300px, 1.15fr);
    gap: 44px;
    align-items: start;
}

@media (max-width: 760px) {
    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

.contact-rows { margin: 26px 0 24px; display: grid; gap: 16px; }

.contact-row { border-top: 1px solid var(--line); padding-top: 12px; }
.contact-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: .64rem;
    color: var(--gold);
    margin-bottom: 3px;
}

.form-field { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
}

label {
    display: block;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

input, select, textarea {
    width: 100%;
    background: rgba(239, 231, 216, .04);
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--paper);
    font-family: inherit;
    font-size: .95rem;
    font-weight: 300;
    padding: 11px 13px;
    transition: border-color .2s ease, background .2s ease;
}

input::placeholder, textarea::placeholder { color: rgba(239, 231, 216, .34); }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(201, 162, 75, .6);
    background: rgba(239, 231, 216, .07);
}

textarea { resize: vertical; min-height: 130px; }

select option, select optgroup { background: var(--ink-soft); color: var(--paper); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #1a1409;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 14px 22px;
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.btn:hover { background: transparent; color: var(--gold); }
.btn:disabled { opacity: .6; cursor: progress; }

.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }

.form-status {
    display: none;
    margin: 14px 0 0;
    padding: 12px 14px;
    border-left: 2px solid var(--gold);
    background: rgba(201, 162, 75, .08);
    font-size: .9rem;
}

.form-status.show { display: block; }
.form-status.error { border-left-color: #d98270; background: rgba(217, 130, 112, .1); }

/* ---------- footer ---------- */

.page-footer {
    border-top: 1px solid var(--line);
    padding: 30px 22px 44px;
}

.page-footer-inner {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    font-size: .84rem;
    color: var(--muted);
}

.page-footer a { color: var(--muted); text-decoration: none; }
.page-footer a:hover { color: var(--gold); }
