*, *::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);
    background-image:
        radial-gradient(ellipse 60% 40% at 85% 0%, rgba(232, 87, 26, 0.06), transparent 70%);
    background-attachment: fixed;
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    min-height: 100vh;
    overflow-x: hidden;
}


/* 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);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    position: relative;
    isolation: isolate;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--mid);
    text-decoration: none;
    letter-spacing: 0.01em;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    transition: transform 0.18s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(232, 87, 26, 0.08);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.3rem;
    height: 1.5px;
    background: var(--orange);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link:focus-visible {
    outline: none;
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    transform: scaleX(1);
}

.nav-link:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.nav-link.is-active {
    color: var(--dark);
}

.nav-link.is-active::after {
    transform: scaleX(1);
    animation: navDrawIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

@keyframes navDrawIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.nav-contact {
    position: relative;
    font-size: 0.85rem;
    color: var(--orange);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 0.25rem 0;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
}

.nav-contact::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.nav-contact:hover,
.nav-contact:focus-visible {
    color: var(--orange-light);
    outline: none;
}

.nav-contact:hover::after,
.nav-contact:focus-visible::after {
    transform: scaleX(1);
    background: var(--orange-light);
}

/* 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);
}

.section-eyebrow {
    animation: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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: 16ch;
    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: 7rem;
    animation: fadeUp 0.8s ease 0.3s both;
}

/* Process */
.process {
    margin-bottom: 7rem;
    animation: fadeUp 0.8s ease 0.4s both;
}

.process-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    max-width: 32ch;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.process-step {
    background: white;
    border-radius: 18px;
    padding: 2rem 1.75rem;
    box-shadow:
        0 1px 2px rgba(28, 26, 23, 0.04),
        0 8px 24px rgba(28, 26, 23, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(28, 26, 23, 0.04),
        0 16px 40px rgba(28, 26, 23, 0.08);
}

.process-step-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.process-step-num::after {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
    margin-top: 0.85rem;
    transition: width 0.35s ease;
}

.process-step:hover .process-step-num::after {
    width: 44px;
}

.process-step h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--dark);
    letter-spacing: -0.01em;
    margin-bottom: 0.6rem;
}

.process-step p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.65;
}

/* Contact */
.contact {
    animation: fadeUp 0.8s ease 0.55s both;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    max-width: 24ch;
}

/* Form */
.form-wrap {
    /* entrance animation handled by .contact parent */
}

.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-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow:
        0 1px 2px rgba(28, 26, 23, 0.04),
        0 8px 24px rgba(28, 26, 23, 0.04);
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.form-row:hover {
    box-shadow:
        0 1px 2px rgba(28, 26, 23, 0.04),
        0 12px 32px rgba(28, 26, 23, 0.06);
}

.form-row:focus-within {
    box-shadow:
        0 1px 2px rgba(28, 26, 23, 0.04),
        0 14px 36px rgba(28, 26, 23, 0.08),
        0 0 0 3px rgba(232, 87, 26, 0.14);
}

input[type="email"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.05rem 1.25rem;
    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: 1.05rem 1.75rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease;
}

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

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

/* Stats row */
.stats {
    display: flex;
    margin-bottom: 3.5rem;
    background: white;
    border: 1px solid var(--border);
    border-top: 2px solid var(--orange);
    border-radius: 12px;
    overflow: hidden;
    max-width: 560px;
    animation: fadeUp 0.8s ease 0.35s both;
}

.stat-item {
    flex: 1;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}

.stat-item + .stat-item {
    border-left: 1px solid var(--border);
}

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

.stat-number span {
    font-size: 1rem;
    color: var(--orange);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--mid);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

/* 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-left a,
.footer-right a {
    color: var(--orange);
    text-decoration: none;
}

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

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

/* 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;
}

/* Privacy page */
main.privacy-main {
    padding: 4rem 0;
    justify-content: flex-start;
}


.privacy-header {
    margin-bottom: 3.5rem;
    animation: fadeUp 0.8s ease 0.1s both;
}

.privacy-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    max-width: none;
    margin-bottom: 0.75rem;
}

.privacy-header .updated {
    font-size: 0.85rem;
    color: var(--mid);
}

