/* ============================================================
   SPACEHOLDERS · interview flow, digital print treatment
   ============================================================ */

.iv-main {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vh, 4.5rem) clamp(1.25rem, 4vw, 2rem) 5rem;
}

.iv-hero { text-align: left; margin-bottom: 2.5rem; }

.iv-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 6vw, 4rem);
    line-height: 1.05;
    color: var(--ink);
    margin: 0.9rem 0 1.1rem;
}

.iv-title em { font-style: italic; font-weight: 400; color: var(--accent); }

.iv-lede {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 52ch;
}

/* ── Banners ─────────────────────────────────────────────── */
.iv-invite[hidden], .iv-draft[hidden] { display: none; }

.iv-invite, .iv-draft {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.2rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    border: 1px solid var(--ink);
}

.iv-invite { background: var(--ink); color: var(--paper); }
.iv-invite-mark { color: var(--accent-soft); font-size: 1.1rem; }

.iv-draft { background: var(--paper-deep); color: var(--ink-soft); justify-content: space-between; }

.link-button {
    background: none;
    border: none;
    color: var(--accent);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Shell ───────────────────────────────────────────────── */
.iv-shell {
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.6);
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.iv-progress {
    height: 2px;
    background: var(--line);
    margin-bottom: 1rem;
}

.iv-progress-bar {
    height: 100%;
    width: 4%;
    background: var(--accent);
    transition: width 0.6s var(--ease);
}

.iv-step-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 1.75rem;
}

.iv-question {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.5rem, 3.4vw, 2.1rem);
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

.iv-instruction {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    color: var(--ink-faint);
    margin-bottom: 1.5rem;
}

/* ── Options ─────────────────────────────────────────────── */
.iv-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
}

.iv-option {
    padding: 1.05rem 1.2rem;
    border: 1px solid var(--line);
    background: transparent;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.08rem;
    line-height: 1.5;
    color: var(--ink-soft);
    transition: all 0.35s var(--ease);
}

.iv-option:hover {
    border-color: var(--ink);
    background: rgba(255, 253, 248, 0.9);
}

.iv-option.selected {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.iv-options.has-selection .iv-option:not(.selected) {
    opacity: 0.4;
    filter: grayscale(0.6);
}

.iv-options.has-selection .iv-option:not(.selected):hover {
    opacity: 1;
    filter: none;
}

/* ── Answer field ────────────────────────────────────────── */
.iv-answer-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 0.5rem;
}

.iv-textarea, .iv-input {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.1rem;
    font-family: var(--font-serif);
    font-size: 1.12rem;
    line-height: 1.65;
    color: var(--ink);
    background: #FFFDF8;
    border: 1px solid var(--ink);
    outline: none;
    resize: vertical;
}

.iv-textarea { min-height: 150px; }
.iv-textarea:focus, .iv-input:focus { border-color: var(--accent); }
.iv-textarea::placeholder, .iv-input::placeholder { color: var(--ink-faint); font-style: italic; }

/* ── Photos ──────────────────────────────────────────────── */
.iv-dropzone {
    border: 1px dashed var(--ink-faint);
    padding: 2.2rem 1.5rem;
    text-align: center;
    color: var(--ink-faint);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    margin-bottom: 1.1rem;
}

.iv-dropzone:hover, .iv-dropzone.drag { border-color: var(--accent); color: var(--accent); }

.iv-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.9rem;
    margin-bottom: 1.1rem;
}

.iv-photo-thumb { margin: 0; }

.iv-photo-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.02);
    border: 1px solid var(--line);
}

.iv-photo-thumb-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.iv-photo-role {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    color: var(--ink-soft);
    background: transparent;
    border: 1px solid var(--line);
    padding: 0.25rem 0.4rem;
}

.iv-photo-remove {
    background: none;
    border: none;
    color: var(--ink-faint);
    font-size: 0.72rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.iv-photo-remove:hover { color: var(--accent); }

.iv-photo-error { color: var(--accent); font-size: 0.85rem; margin-top: 0.4rem; }

.iv-photo-note {
    font-size: 0.82rem;
    color: var(--ink-faint);
    font-style: italic;
}

/* ── Info + review ───────────────────────────────────────── */
.iv-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 1.75rem;
}

.iv-info-grid .full { grid-column: 1 / -1; }

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

.iv-review { border-top: 1px solid var(--line); }

.iv-review-item { padding: 1.1rem 0; border-bottom: 1px solid var(--line); position: relative; }

