/* San Antonio Wedding Advice — site stylesheet
 *
 * Hand-written on purpose. There is no node/npm on this server and the project
 * decision (2026-08-08) is that no build step runs in production, so this file is
 * served as a plain static asset by nginx and never passes through Vite.
 * Keep it dependency-free: no @import, no external fonts, no CDN.
 */

/* ── Design tokens ──────────────────────────────────────────────────────── */
:root {
    --ink:          #2b2724;
    --ink-soft:     #5d554e;
    --ink-faint:    #8c8179;
    --paper:        #fbf8f4;
    --paper-raised: #ffffff;
    --line:         #e7ded3;
    --accent:       #9c5c53;
    --accent-dark:  #7d463f;
    --accent-wash:  #f4ebe6;

    --font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
    --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --wrap:    68rem;
    --wrap-sm: 44rem;
    --radius:  10px;
    --shadow:  0 1px 2px rgba(43, 39, 36, .05), 0 6px 20px rgba(43, 39, 36, .06);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, svg { max-width: 100%; height: auto; display: block; }

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--ink);
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.1875rem; }

p + p, p + ul, ul + p, h2 + p, h3 + p { margin-top: .85rem; }
* + h2 { margin-top: 2.75rem; }
* + h3 { margin-top: 1.75rem; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-dark); }

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 3px;
}

.lede { font-size: 1.1875rem; color: var(--ink-soft); max-width: 42rem; }
.muted { color: var(--ink-soft); }
.small { font-size: .9375rem; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap--narrow { max-width: var(--wrap-sm); }
main { flex: 1 0 auto; }
section + section { margin-top: 3.5rem; }
.section-head { max-width: 42rem; margin-bottom: 1.5rem; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--ink);
    color: var(--paper);
    padding: .6rem 1rem;
    z-index: 100;
}
.skip-link:focus { left: .5rem; top: .5rem; color: var(--paper); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
    background: var(--paper-raised);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    padding-block: 1rem;
}
.brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.25;
}
.brand:hover { color: var(--accent); }
.brand__sub {
    display: block;
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; }
.nav a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: .9375rem;
    padding-block: .25rem;
    border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(180deg, var(--accent-wash) 0%, var(--paper) 100%);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}
.hero p { margin-top: 1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: .7rem 1.4rem;
    border-radius: var(--radius);
    font-size: .9375rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--paper-raised); }
.btn--ghost:hover { border-color: var(--ink-faint); color: var(--ink); }

/* ── Page header (interior pages) ───────────────────────────────────────── */
.page-head {
    padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
    border-bottom: 1px solid var(--line);
    background: var(--paper-raised);
}
.page-body { padding-block: 2.75rem; }

/* ── Cards & grids ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }

.card {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow);
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--ink-soft); font-size: .9375rem; }

.tile {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .8rem 1rem;
    font-size: .9375rem;
}
.tile__name { font-weight: 500; }
.tile__meta { display: block; font-size: .8125rem; color: var(--ink-faint); }

/* ── Status pill ────────────────────────────────────────────────────────── */
.pill {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: var(--accent-wash);
    color: var(--accent-dark);
    border: 1px solid #e6d5cd;
    vertical-align: middle;
}

/* ── Notice ─────────────────────────────────────────────────────────────── */
.notice {
    border-left: 3px solid var(--accent);
    background: var(--accent-wash);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1rem 1.25rem;
    font-size: .9375rem;
    color: var(--ink-soft);
}

/* ── Prose lists ────────────────────────────────────────────────────────── */
.prose ul { padding-left: 1.15rem; list-style: disc; }
.prose li + li { margin-top: .35rem; }
.prose li::marker { color: var(--ink-faint); }

/* ── Definition rows (contact) ──────────────────────────────────────────── */
.rows { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.row {
    display: grid;
    grid-template-columns: 11rem 1fr;
    gap: .25rem 1.5rem;
    padding-block: 1rem;
    border-bottom: 1px solid var(--line);
}
.row dt { font-weight: 500; }
.row dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 34rem) {
    .row { grid-template-columns: 1fr; }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--line);
    background: var(--paper-raised);
    padding-block: 2rem;
    font-size: .9rem;
    color: var(--ink-soft);
}
.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2rem;
    justify-content: space-between;
    align-items: baseline;
}
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--accent); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

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