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

:root {
    --navy: #0D1B3E;
    --navy2: #162850;
    --gold: #C49A2A;
    --gold-l: #D4AE4A;
    --cream: #F7F4EF;
    --slate: #4A5568;
    --mist: #E8E4DC;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--navy);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 10%;
    background: rgba(13, 27, 62, 0.97);
    backdrop-filter: blur(8px);
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .02em;
}

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

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: color .2s;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-cta {
    background: var(--gold);
    color: var(--navy);
    padding: .55rem 1.4rem;
    border-radius: 2px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s;
}

.nav-cta:hover {
    background: var(--gold-l);
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 6% 0 10%;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.75rem;
}

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

.hero-h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 4.5vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-h1 em {
    font-style: normal;
    color: var(--gold);
    position: relative;
}

.hero-sub {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, .65);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: .85rem 2rem;
    border-radius: 2px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    transition: background .2s, transform .15s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--gold-l);
    transform: translateY(-1px);
}

.btn-ghost {
    color: rgba(255, 255, 255, .75);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: color .2s;
}

.btn-ghost:hover {
    color: var(--white);
}

.btn-ghost::after {
    content: '→';
}

/* Animated weave canvas */
#weave-canvas {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    opacity: .18;
    pointer-events: none;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px;
    padding: 2.5rem;
    width: 100%;
    max-width: 340px;
}

.hero-card-label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-stat {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero-stat:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.hero-stat-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, .5);
    margin-top: .6rem;
    font-weight: 300;
}

/* ── SECTION BASE ── */
section {
    padding: 7rem 10%;
}

.section-eyebrow {
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

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

.section-h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.section-lead {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--slate);
    max-width: 560px;
}

/* ── WHAT WE DO ── */
#what {
    background: var(--white);
}

.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    margin-top: 4rem;
}

.what-text p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--slate);
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.what-text p strong {
    color: var(--navy);
    font-weight: 600;
}

.knit-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--mist);
    border: 1px solid var(--mist);
}

.knit-cell {
    background: var(--white);
    padding: 1.75rem 1.5rem;
    transition: background .2s;
}

.knit-cell:hover {
    background: #FDFBF7;
}

.knit-cell-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    background: var(--navy);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.knit-cell-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
}

.knit-cell h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .35rem;
    letter-spacing: .02em;
}

.knit-cell p {
    font-size: 1rem;
    color: var(--slate);
    line-height: 1.6;
    font-weight: 300;
}

/* ── SERVICES ── */
#services {
    background: var(--cream);
}

.services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--mist);
    border: 1px solid var(--mist);
}

.service-card {
    background: var(--cream);
    padding: 2.5rem 2rem;
    transition: background .25s;
    cursor: default;
}

.service-card:hover {
    background: var(--white);
}

.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mist);
    line-height: 1;
    margin-bottom: 1.25rem;
    transition: color .25s;
}

.service-card:hover .service-num {
    color: var(--gold);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: .9rem;
    letter-spacing: .01em;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--slate);
    font-weight: 300;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: 1.25rem;
}

.tag {
    font-size: .68rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .25rem .65rem;
    border: 1px solid var(--mist);
    color: var(--slate);
    font-weight: 500;
}

/* ── WHY US ── */
#why {
    background: var(--navy);
}

#why .section-h2 {
    color: var(--white);
}

#why .section-lead {
    color: rgba(255, 255, 255, .6);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, .08);
}

.why-card {
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.why-card:last-child {
    border-right: none;
}

.why-icon {
    width: 40px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 1.5rem;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: .75rem;
    letter-spacing: .01em;
}

.why-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, .5);
    font-weight: 300;
}

/* ── CONTACT ── */
#contact {
    background: var(--cream);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.form-group label {
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--slate);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--white);
    border: 1px solid var(--mist);
    padding: .85rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    color: var(--navy);
    outline: none;
    border-radius: 0;
    appearance: none;
    transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: var(--navy);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .2s;
    align-self: flex-start;
}

.form-submit:hover {
    background: var(--navy2);
}

.contact-info {
    padding-top: .5rem;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.contact-info p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--slate);
    font-weight: 300;
    margin-bottom: 2rem;
}

.contact-detail {
    margin-bottom: 1.3rem;
}

.contact-detail-label {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: .25rem;
}

.contact-detail-value {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 400;
}

.contact-detail-value a {
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid var(--mist);
    transition: border-color .2s;
}

.contact-detail-value a:hover {
    border-color: var(--gold);
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    padding: 3rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

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

.footer-copy {
    font-size: .78rem;
    color: rgba(255, 255, 255, .35);
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: .78rem;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--gold);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    #hero {
        grid-template-columns: 1fr;
        padding-top: 100px;
        padding-bottom: 4rem;
    }

    .hero-visual {
        display: none;
    }

    #weave-canvas {
        width: 100%;
        opacity: .08;
    }

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

    .services-header {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-card {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        order: -1;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 5rem 5%;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .knit-diagram {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}