@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
    --bg-base: #F9F8F6;
    /* Alabaster */
    --bg-surface: #FFFFFF;
    --primary: #4A5D4E;
    /* Deep Sage */
    --secondary: #A89F91;
    /* Warm Taupe */
    --text-dark: #2C2C2C;
    /* Soft Charcoal */
    --text-muted: #737373;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    --shadow-soft: 0 20px 40px rgba(44, 44, 44, 0.04);
    --border-hairline: 1px solid rgba(168, 159, 145, 0.3);

    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-dark);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    margin-bottom: 1.2rem;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    margin-bottom: 0.8rem;
}

p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.italic {
    font-style: italic;
    color: var(--primary);
    font-weight: 400;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 120px 0;
}

.text-center {
    text-align: center;
}

.surface {
    background-color: var(--bg-surface);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-surface);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--bg-surface);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(249, 248, 246, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    border-bottom: var(--border-hairline);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-base);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-overlay nav a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary);
}

/* Hero - Organic Asymmetry */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 30px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.organic-blob {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    background: var(--secondary);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden;
    animation: blobMorph 8s ease-in-out infinite alternate;
    box-shadow: var(--shadow-soft);
}

.organic-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes blobMorph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }

    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }

    100% {
        border-radius: 40% 60% 50% 50% / 40% 40% 60% 50%;
    }
}

/* About - Split Elegant */
.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

/* Services Overview - Elegant Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--bg-surface);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid transparent;
    transition: var(--transition);
}

.service-card:hover {
    border-top-color: var(--primary);
    transform: translateY(-5px);
}

.service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 25px;
    color: var(--secondary);
}

/* Deep Dive Services - Watermark Editorial */
.editorial-section {
    margin-bottom: 120px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.editorial-section:nth-child(even) .editorial-content {
    order: -1;
}

.editorial-content {
    position: relative;
    z-index: 2;
}

.watermark {
    position: absolute;
    top: -60px;
    left: -40px;
    font-family: var(--font-heading);
    font-size: 15rem;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.1;
    z-index: -1;
    line-height: 1;
}

.editorial-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.editorial-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    margin: 15px;
    pointer-events: none;
}

.editorial-list {
    list-style: none;
    margin: 30px 0;
}

.editorial-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-weight: 400;
    color: var(--text-dark);
}

.editorial-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Industries - Layered Panels */
.industry-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.industry-panel {
    background: var(--bg-surface);
    padding: 40px 30px;
    text-align: center;
    border-radius: 16px;
    border: var(--border-hairline);
    transition: var(--transition);
}

.industry-panel:hover {
    background: var(--primary);
    color: var(--bg-surface);
    border-color: var(--primary);
}

.industry-panel:hover h4,
.industry-panel:hover p {
    color: var(--bg-surface);
}

/* Workflow - Roman Numeral Timeline */
.timeline-container {
    max-width: 800px;
    margin: 80px auto 0;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    background-color: var(--secondary);
    opacity: 0.3;
}

.timeline-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 42%;
}

.roman-numeral {
    width: 80px;
    height: 80px;
    background: var(--bg-surface);
    border: var(--border-hairline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: var(--shadow-soft);
    z-index: 2;
    margin: 0 auto;
}

/* Testimonials - Elegant Masonry */
.test-masonry {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

.test-card {
    background: var(--bg-surface);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.test-card:nth-child(even) {
    transform: translateY(40px);
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 6rem;
    line-height: 0;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: 60px;
    left: 30px;
}

.test-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* FAQ - Minimalist Accordion */
.faq-wrapper {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    border-bottom: var(--border-hairline);
}

.faq-question {
    padding: 30px 0;
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

details[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding-bottom: 30px;
    color: var(--text-muted);
}

/* CTA Block */
.cta-block {
    background: var(--primary);
    color: var(--bg-surface);
    border-radius: 30px;
    padding: 100px 60px;
    text-align: center;
    margin: 100px 0;
}

.cta-block h2 {
    color: var(--bg-surface);
}

.cta-block p {
    color: rgba(255, 255, 255, 0.8);
}

/* Forms - Underline Only */
.form-wrap {
    background: var(--bg-surface);
    border-radius: 20px;
    padding: 60px;
    box-shadow: var(--shadow-soft);
}

.input-group {
    position: relative;
    margin-bottom: 40px;
}

.input-field {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--secondary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.input-field:focus {
    outline: none;
    border-bottom-color: var(--primary);
}

.input-group label {
    position: absolute;
    left: 0;
    top: 15px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
    font-size: 1rem;
}

.input-field:focus~label,
.input-field:valid~label {
    top: -15px;
    font-size: 0.85rem;
    color: var(--primary);
}

textarea.input-field {
    min-height: 120px;
    resize: none;
}

/* Legal Pages */
.legal-box {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-surface);
    padding: 80px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.legal-box h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: var(--bg-surface);
    padding: 100px 0 40px;
    border-top: var(--border-hairline);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 25px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: var(--border-hairline);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {

    .hero-grid,
    .about-grid,
    .editorial-section,
    .editorial-section:nth-child(even) .editorial-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-visual {
        order: -1;
    }

    .about-img {
        border-radius: 20px;
    }

    .watermark {
        font-size: 10rem;
        top: -30px;
        left: -10px;
    }

    .industry-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline-container::before {
        left: 40px;
    }

    .timeline-step,
    .timeline-step:nth-child(even) {
        flex-direction: row;
        justify-content: flex-start;
    }

    .roman-numeral {
        margin: 0;
        margin-right: 40px;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .timeline-content {
        width: calc(100% - 100px);
    }

    .test-masonry {
        grid-template-columns: 1fr;
    }

    .test-card:nth-child(even) {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-btn {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .industry-wrapper,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-block,
    .form-wrap,
    .legal-box {
        padding: 50px 30px;
    }

    .roman-numeral {
        margin-right: 20px;
    }

    .timeline-container::before {
        left: 30px;
    }
}