:root {
    --bg-main: #f5f1ea;     /* Warm off-white / Cream */
    --accent: #782626;      /* Deep burgundy red */
    --accent-hover: #5a1919;
    --text-main: #2d2a26;   /* Soft black / dark brown */
    --text-light: #6a665f;
    --border: #dfd8cf;
    --card-bg: #8c3232;     /* Lighter red for values boxes */
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.italic {
    font-style: italic;
    font-weight: 400;
}

.mono-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.6;
}

.script-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Utilities */
.section-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 2rem;
}
.section-title.center {
    text-align: center;
}

.section-padding {
    padding: 7rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 40px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-main);
}
.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1rem;
}

.btn-nav {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 30px;
}
.btn-nav:hover {
    background: var(--accent);
    color: var(--bg-main);
}


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.nav-round-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    background-color: #000;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 90vh;
    padding: 10rem 5% 5rem;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero .mono-text {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.editorial-title {
    font-size: 6rem;
    line-height: 0.95;
    margin-bottom: 3rem;
    color: var(--accent);
}

.hero-lower {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.hero-lower .subtitle {
    max-width: 500px;
    color: var(--text-main);
    text-transform: none;
}

/* Marquee */
.marquee {
    width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    padding: 1rem 0;
    background-color: var(--bg-main);
}

.marquee-content {
    white-space: nowrap;
    animation: marquee 25s linear infinite;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--accent);
}

.marquee-content span {
    margin: 0 1rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-text p {
    margin-bottom: 1rem;
    text-transform: none;
    font-size: 0.95rem;
}

.marquee-large {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 4rem;
}

.marquee-large h2 {
    font-size: 5rem;
    color: var(--text-main);
    opacity: 0.9;
}

/* Problems Grid equivalent to "Values" */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-card p {
    font-family: 'Space Mono', monospace;
    color: var(--bg-main);
    font-size: 0.85rem;
    line-height: 1.5;
    text-transform: uppercase;
}

/* Services */
.services {
    background-color: var(--text-main); /* Dark background for contrast */
    color: var(--bg-main);
}

.services .section-title {
    color: var(--bg-main);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}

.service-card h3 {
    color: var(--bg-main);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    text-transform: none;
    color: #ccc;
    margin-bottom: 2rem;
}

.features {
    list-style: none;
}

.features li {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    text-transform: uppercase;
    color: #f1ebd8;
}

/* Process Timeline (Minimalist) */
.process {
    background-color: var(--bg-main);
}

.process-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    margin-top: 4rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}
.timeline-item:last-child {
    border-bottom: none;
}

.timeline-num {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--accent);
    font-style: italic;
    line-height: 1;
}

.timeline-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.timeline-content p {
    text-transform: none;
}

/* Contact */
.contact-center {
    text-align: center;
    border: 1px solid var(--border);
    padding: 6rem 2rem;
    background-color: #f8f6f1;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 5% 2rem;
    background-color: var(--bg-main);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    text-transform: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: none;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 992px) {
    .editorial-title { font-size: 4rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .marquee-large h2 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .editorial-title { font-size: 3rem; }
    .section-title { font-size: 2.5rem; }
    .timeline-item { flex-direction: column; gap: 0.5rem; }
    .footer-grid { flex-direction: column; gap: 2rem; text-align: center; align-items: center; }
    .footer-links { text-align: center; }
}