.privacy-body {
    max-width: 68ch;
    animation: fadeUp 0.8s ease 0.2s both;
}

.privacy-body section {
    margin-bottom: 3rem;
}

.privacy-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.privacy-body h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.privacy-body p {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.privacy-body ul {
    margin: 0.5rem 0 0.75rem 1.25rem;
}

.privacy-body ul li {
    font-size: 0.95rem;
    color: var(--mid);
    line-height: 1.75;
    margin-bottom: 0.25rem;
}

.privacy-body a {
    color: var(--orange);
    text-decoration: none;
}

.privacy-body a:hover,
.privacy-body a:focus {
    text-decoration: underline;
}

.data-block {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.data-block h3 {
    margin-top: 0;
    font-size: 0.95rem;
}

.data-block .meta {
    font-size: 0.8rem;
    color: var(--mid);
    margin-top: 0.25rem;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.pill {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--dark);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.02em;
}

/* About page */
main.about-main {
    padding: 5rem 0 4rem;
    justify-content: flex-start;
}

.about-hero {
    margin-bottom: 8rem;
}

.about-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    max-width: 18ch;
    margin-bottom: 1.75rem;
}

.about-lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 300;
    color: var(--mid);
    line-height: 1.65;
    max-width: 56ch;
    animation: fadeUp 0.8s ease 0.3s both;
}

.about-section {
    margin-bottom: 7rem;
    animation: fadeUp 0.8s ease 0.4s both;
}

.about-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 2rem;
    max-width: 22ch;
}

.about-prose {
    max-width: 64ch;
}

.about-prose p {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-prose p:last-child {
    margin-bottom: 0;
}

.about-intro {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--dark);
    line-height: 1.65;
    max-width: 56ch;
    margin-bottom: 3rem;
}

.about-outro {
    margin-top: 3rem;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-style: italic;
    font-weight: 400;
    color: var(--dark);
    line-height: 1.5;
    max-width: 48ch;
    letter-spacing: -0.01em;
}

/* Founder cards */
.founders {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.founder {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2.25rem 2rem 2rem;
    box-shadow:
        0 1px 2px rgba(28, 26, 23, 0.04),
        0 8px 24px rgba(28, 26, 23, 0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}

.founder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 87, 26, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.founder:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(28, 26, 23, 0.04),
        0 16px 40px rgba(28, 26, 23, 0.08);
}

.founder:hover::before {
    opacity: 1;
}

.founder-photo {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    background:
        radial-gradient(ellipse 80% 80% at 30% 20%, rgba(232, 87, 26, 0.18), transparent 70%),
        linear-gradient(135deg, #FBEFE6, #F4E2D1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-initial {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: -0.03em;
    line-height: 1;
}

.founder-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.founder-role {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}

.founder-bio {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.7;
}

/* Closing CTA */
.about-closing {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    animation: fadeUp 0.8s ease 0.55s both;
}

.about-closing-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.02em;
    line-height: 1.15;
    max-width: 22ch;
    margin-bottom: 1.5rem;
}

.about-closing-title span {
    color: var(--orange);
}

.about-closing-text {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--mid);
    line-height: 1.65;
    margin-bottom: 2.5rem;
    max-width: 48ch;
}

/* Mobile */
@media (max-width: 600px) {
    .nav-right {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.5rem 0.65rem;
    }

    .nav-link::after {
        left: 0.65rem;
        right: 0.65rem;
    }

    .nav-contact {
        display: none;
    }

    .stats {
        max-width: 100%;
    }

    .stat-item {
        padding: 1.5rem 1.25rem;
    }

    .description {
        margin-bottom: 4.5rem;
    }

    .process {
        margin-bottom: 4.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .process-step {
        padding: 1.75rem 1.5rem;
    }

    .process-step-num {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

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

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

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

    /* About page - mobile */
    main.about-main {
        padding: 3rem 0 3rem;
    }

    .about-hero {
        margin-bottom: 5rem;
    }

    .about-section {
        margin-bottom: 5rem;
    }

    .founders {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .founder {
        padding: 1.75rem 1.5rem;
    }

    .founder-photo {
        width: 72px;
        height: 72px;
    }

    .about-closing {
        padding: 3rem 0;
    }
}