/* Public inquiry pages (inquiry.html, inquiry_thanks.html).
   Sage accent matches the GS logo; warm neutrals match the CRM palette. */

:root {
    --inq-bg: #F7FAF8;
    --inq-card: #FFFFFF;
    --inq-text: #1F2A26;
    --inq-muted: #5F6B66;
    --inq-border: #E1EBE6;
    --inq-border-strong: #CFDDD6;
    --inq-accent: #519B7D;
    --inq-accent-dark: #3F7F65;
    --inq-accent-soft: #EAF3EE;
    --inq-error: #B4483C;
    --inq-error-soft: #FBEFEC;
    --inq-radius: 10px;
}

body.public-page {
    background:
        radial-gradient(1200px 500px at 50% -120px, var(--inq-accent-soft), transparent 70%),
        var(--inq-bg);
    color: var(--inq-text);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-main {
    flex: 1;
    width: 100%;
    padding: 48px 16px 24px;
}

.public-footer {
    text-align: center;
    font-size: 12px;
    color: var(--inq-muted);
    padding: 16px 16px 32px;
    letter-spacing: .02em;
}

/* ---- Card ---- */
.inq-card {
    max-width: 700px;
    margin: 0 auto;
    background: var(--inq-card);
    border: 1px solid var(--inq-border);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(43, 43, 43, .04), 0 12px 40px rgba(43, 43, 43, .06);
    padding: 48px 56px 44px;
}

.inq-card--thanks { max-width: 560px; }

@media (max-width: 575.98px) {
    .public-main { padding-top: 20px; }
    .inq-card { padding: 32px 22px 28px; border-radius: 14px; }
}

/* ---- Header ---- */
.inq-header { text-align: center; margin-bottom: 32px; }

.inq-logo {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 18px;
}

.inq-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--inq-accent);
    margin-bottom: 8px;
}

.inq-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: clamp(30px, 5vw, 38px);
    line-height: 1.15;
    color: var(--inq-text);
    margin-bottom: 12px;
}

.inq-intro {
    color: var(--inq-muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

/* ---- Sections ---- */
.inq-section {
    border-top: 1px solid var(--inq-border);
    padding-top: 24px;
    margin-bottom: 28px;
}

.inq-section-title {
    float: none;
    width: auto;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--inq-muted);
    margin-bottom: 16px;
}

/* ---- Fields ---- */
.inq-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--inq-text);
    margin-bottom: 6px;
}

.inq-optional {
    font-weight: 400;
    font-size: 12px;
    color: var(--inq-muted);
    margin-left: 4px;
}

