:root {
    --ink: #1a1a1a;
    --paper: #faf9f7;
    --warm-gray: #5a5550;
    --light-gray: #8a8580;
    --accent: #7a6a55;
    --border: #e5e0da;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 300;
    background: var(--paper);
    color: var(--ink);
    line-height: 1.75;
    min-height: 100vh;
}

.container {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero */
.hero {
    padding: 6rem 0 3.5rem;
    text-align: center;
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--warm-gray);
    max-width: 480px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

/* Content */
.content {
    padding: 2.5rem 0 3.5rem;
}

p {
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

.section {
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.section:nth-child(1) { animation-delay: 0.7s; }
.section:nth-child(2) { animation-delay: 0.85s; }
.section:nth-child(3) { animation-delay: 1s; }

.section-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* Divider */
.divider {
    width: 40px;
    height: 1px;
    background: var(--border);
    margin: 3rem auto;
    opacity: 0;
    animation: fadeIn 0.8s ease 1.1s forwards;
}

/* Form section */
.form-section {
    padding: 3rem 0 4rem;
    border-top: 1px solid var(--border);
}

.form-intro {
    text-align: center;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.2s forwards;
}

.form-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--ink);
}

.form-intro p {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin: 0;
}

form {
    max-width: 440px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeUp 0.8s ease 1.35s forwards;
}

.form-group {
    margin-bottom: 1.35rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 0.4rem;
    color: var(--ink);
}

.optional {
    color: var(--light-gray);
    font-weight: 300;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--border);
    background: white;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--ink);
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
}

input::placeholder, textarea::placeholder {
    color: #b5b0aa;
}

textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%238a8580' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.25rem;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.15rem;
    accent-color: var(--accent);
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.45;
    cursor: pointer;
}

button {
    display: block;
    width: 100%;
    padding: 0.9rem 1.5rem;
    margin-top: 1.75rem;
    background: var(--ink);
    color: var(--paper);
    border: none;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: var(--accent);
}

.privacy-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--light-gray);
}

/* Thank you */
.thank-you {
    display: none;
    text-align: center;
    padding: 2rem;
}

.thank-you.show {
    display: block;
    animation: fadeIn 0.6s ease;
}

.thank-you h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.thank-you p {
    color: var(--warm-gray);
    font-size: 0.95rem;
}

/* Footer */
footer {
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.collective {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.collective-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--light-gray);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.collective-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.collective-links a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.collective-links a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.collective-links .separator {
    color: var(--border);
    user-select: none;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--light-gray);
    margin-bottom: 0.75rem;
}

.footer-text a {
    color: var(--accent);
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}

.research-badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--border);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--light-gray);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 600px) {
    html { font-size: 16px; }
    h1 { font-size: 2.2rem; }
    .hero { padding: 4rem 0 2.5rem; }
    .content { padding: 2rem 0 3rem; }
    .form-section { padding: 2.5rem 0 3rem; }
}