.iv-review-q {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.iv-review-direction {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.98rem;
    color: var(--ink-faint);
    margin-top: 0.35rem;
}

.iv-review-a {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    color: var(--ink);
    margin-top: 0.45rem;
    white-space: pre-wrap;
}

.iv-review-a.empty { color: var(--ink-faint); font-style: italic; }

.iv-review-edit {
    position: absolute;
    top: 1.1rem;
    right: 0;
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ── Account step ────────────────────────────────────────── */
.iv-auth { max-width: 460px; }

.iv-auth-google {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem;
    background: #FFFDF8;
    border: 1px solid var(--ink);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.35s var(--ease);
    margin-bottom: 1.1rem;
}

.iv-auth-google:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.iv-auth-google:disabled { opacity: 0.55; cursor: wait; }

.iv-auth-divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 1.1rem;
}

.iv-auth-divider::before, .iv-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}

.iv-auth .iv-input { margin-bottom: 0.8rem; font-family: var(--font-sans); font-size: 0.95rem; }

.iv-auth-submit {
    width: 100%;
    justify-content: center;
    margin-top: 0.4rem;
}

.iv-auth-submit:disabled { opacity: 0.55; cursor: wait; }

.iv-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 1.1rem 0 1.2rem;
    cursor: pointer;
}

.iv-consent input {
    margin-top: 0.25rem;
    accent-color: var(--accent);
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Flash when someone tries to submit without agreeing */
.iv-consent.attention {
    animation: consent-flash 1.6s ease;
    border-radius: 4px;
}

@keyframes consent-flash {
    0%, 55% { background: rgba(180, 85, 45, 0.14); box-shadow: 0 0 0 2px var(--accent); }
    100% { background: transparent; box-shadow: none; }
}

.iv-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.iv-auth-error {
    display: none;
    border: 1px solid var(--accent);
    background: rgba(180, 85, 45, 0.08);
    color: var(--accent);
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}

.iv-auth-error.show { display: block; }

.iv-auth-signedin {
    font-size: 0.88rem;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    background: var(--paper-deep);
    padding: 0.8rem 1rem;
    margin-bottom: 1.1rem;
}

/* ── Nav ─────────────────────────────────────────────────── */
.iv-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1.9rem;
    gap: 1rem;
}

.iv-nav .btn-ink.loading { opacity: 0.7; pointer-events: none; }
.iv-back:disabled { opacity: 0.35; pointer-events: none; }

.iv-skip { text-align: center; margin-top: 1rem; }

/* ── Success / error ─────────────────────────────────────── */
.iv-success-card {
    border: 1px solid var(--ink);
    background: #FFFDF8;
    padding: clamp(2rem, 5vw, 3.2rem);
    text-align: left;
}

.iv-success-card h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.7rem, 4vw, 2.4rem);
    color: var(--ink);
    margin: 0.8rem 0 1rem;
}

.iv-success-card p {
    font-family: var(--font-serif);
    font-size: 1.12rem;
    max-width: 52ch;
    margin-bottom: 1rem;
}

.iv-success-note { color: var(--ink-faint); font-size: 1rem !important; }
.iv-success-card .btn-ghost { margin-top: 0.8rem; }

.iv-error {
    border: 1px solid var(--accent);
    background: rgba(180, 85, 45, 0.08);
    color: var(--accent);
    padding: 1rem 1.2rem;
    margin-top: 1.2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.iv-auth-switch {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
}

/* Final step: currency picker */
.iv-cur {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.4rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-faint, #8A8171);
}

.iv-cur select {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.5)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%234A443B' stroke-width='1.5'/%3E%3C/svg%3E")
        no-repeat right 0.7rem center;
    border: 1px solid rgba(23, 20, 16, 0.3);
    padding: 0.45rem 2rem 0.45rem 0.9rem;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ink, #171410);
    cursor: pointer;
}

/* Final step: package cards */
.iv-tiers {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    margin: 1.6rem 0 0.6rem;
    align-items: stretch;
}

.iv-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.45);
    padding: 1.4rem;
}

.iv-tier.highlight { border: 2px solid var(--ink); }

.iv-tier-flag {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--paper);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    white-space: nowrap;
}

.iv-tier-name {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--ink);
}

.iv-tier-price {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.9rem;
    color: var(--ink);
    margin-top: 0.35rem;
}

.iv-tier ul {
    list-style: none;
    margin: 0.9rem 0 1.2rem;
    padding: 0;
    flex: 1;
}

.iv-tier li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.15rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.iv-tier li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0.55rem;
    font-size: 0.48rem;
    color: var(--accent);
}

.iv-tier .btn-ink { width: 100%; justify-content: center; }

.iv-tier-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--ink-faint);
}

.iv-tier-note a { color: var(--accent); }