.public-page .form-control,
.public-page .form-select {
    font-size: 15px;
    color: var(--inq-text);
    background-color: #F7FAF8;
    border: 1px solid var(--inq-border-strong);
    border-radius: var(--inq-radius);
    padding: 11px 14px;
    min-height: 46px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.public-page .form-select { padding-right: 40px; }
.public-page textarea.form-control { min-height: 120px; resize: vertical; line-height: 1.55; }

.public-page .form-control::placeholder { color: #A9A39C; }

.public-page .form-control:hover,
.public-page .form-select:hover { border-color: #C2BAB1; }

.public-page .form-control:focus,
.public-page .form-select:focus {
    background-color: #FFFFFF;
    border-color: var(--inq-accent);
    box-shadow: 0 0 0 4px rgba(81, 155, 125, .15);
    outline: none;
}

.inq-help { font-size: 12.5px; color: var(--inq-muted); margin-top: 6px; }

.has-error .form-control,
.has-error .form-select { border-color: var(--inq-error); background-color: #FFFFFF; }
.has-error .form-control:focus,
.has-error .form-select:focus { box-shadow: 0 0 0 4px rgba(180, 72, 60, .12); }
.inq-error { font-size: 13px; color: var(--inq-error); margin-top: 6px; }

.inq-alert {
    background: var(--inq-error-soft);
    color: var(--inq-error);
    border-radius: var(--inq-radius);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 24px;
}
.inq-alert ul { margin: 0; padding: 0; list-style: none; }

/* "Jane sent you our way" — arrived through a client's refer-a-friend link. */
.inq-referral {
    display: flex; align-items: center; gap: 10px;
    background: var(--inq-accent-soft, #EAF3EE);
    color: var(--inq-text, #1F2A26);
    border-radius: var(--inq-radius);
    padding: 12px 16px; font-size: 15px; margin: 0 0 24px;
}
.inq-referral svg { flex: none; color: var(--inq-accent-dark, #3F7F65); }

/* Honeypot: moved off-screen rather than display:none, which some bots check for. */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Submit ---- */
.inq-actions { text-align: center; padding-top: 4px; }

.inq-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #FFFFFF;
    background: var(--inq-accent);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(81, 155, 125, .28);
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
.inq-submit:hover { background: var(--inq-accent-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(63, 127, 101, .32); }
.inq-submit:focus-visible { outline: 3px solid rgba(81, 155, 125, .35); outline-offset: 3px; }
.inq-submit:disabled { opacity: .75; transform: none; cursor: default; }

@media (max-width: 575.98px) { .inq-submit { width: 100%; } }

.inq-privacy { font-size: 12.5px; color: var(--inq-muted); margin: 14px 0 0; }

/* ---- Thank-you page ---- */
.inq-check {
    width: 56px;
    height: 56px;
    margin: -4px auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--inq-accent);
    box-shadow: 0 0 0 8px var(--inq-accent-soft);
    animation: inq-pop .45s cubic-bezier(.2, .9, .3, 1.3) both;
}
@keyframes inq-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .inq-check { animation: none; } }

.inq-next { border-top: 1px solid var(--inq-border); padding-top: 24px; }
.inq-steps { list-style: none; padding: 0; margin: 0; }
.inq-steps li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    color: var(--inq-text);
    line-height: 1.55;
    padding: 8px 0;
}
.inq-step-num {
    flex: 0 0 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--inq-accent-soft);
    color: var(--inq-accent-dark);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

/* ---- Wedding show pages (/shows/<slug>/) ---- */
.inq-show-meta { font-size: 13.5px; color: var(--inq-muted); margin: -4px 0 14px; }

/* Show offer: an admission ticket. Forest card, champagne-foil amount,
   perforated tear-off stub. The notches are circles in the page-card colour. */
.ticket {
    --tk-bg: #1F4637;
    --tk-bg-2: #24513F;
    --tk-ink: #FBF8F1;
    --tk-muted: rgba(251, 248, 241, .74);
    --tk-gold: #C9A96A;
    --tk-gold-hi: #F1E2B8;
    --tk-notch: 22px;
    position: relative;
    margin: 0 0 32px;
    color: var(--tk-ink);
    background: radial-gradient(120% 90% at 0% 0%, var(--tk-bg-2), var(--tk-bg) 60%);
    border-radius: 14px;
    box-shadow: 0 14px 30px -18px rgba(31, 70, 55, .55);
    text-align: center;
}
.ticket::before {                       /* hairline foil frame inside the edge */
    content: "";
    position: absolute; inset: 7px;
    border: 1px solid rgba(201, 169, 106, .45);
    border-radius: 9px;
    pointer-events: none;
}
.ticket-main { padding: 26px 26px 20px; }
.ticket-kicker {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic; font-weight: 500;
    font-size: 19px; line-height: 1.2;
    color: var(--tk-gold);
    margin: 0 0 6px;
    text-wrap: balance;
}
.ticket-amount {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    font-size: clamp(46px, 13vw, 64px);
    line-height: .95;
    letter-spacing: -.01em;
    margin: 0;
    color: var(--tk-gold);
    background: linear-gradient(100deg, var(--tk-gold) 0%, var(--tk-gold) 40%, var(--tk-gold-hi) 50%, var(--tk-gold) 60%, var(--tk-gold) 100%);
    background-size: 250% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: ticket-foil 1.8s ease-out .5s 1 both;
}
.ticket-amount--long { font-size: clamp(28px, 7vw, 36px); line-height: 1.1; }
@keyframes ticket-foil { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.ticket-details {
    font-size: 15.5px; line-height: 1.45;
    color: var(--tk-ink);
    margin: 10px auto 0; max-width: 32ch;
    text-wrap: balance;
}
.ticket-stub {
    position: relative;
    padding: 16px 26px 22px;
    border-top: 2px dashed rgba(201, 169, 106, .55);
}
.ticket-stub::before, .ticket-stub::after {   /* the punched notches */
    content: "";
    position: absolute; top: calc(var(--tk-notch) / -2 - 1px);
    width: var(--tk-notch); height: var(--tk-notch);
    border-radius: 50%;
    background: var(--inq-card);
}
.ticket-stub::before { left: calc(var(--tk-notch) / -2); }
.ticket-stub::after { right: calc(var(--tk-notch) / -2); }
.ticket-stub-note { font-size: 13.5px; color: var(--tk-muted); margin: 0; text-wrap: balance; }
.ticket-stub-label {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-style: italic; font-size: 17px; color: var(--tk-gold);
    margin: 0 0 6px;
}
.ticket-code-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.ticket-code {
    font-size: 26px; font-weight: 600; letter-spacing: .14em;
    color: var(--tk-ink);
    padding: 6px 14px;
    border: 1px solid rgba(201, 169, 106, .6);
    border-radius: 8px;
    background: rgba(0, 0, 0, .14);
    user-select: all;
}
.ticket-copy {
    font: 600 14px/1 Inter, system-ui, sans-serif;
    color: var(--tk-bg);
    background: var(--tk-gold);
    border: 0; border-radius: 999px;
    padding: 11px 18px;
    cursor: pointer;
    transition: background-color .15s ease;
}
.ticket-copy:hover { background: var(--tk-gold-hi); }
.ticket-copy:focus-visible { outline: 3px solid var(--tk-gold-hi); outline-offset: 3px; }
.ticket-copy.is-copied { background: var(--tk-gold-hi); }
@media (prefers-reduced-motion: reduce) {
    .ticket-amount { animation: none; background-position: 0 0; }
}
@media (max-width: 575.98px) {
    .ticket-main { padding: 24px 20px 18px; }
    .ticket-stub { padding: 14px 20px 20px; }
}
