/* =========================================
   Greywood — base & tokens
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --ink: #111111;
    --ink-soft: #4a4a4a;
    --muted: #767676;
    --line: #e3e1dd;
    --paper: #ffffff;
    --paper-warm: #f7f6f3;
    --black: #0a0a0a;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;

    --container: 1200px;
    --gutter: 6%;
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--paper);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

h1 em, h2 em {
    font-style: italic;
    font-weight: 500;
}

p {
    margin: 0;
}

a {
    color: inherit;
}

ul {
    margin: 0;
    padding: 0;
}

img {
    display: block;
    max-width: 100%;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 16px;
}

.icon-arrow,
.icon-arrow-up {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 14px 26px;
    border-radius: 999px;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
    white-space: nowrap;
}

.btn:hover {
    opacity: 0.85;
}

.btn-dark {
    background-color: var(--black);
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.btn-outline:hover {
    background-color: var(--paper-warm);
    opacity: 1;
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
    opacity: 1;
}

/* =========================================
   Header / Nav
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
}

.main-nav {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px var(--gutter);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-area img {
    height: 28px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 14.5px;
    font-weight: 500;
    transition: color 0.25s ease;
}

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

.nav-cta {
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   Hero
   ========================================= */
.hero-page {
    max-width: var(--container);
    margin: 0 auto;
    padding: 80px var(--gutter) 60px;
}

.hero-inner {
    max-width: 780px;
    margin-bottom: 60px;
}

h1 {
    font-size: 5.2rem;
    line-height: 0.98;
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.feature-box {
    padding: 36px;
    border-left: 1px solid var(--line);
}

.feature-box:first-child {
    border-left: none;
}

.feature-icon {
    width: 26px;
    height: 26px;
    margin-bottom: 22px;
}

.feature-box h3 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

/* =========================================
   Vision (dark band)
   ========================================= */
.vision-section {
    position: relative;
    background: linear-gradient(120deg, rgba(70,20,10,0.55), rgba(5,5,5,0.85)), url('images/bgimg.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 130px var(--gutter);
    overflow: hidden;
}

.vision-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}

.eyebrow-light {
    color: rgba(255,255,255,0.65);
}

.vision-section h2 {
    color: #fff;
    font-size: 2.6rem;
    line-height: 1.35;
    font-weight: 500;
    margin-bottom: 44px;
}

/* =========================================
   Solutions
   ========================================= */
.solutions-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 120px var(--gutter);
}

.sol-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.sol-text h2 {
    font-size: 2.9rem;
    line-height: 1.05;
    margin-bottom: 24px;
}

.desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 36px;
    max-width: 440px;
}

.sol-img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
}

.sol-list {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.sol-item {
    padding: 36px 40px;
    border-bottom: 1px solid var(--line);
}

.sol-item:last-child {
    border-bottom: none;
}

.sol-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    margin-bottom: 14px;
}

.sol-num {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sol-item h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
}

.sol-item ul {
    list-style: none;
}

.sol-item li {
    font-size: 14.5px;
    color: var(--ink-soft);
    padding: 7px 0 7px 18px;
    position: relative;
}

.sol-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--muted);
}

/* =========================================
   Remote Workers
   ========================================= */
.remote-section {
    background-color: var(--paper-warm);
    padding: 120px var(--gutter);
}

.remote-top {
    max-width: var(--container);
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    flex-wrap: wrap;
}

.remote-top h2 {
    font-size: 3rem;
    line-height: 1;
}

