:root {
    --bg: #ffffff;
    --text: #000000;
    --accent: #d21f3c; /* Red accent for highlights like in the PDF */
    --muted: #f4f4f4;
    --dark-bg: #000000;
    --dark-text: #ffffff;
    --serif: "EB Garamond", serif;
    --sans: "Inter", sans-serif;
    --container-width: 1200px;
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
    font-family: var(--serif);
    font-weight: 400;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

section {
    padding: 120px 0;
}

section.dark {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

.btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--text);
    color: var(--bg);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--text);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--text);
}

.dark .btn {
    background: var(--dark-text);
    color: var(--dark-bg);
}

.dark .btn:hover {
    background: transparent;
    color: var(--dark-text);
    border-color: var(--dark-text);
}

.btn-outline {
    display: inline-block;
    padding: 18px 45px;
    background: transparent;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--dark-text);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--dark-text);
    color: var(--dark-bg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference;
    color: white;
}

.logo {
    font-family: var(--serif);
    font-size: 24px;
    letter-spacing: 4px;
}

.nav-links a {
    color: inherit;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    padding-left: 80px;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(48px, 8vw, 96px);
    letter-spacing: 8px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 18px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero .industry {
    font-family: var(--serif);
    font-style: italic;
    font-size: 24px;
    margin-top: 10px;
}

.hero-image-container {
    flex: 1;
    height: 100%;
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    opacity: 0.8;
}

/* About Section */
.about .lead {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 40px;
}

.about h2 {
    font-size: 48px;
    margin-bottom: 10px;
}

.known-for, .values {
    margin-bottom: 30px;
}

.known-for h3, .values h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--accent);
}

.known-for ul {
    list-style: none;
}

.known-for li {
    font-family: var(--serif);
    font-size: 22px;
    margin-bottom: 8px;
}

.values p {
    font-family: var(--serif);
    font-size: 22px;
}

.portrait-img {
    width: 100%;
    filter: grayscale(100%);
    box-shadow: 20px 20px 0 var(--muted);
}

/* Statement Section */
.statement {
    height: 60vh;
}

.statement-text {
    font-family: var(--serif);
    font-size: 48px;
    line-height: 1.1;
}

.statement-text span {
    font-style: italic;
    opacity: 0.7;
}

.statement-divider {
    width: 1px;
    height: 100px;
    background: rgba(255,255,255,0.2);
    margin: 40px 0;
}

.statement-text.secondary {
    font-size: 32px;
}

/* Principles */
.principles h2 {
    font-size: 42px;
    text-align: center;
    margin-bottom: 80px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.principle-item {
    text-align: center;
}

.principle-item .number {
    display: block;
    font-size: 32px;
    margin-bottom: 15px;
}

.principle-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.principles-image img {
    width: 100%;
    filter: grayscale(100%);
}

/* Model Dark */
.narrow {
    max-width: 800px;
}

.enable-dark h2 {
    font-size: 42px;
    margin-bottom: 50px;
}

.check-list {
    list-style: none;
    margin-bottom: 60px;
}

.check-list li {
    font-family: var(--serif);
    font-size: 28px;
    margin-bottom: 25px;
    padding-left: 40px;
    position: relative;
}

.check-list li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card h3 {
    font-size: 32px;
    margin: 20px 0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Deep Dives */
.deep-dive .accent {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    margin-bottom: 20px;
}

.deep-dive h2 {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 30px;
}

.deep-dive p {
    font-family: var(--serif);
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.deep-dive-image img {
    width: 100%;
    filter: grayscale(100%);
}

.reverse .deep-dive-image {
    order: 2;
}

/* Contact */
.contact {
    position: relative;
    padding-bottom: 0;
}

.contact h2 {
    font-size: 64px;
    margin-bottom: 30px;
}

.contact p {
    font-family: var(--serif);
    font-size: 24px;
    margin-bottom: 40px;
}

.contact-btns {
    display: flex;
    gap: 20px;
}

.contact-btns .btn.secondary {
    background: transparent;
    color: var(--text);
}

.contact-form-container {
    background: var(--muted);
    padding: 60px;
}

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

input, textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    margin-bottom: 30px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--accent);
}

.contact-footer-img {
    margin-top: 80px;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.contact-footer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

/* Footer */
footer {
    padding: 80px 0;
    background: var(--dark-bg);
    color: var(--dark-text);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 32px;
    letter-spacing: 6px;
}

.footer-links span {
    margin-right: 20px;
    opacity: 0.5;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    opacity: 0.4;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 968px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero {
        flex-direction: column;
        height: auto;
    }

    .hero-content {
        padding: 60px;
    }

    .hero-image-container {
        height: 50vh;
        width: 100%;
    }

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

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

    .about-image {
        order: -1;
    }

    .reverse .deep-dive-image {
        order: unset;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
