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

:root {
    --orange: #E8571A;
    --orange-light: #FF6B2B;
    --cream: #FAF8F4;
    --dark: #1C1A17;
    --mid: #6B6560;
    --border: rgba(28, 26, 23, 0.1);
}

html, body {
    height: 100%;
}

body {
    background-color: var(--cream);
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Grain overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 100;
    opacity: 0.4;
}

/* Decorative background circle */
body::after {
    content: '';
    position: fixed;
    top: -20vw;
    right: -20vw;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 87, 26, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Layout */
.wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Nav */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
    animation: fadeDown 0.8s ease both;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--orange);
}

.nav-contact {
    font-size: 0.85rem;
    color: var(--mid);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-contact:hover {
    color: var(--orange);
}

/* Hero */
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0 4rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease 0.1s both;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--orange);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--dark);
    max-width: 14ch;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease 0.2s both;
}

h1 span {
    color: var(--orange);
}

.description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--mid);
    line-height: 1.7;
    max-width: 48ch;
    margin-bottom: 3.5rem;
    animation: fadeUp 0.8s ease 0.3s both;
}

/* Form */
.form-wrap {
    animation: fadeUp 0.8s ease 0.4s both;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid);
    margin-bottom: 0.75rem;
}

.form-row {
    display: flex;
    gap: 0;
    max-width: 480px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 87, 26, 0.1);
}

input[type="email"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.9rem 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--dark);
    background: transparent;
}

input[type="email"]::placeholder {
    color: #BBB;
}

button[type="submit"] {
    border: none;
    background: var(--orange);
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

button[type="submit"]:hover {
    background: var(--orange-light);
}

.form-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--mid);
}

/* Stats row */
.stats {
    display: flex;
    gap: 3rem;
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s ease 0.5s both;
    flex-wrap: wrap;
}

.stat-item {}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-number span {
    color: var(--orange);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--mid);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Footer */
footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeUp 0.8s ease 0.6s both;
}

.footer-left {
    font-size: 0.8rem;
    color: var(--mid);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--mid);
}

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

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

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    display: inline-block;
    animation: pulse 2s ease infinite;
}

/* Decorative vertical line */
.vert-line {
    position: fixed;
    left: 3rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border) 20%, var(--border) 80%, transparent);
    z-index: 0;
    display: none;
}

@media (min-width: 900px) {
    .vert-line { display: block; }
}

/* Animations */
@keyframes fadeUp {
    from {
    opacity: 0;
    transform: translateY(20px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
    opacity: 0;
    transform: translateY(-10px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Success state */
.success-msg {
    display: none;
    font-size: 0.9rem;
    color: var(--orange);
    font-weight: 500;
    margin-top: 0.75rem;
}

/* Mobile */
@media (max-width: 600px) {
    .stats {
    gap: 2rem;
    }

    .form-row {
    flex-direction: column;
    border-radius: 4px;
    }

    button[type="submit"] {
    width: 100%;
    padding: 1rem;
    }

    footer {
    flex-direction: column;
    align-items: flex-start;
    }
}