.remote-sub {
    max-width: 380px;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.remote-grid {
    max-width: var(--container);
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.remote-card {
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px;
}

.remote-card .feature-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 22px;
}

.remote-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.remote-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

.remote-cta {
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.remote-cta span {
    font-size: 14px;
    color: var(--muted);
}

/* =========================================
   Featured Work
   ========================================= */
.featured-work {
    max-width: var(--container);
    margin: 0 auto;
    padding: 120px var(--gutter) 60px;
}

.work-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.work-top h2 {
    font-size: 3rem;
    line-height: 1;
}

.work-sub {
    max-width: 360px;
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.work-card {
    margin: 0;
}

.work-card img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 18px;
}

.work-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.work-card figcaption p {
    font-size: 13px;
    color: var(--muted);
}

/* Marquee */
.marquee {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    padding: 28px 0;
    margin-top: 40px;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    width: max-content;
    animation: scroll-marquee 32s linear infinite;
    font-family: var(--font-display);
    font-size: 2.2rem;
}

.marquee-track .diamond {
    font-size: 1.1rem;
    color: var(--ink);
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================
   Testimonials
   ========================================= */
.testimonials {
    max-width: var(--container);
    margin: 0 auto;
    padding: 120px var(--gutter);
}

.testimonials h2 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 50px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.test-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
}

.test-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 28px;
}

.client {
    display: flex;
    align-items: center;
    gap: 14px;
}

.client img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #ddd;
}

.client span {
    font-size: 13px;
    line-height: 1.4;
}

/* =========================================
   Contact
   ========================================= */
.contact-section {
    max-width: var(--container);
    margin: 0 auto;
    padding: 120px var(--gutter) 100px;
}

.contact-section h2 {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 20px;
}

.contact-sub {
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 420px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-cta {
    margin-bottom: 70px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    border-top: 1px solid var(--line);
    padding-top: 40px;
}

.contact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}

.contact-grid p a {
    text-decoration: none;
}

.contact-grid p a:hover {
    text-decoration: underline;
}

.contact-grid > div > p:last-child {
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--black);
    color: #fff;
}

.footer-form-wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 110px var(--gutter) 70px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
}

.footer-form-text .eyebrow {
    color: rgba(255,255,255,0.55);
}

.footer-form-text h3 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 18px;
    line-height: 1.1;
}

.footer-form-sub {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 360px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.form-row input,
.form-row textarea {
    font-family: var(--font-body);
    font-size: 15px;
    color: #fff;
    background-color: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 10px;
    padding: 14px 16px;
    resize: vertical;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.55);
    background-color: rgba(255,255,255,0.1);
}

.form-submit {
    align-self: flex-start;
    margin-top: 4px;
    background-color: #fff;
    color: var(--black);
}

.form-submit:hover {
    opacity: 0.85;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    font-size: 13.5px;
    min-height: 18px;
}

.form-status-success {
    color: #9be3a8;
}

.form-status-error {
    color: #f3a6a6;
}

.footer-bottom {
    max-width: var(--container);
    margin: 0 auto;
    padding: 28px var(--gutter) 50px;
    border-top: 1px solid rgba(255,255,255,0.12);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.55);
}

/* =========================================
   Responsiveness
   ========================================= */
@media (max-width: 900px) {
    .main-nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 16px 6%;
    }
    .btn{
    position: relative;
    right: 10px;
    width: 140px;


} 

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 18px;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 24px 6% 28px;
    }

    .nav-links-open {
        display: flex;
    }

    .nav-links a {
        font-size: 15px;
    }

    .hero-page {
        text-align: center;
        padding-top: 50px;
    }

    .hero-inner {
        margin: 0 auto 50px;
    }

    h1 {
        font-size: 3rem;
    }

    .hero-sub {
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .feature-container {
        grid-template-columns: 1fr;
    }

    .feature-box {
        border-left: none;
        border-top: 1px solid var(--line);
        text-align: left;
    }

    .feature-box:first-child {
        border-top: none;
    }

    .vision-section h2 {
        font-size: 1.7rem;
    }

    .sol-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sol-text h2,
    .remote-top h2,
    .work-top h2,
    .testimonials h2,
    .contact-section h2 {
        font-size: 2.2rem;
    }

    .remote-top,
    .work-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .remote-grid,
    .work-grid,
    .testimonial-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .marquee-track {
        font-size: 1.4rem;
    }

    .footer-form-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 70px 6% 50px;
    }

    .footer-form-text h3 {
        font-size: 1.9rem;
    }

    .form-submit {
        align-self: stretch;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
