/* ---------- Self-hosted Cormorant SC (latin subset) ---------- */
@font-face {
    font-family: 'Cormorant SC';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/CormorantSC-SemiBold.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Cormorant SC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/CormorantSC-Bold.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #222;
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; }

/* ---------- Brand bar (used twice: top announcement + footer copyright) ---------- */
.brand-bar {
    background-color: #BF9DAA;
    color: #FFFFFF;
    text-align: center;
    font-family: "Cormorant SC", serif;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 10px;
    line-height: 1.5;
}
.brand-bar p { margin: 0; }
.brand-bar a { color: #FFFFFF; }

/* ---------- Header (white band: socials + logo) ---------- */
.site-header {
    background: #fff;
    padding: 18px 20px;
    border-bottom: 1px solid #E0E0E0;
}
.site-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}
.site-header__socials {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 9px;
}
.site-header__logo { justify-self: center; }
.site-header__logo img { max-width: 165px; width: 100%; }
.site-header__spacer { justify-self: end; }

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}
.social-icon svg {
    width: 14px;
    height: 14px;
    fill: #444;
    transition: fill 0.2s ease;
}
.social-icon:hover svg { fill: #BF9DAA; }

/* ---------- Page content ---------- */
.site-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}
.site-main h1 {
    font-family: "Cormorant SC", serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #222;
    text-align: center;
    margin: 0 0 0.6em;
    letter-spacing: 0.5px;
    line-height: 1.2;
}
.site-main h2 {
    font-family: "Cormorant SC", serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: #222;
    margin: 1.5em 0 0.5em;
    line-height: 1.25;
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
    .site-header__inner {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }
    .site-header__socials,
    .site-header__spacer { justify-self: center; }
    .site-header__logo img { max-width: 135px; }
    .site-main { padding: 40px 18px 60px; }
}

/* ---------- Campaign sections ---------- */
.campaign {
    margin: 0 0 1.5em;
}
.campaign-separator {
    border: 0;
    border-top: 1px solid #E0E0E0;
    margin: 3em auto;
    max-width: 540px;
}
.campaign__lede {
    text-align: center;
    margin: 0 0 1.5em;
    color: #444;
}
.campaign__terms {
    text-align: center;
    margin: 1.5em auto 0;
    max-width: 720px;
    color: #777;
    font-size: 13px;
}
.campaign__hero {
    margin: 0 auto 1.5em;
    max-width: 720px;
    text-align: center;
}
.campaign__hero img {
    margin: 0 auto;
    border-radius: 6px;
}

/* ---------- Action grid (platform buttons) ---------- */
.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
    margin: 0 auto 1em;
    max-width: 760px;
}
.action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.05s;
}
.action:hover {
    border-color: #BF9DAA;
    text-decoration: none;
}
.action:active { transform: translateY(1px); }
.action__icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.action__icon img,
.action__icon svg {
    max-width: 100%;
    max-height: 100%;
}
.action__label {
    font-family: "Cormorant SC", serif;
    font-weight: 600;
    font-size: 17px;
}
.action__hint {
    display: block;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: normal;
    font-size: 12px;
    color: #777;
    margin-top: 2px;
}

/* ---------- Local form actions (mailing list / shared photo) ---------- */
.action-form {
    background: #fafafa;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 20px;
    max-width: 520px;
    margin: 0 auto 1em;
}
.action-form h3 {
    font-family: "Cormorant SC", serif;
    font-weight: 600;
    font-size: 22px;
    margin: 0 0 0.5em;
    text-align: center;
}
.action-form .field {
    margin: 0 0 12px;
}
.action-form label {
    display: block;
    font-size: 14px;
    color: #444;
    margin-bottom: 4px;
}
.action-form input[type="text"],
.action-form input[type="email"],
.action-form input[type="tel"],
.action-form input[type="file"],
.action-form textarea {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    background: #fff;
    color: #222;
}
.action-form .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #444;
}
.action-form .checkbox input { margin-top: 4px; }
.action-form button {
    background: #BF9DAA;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: "Cormorant SC", serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: pointer;
}
.action-form button:hover { background: #a98594; }
.action-form .errors {
    background: #fff5f5;
    border: 1px solid #f5cfcf;
    color: #883333;
    padding: 8px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 13px;
}
.action-form .success {
    background: #f1f8f1;
    border: 1px solid #cde8cd;
    color: #2e6f33;
    padding: 8px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 13px;
    text-align: center;
}

/* ---------- Rewards ---------- */
.rewards {
    background: #faf6f8;
    border: 1px solid #ead7df;
    border-radius: 8px;
    padding: 18px;
    margin: 0 auto 1em;
    max-width: 720px;
}
.rewards h3 {
    font-family: "Cormorant SC", serif;
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 0.5em;
    text-align: center;
    color: #5b3845;
}
.reward {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fff;
    border: 1px solid #ead7df;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 8px;
}
.reward__info { flex: 1 1 auto; }
.reward__label { font-weight: 600; }
.reward__value {
    font-family: "Cormorant SC", serif;
    font-weight: 700;
    font-size: 18px;
    color: #5b3845;
    margin-left: 8px;
}
.reward__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    background: #f6eef1;
    border: 1px dashed #d0b3bd;
    border-radius: 4px;
    padding: 4px 8px;
    margin-left: 8px;
}
.reward__copy {
    background: #BF9DAA;
    color: #fff;
    border: 0;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}
.reward__copy:hover { background: #a98594; }
.reward__copy[data-copied="1"] { background: #6f8b5d; }
.reward__expires { display: block; font-size: 12px; color: #777; margin-top: 2px; }

/* ---------- Gallery ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin: 0 auto;
    max-width: 1100px;
}
.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f0e7eb;
    aspect-ratio: 1 / 1;
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 12px;
    padding: 4px 6px;
    line-height: 1.25;
}
.gallery__pagination {
    margin: 1.5em auto 0;
    text-align: center;
}

