:root {
    --bg: #0B0908;
    --surface-1: #13100F;
    --surface-2: #1B1614;
    --text-primary: #F4EEE6;
    --text-secondary: #A69D94;
    --accent: #D7C4AD;
    --burgundy: #7D3036;
    --burgundy-light: #A04A50;

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
}

::selection {
    background: var(--burgundy);
    color: var(--text-primary);
}

::-moz-selection {
    background: var(--burgundy);
    color: var(--text-primary);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Ambient Glows */
.ambient-glows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0; /* Keep it behind everything */
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15; /* Subtly increased to offset the gradient fade */
    animation: float-glow 25s ease-in-out infinite alternate;
}

.orb-1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--burgundy) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: -20%;
    right: -15%;
    animation-delay: -10s;
    opacity: 0.1; 
}

@keyframes float-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(8%, 12%) scale(1.15);
    }
    100% {
        transform: translate(-5%, 8%) scale(0.9);
    }
}



/* Custom Cursor */
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-ring.active {
    width: 32px;
    height: 32px;
    background-color: rgba(215, 196, 173, 0.2);
}

@media (max-width: 768px) {
    body { cursor: auto; }
    .cursor-ring { display: none; }
}

.mouse-tooltip {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    background-color: rgba(27, 22, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10001;
    opacity: 0;
    transform: translate(-50%, -120%) scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mouse-tooltip.visible {
    opacity: 1;
    transform: translate(-50%, -120%) scale(1);
}

.mouse-tooltip img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}
.mouse-tooltip img.has-image {
    display: block;
}
.mouse-tooltip .tt-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
.mouse-tooltip .tt-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Typography Helpers */
h1, h2, h3, h4, .nav-brand {
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

/* Navigation Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* above everything */
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.header.scrolled {
    background: rgba(19, 16, 15, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav {
    padding: 2rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.header.scrolled .nav {
    padding: 1.25rem 5vw;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.brand-logo-full {
    height: 52px;
    display: flex;
    align-items: center;
}

.brand-symbol {
    height: 100%;
    width: auto;
    color: var(--ivory, #ebdfd7);
    transition: transform 0.4s ease, color 0.4s ease;
}

.nav-brand:hover .brand-symbol {
    color: var(--accent);
}

/* Drawing Animation */
@keyframes drawStroke {
    0% {
        stroke-dashoffset: 6000;
        fill: transparent;
    }
    40% {
        stroke-dashoffset: 0;
        fill: transparent;
    }
    60% {
        fill: currentColor;
    }
    100% {
        stroke-dashoffset: 0;
        fill: currentColor;
    }
}

.draw-path, .draw-text {
    stroke: currentColor;
    stroke-width: 4;
    stroke-dasharray: 6000;
    stroke-dashoffset: 6000;
    animation: drawStroke 6s infinite ease-in-out;
}

.draw-path-accent {
    stroke: var(--burgundy-light);
    stroke-width: 4;
    stroke-dasharray: 6000;
    stroke-dashoffset: 6000;
    animation: drawStroke 6s infinite ease-in-out;
}

.draw-text {
    stroke-width: 2;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

/* Tiny dot hover effect for links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--burgundy);
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: translateX(-50%) scale(1);
}

/* Premium Button */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.contact-btn:hover {
    background-color: var(--text-primary);
    color: var(--bg);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

.whatsapp-link {
    color: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.4));
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Above nav links */
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Header Responsive */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(15, 12, 11, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        z-index: 1000;
        padding: 5rem 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }
}

/* Sections */
.section-padding {
    padding: 8rem 4rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 0 4rem; /* Add padding-top to avoid header overlap */
    position: relative;
}

.hero-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle 800px at var(--x, 50%) var(--y, 50%), rgba(125, 48, 54, 0.08), transparent 70%);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero:hover .hero-spotlight {
    opacity: 1;
}

.hero-live-meta {
    position: absolute;
    top: 8rem; /* Move below header */
    right: 5vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    font-weight: 500;
    z-index: 10;
}

.live-time {
    color: var(--text-primary);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}

.hero-text {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-right: 2rem;
}

.hero-logo-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end; /* Anchor to bottom */
    justify-content: flex-end; /* Anchor to right */
    padding-bottom: 10rem; /* Increased to move it up even higher */
    padding-right: 4rem; /* Move it slightly to the left */
}

.hero-mark {
    width: 100%;
    max-width: 460px; /* Increased size */
    height: auto;
    color: var(--text-primary);
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
    transform-origin: bottom right; /* Ensure any scaling expands up and left */
    transform: translateY(-60px); /* Move it even further up */
}

.draw-animated {
    animation: floatingLogo 6s ease-in-out infinite alternate;
}

.draw-path {
    stroke-width: 8px;
    stroke-dasharray: 12000;
    stroke-dashoffset: 12000;
    animation: drawStroke 3.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.fill-primary {
    stroke: var(--text-primary);
    fill: var(--text-primary);
    color: var(--text-primary);
    fill-opacity: 0;
    animation: drawStroke 3.5s cubic-bezier(0.19, 1, 0.22, 1) forwards, fillFade 2s ease-in forwards 2.5s;
}

.fill-secondary {
    stroke: var(--burgundy-light);
    fill: var(--burgundy-light);
    color: var(--burgundy-light);
    fill-opacity: 0;
    animation: drawStroke 3.5s cubic-bezier(0.19, 1, 0.22, 1) forwards, fillFade 2s ease-in forwards 2.5s;
}

@keyframes drawStroke {
    0% { stroke-dashoffset: 12000; }
    100% { stroke-dashoffset: 0; }
}

@keyframes fillFade {
    0% { fill-opacity: 0; stroke-opacity: 1; }
    100% { fill-opacity: 1; stroke-opacity: 0; }
}

@keyframes floatingLogo {
    0% { transform: translateY(-60px); filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5)); }
    100% { transform: translateY(-85px); filter: drop-shadow(0 25px 30px rgba(0,0,0,0.2)); }
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.role-scroller-container {
    height: 1.2em;
    overflow: hidden;
    position: relative;
    display: inline-block;
    vertical-align: bottom;
}

.role-scroller {
    display: flex;
    flex-direction: column;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.role {
    height: 1.2em;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.hero-title {
    font-size: clamp(6rem, 12vw, 15rem);
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
    position: relative;
}

.hero-title-line-container {
    overflow: hidden;
}

.hero-app-icon {
    /* Inline positioning */
    height: 0.75em; /* Exactly match the height of the text */
    aspect-ratio: 1;
    border-radius: 22%;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #6b2427 0%, #4a1618 55%, #3a1012 100%);
    border: 1px solid rgba(190, 120, 110, .22);
    box-shadow: 0 10px 22px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.12);
    color: var(--text-primary);
    flex-shrink: 0;
}

.hero-app-icon .mark {
    width: 68%;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}

.hero-title-line {
    display: block;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), letter-spacing 0.5s ease;
}

.hero-title-line:hover {
    letter-spacing: 0.02em;
}

.hero-title-line.visible {
    transform: translateY(0);
    opacity: 1;
}

.name-separator {
    width: 60%; /* Doesn't span full width to look more elegant */
    height: 4px; /* Thickest point */
    margin: 1.5rem 0 1.5rem 10vw; /* Position between lines */
    background: radial-gradient(circle, rgba(107, 36, 39, 1) 0%, rgba(107, 36, 39, 0) 60%);
    border-radius: 50%;
    
    /* Setup for blur entrance */
    opacity: 0; 
    filter: blur(15px);
    transform: scaleX(0.3) translateY(20px);
}

.name-separator.visible {
    /* Chaining the entrance then the pulse */
    animation: separator-blur-in 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards, pulse-sunrise 4s ease-in-out infinite alternate 1.2s;
}

@keyframes separator-blur-in {
    0% {
        opacity: 0;
        filter: blur(15px);
        transform: scaleX(0.2) translateY(30px);
    }
    100% {
        opacity: 1;
        filter: blur(0px);
        transform: scaleX(1) translateY(0);
    }
}

@keyframes pulse-sunrise {
    0% {
        transform: scaleX(0.9) scaleY(0.8);
        filter: brightness(0.8);
    }
    100% {
        transform: scaleX(1.1) scaleY(1.5);
        filter: brightness(1.4) drop-shadow(0 0 15px rgba(107, 36, 39, 0.8));
    }
}

.hero-title-line.indent {
    padding-left: 15vw;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent); /* The copper/orange color */
    font-weight: 400; /* Lighter weight for elegance */
    display: inline-flex;
    align-items: center;
    gap: 3vw; /* Space between icon and text */
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-bottom: 4rem;
}

.hero-statement {
    max-width: 400px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.hero-motto {
    display: flex;
    gap: 1rem;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.motto-word {
    transition: color var(--transition-fast), filter var(--transition-fast);
}

.motto-word:hover {
    color: #fff;
    filter: drop-shadow(0 0 8px var(--burgundy));
}

.hero-motto .dot {
    color: var(--burgundy);
}

/* Marquee Ticker */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: var(--surface-1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    display: flex;
    white-space: nowrap;
}

.ticker {
    display: flex;
    align-items: center;
    animation: ticker-scroll 25s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    text-transform: uppercase;
    color: var(--text-primary);
    padding: 0 2rem;
    letter-spacing: -0.02em;
}

.ticker-item .star-icon {
    width: clamp(1.2rem, 2vw, 1.8rem);
    height: clamp(1.2rem, 2vw, 1.8rem);
    color: var(--burgundy);
    margin-left: 4rem;
}

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

/* About Section */
.about-section {
    background-color: var(--surface-1);
    position: relative;
    overflow: hidden;
}

.about-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 4rem;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-image {
    flex: 1;
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 0;
}

.scrolly-eyebrow {
    color: var(--burgundy);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-text h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--accent);
}

.reveal-p {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

@media (max-width: 900px) {
    .about-row {
        flex-direction: column;
        gap: 2rem;
    }
    .about-row.reverse {
        flex-direction: column-reverse;
        gap: 2rem;
    }
    .about-image {
        aspect-ratio: 4 / 5; /* Keep portrait ratio instead of landscape */
        max-height: 60vh; /* Allow it to be taller */
    }
    .about-image img {
        object-position: top center; /* Ensure the head is always visible */
    }
}

/* Capabilities */
.capabilities {
    background-color: var(--surface-1);
}

/* Hide mobile accordion descriptions on desktop */
.mobile-accordion-desc {
    display: none;
}

.section-title {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 4rem;
    letter-spacing: 0.1em;
    transition: letter-spacing 0.5s ease, color 0.5s ease;
}

.section-title:hover {
    letter-spacing: 0.15em;
    color: var(--text-primary);
}

.capabilities-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.capability-item {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
}

.capability-item h3 {
    font-size: clamp(3rem, 7vw, 6rem);
    color: var(--text-primary);
    transition: color var(--transition-medium), letter-spacing 0.5s ease;
}

.capability-item:hover h3 {
    color: var(--accent);
    letter-spacing: 0.02em;
}

/* Interlude */
.interlude {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg);
    padding: 4rem;
}

.interlude-title {
    font-size: clamp(3rem, 6vw, 5rem);
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    text-transform: none;
    font-weight: 300;
}

.interlude-word.highlight {
    font-style: italic;
    color: var(--burgundy-light);
    font-weight: 400;
}

.interlude-arrow {
    color: var(--text-secondary);
    font-weight: 300;
}

/* Philosophy */
.philosophy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.philosophy-list {
    display: flex;
    flex-direction: column;
}

.philosophy-details {
    position: sticky;
    top: 40vh;
    padding-left: 2rem;
    border-left: 1px solid rgba(244, 238, 230, 0.1);
}

.details-content {
    min-height: 120px;
}

.desc-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
}

.desc-text.fading {
    opacity: 0;
    transform: translateY(10px);
}

.philosophy-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 3rem 0;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: rgba(244, 238, 230, 0.1); /* Subtle primary text color */
    transition: width 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.philosophy-item.visible::before {
    width: 100%;
}

.philosophy-item:hover {
    transform: scale(1.02);
}

.philosophy-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--text-secondary);
    opacity: 0.4;
    font-weight: 300;
    line-height: 1;
    transition: color 0.5s ease, opacity 0.5s ease;
}

.philosophy-item:hover .philosophy-number {
    color: var(--accent);
    opacity: 1;
}

.philosophy-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: none;
    transition: color 0.5s ease;
}

.philosophy-item:hover .philosophy-content h3 {
    color: var(--accent);
}

.philosophy-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Contact */
.contact {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--surface-2);
}

.contact-title {
    font-size: clamp(4rem, 10vw, 12rem);
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

.contact-line {
    transition: letter-spacing 0.5s ease, color 0.5s ease;
}

.contact-line:hover {
    letter-spacing: 0.02em;
    color: var(--accent);
}

.contact-action {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bg);
    background-color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: background-color var(--transition-fast), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.contact-action:hover {
    background-color: var(--text-primary);
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand .brand-symbol {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

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

.footer-links a {
    color: inherit;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color var(--transition-fast);
}

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

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1), transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Image/Shape Parallax Transition */
.abstract-shape {
    transition: transform 0.1s linear;
}

/* Motion Blur Reveal */
.blur-reveal {
    display: inline-block;
    opacity: 0;
    filter: blur(12px);
    transform: translateX(-30px);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), 
                filter 1s cubic-bezier(0.19, 1, 0.22, 1),
                transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.blur-trigger.visible .blur-reveal {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.blur-trigger .blur-reveal:nth-child(1) { transition-delay: 0.1s; }
.blur-trigger .blur-reveal:nth-child(2) { transition-delay: 0.5s; }
.blur-trigger .blur-reveal:nth-child(3) { transition-delay: 0.9s; }

/* Hover effects for texts */
.interlude-word {
    display: inline-block;
    transition: transform var(--transition-medium);
}
.interlude:hover .interlude-word {
    transform: scale(1.05);
}
.interlude:hover .interlude-word.highlight {
    transform: scale(1.1) rotate(-2deg);
}

.contact-action {
    display: inline-block;
    padding: 1.5rem 3rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bg);
    background-color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: background-color var(--transition-fast), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1.5rem;
    }

    .section-padding {
        padding: 6rem 1.5rem;
    }
    .hero {
        padding: 0 1.5rem;
    }
    .hero-content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .hero-logo-wrapper {
        margin-left: 0;
        margin-bottom: 2rem;
        align-self: center;
    }
    .hero-mark {
        width: 240px;
        height: 228px;
    }
    .about-container {
        grid-template-columns: 1fr;
    }
    .hero-title-line.indent {
        padding-left: 0;
    }
    .philosophy-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .philosophy-container {
        grid-template-columns: 1fr;
    }
    .philosophy-details {
        position: relative;
        top: 0;
        border-left: none;
        padding-left: 0;
        padding-top: 2rem;
        border-top: 1px solid rgba(244, 238, 230, 0.1);
    }
    .footer {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   Responsive (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 768px) {
    /* Base */
    .section-padding { padding: 4rem 5vw; }
    
    /* Navigation */
    .nav { padding: 1rem 5vw; }
    .contact-btn { padding: 0.6rem 1.25rem; font-size: 0.7rem; }
    
    /* Hero */
    .hero { min-height: 90vh; padding-top: 15vh; }
    .hero-title { font-size: clamp(3.5rem, 15vw, 6rem); margin-bottom: 2rem; }
    .hero-title-line.indent { padding-left: 5vw; gap: 4vw; }
    .name-separator { margin: 1rem 0 1rem 5vw; width: 80%; }
    .hero-footer { flex-direction: column; align-items: flex-start; gap: 2rem; padding-bottom: 2rem; }
    .hero-motto { flex-wrap: wrap; font-size: 0.85rem; }
    .hero-meta { font-size: 0.65rem; gap: 0.5rem; white-space: nowrap; }
    .hero-logo-wrapper { padding-bottom: 2vh; padding-right: 5vw; width: 50vw; }
    .hero-live-meta { 
        position: relative; 
        top: 0; 
        right: auto; 
        flex-direction: column; 
        gap: 0.5rem; 
        align-items: flex-start; 
        margin-bottom: 2rem; 
        margin-left: 0;
    }
    
    /* Scrollytelling About */
    .scrolly-about {
        height: auto;
    }
    .scrolly-sticky-container {
        display: block;
        padding: 0;
        height: auto;
    }
    .scrolly-images {
        width: 100%;
        height: 100vh; /* Full viewport height */
        border-right: none;
        border-bottom: none;
        position: sticky;
        top: 0;
        z-index: 0;
    }
    .scrolly-content {
        width: 100%;
        height: auto;
        position: relative;
        z-index: 1;
        margin-top: -100vh; /* Pull over the sticky background */
        padding-top: 50vh; /* Start first text block halfway down */
    }
    .scrolly-step {
        padding: 2rem 5vw;
        position: relative; /* Normal scroll flow */
        top: auto;
        transform: none;
        height: auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        opacity: 1 !important; /* Override JS/Animation */
        pointer-events: auto;
        animation: none !important;
        margin-bottom: 0;
    }
    
    .scrolly-step:not(.active) {
        opacity: 1; 
    }
    
    .scrolly-text-card {
        background: rgba(19, 16, 15, 0.85);
        backdrop-filter: blur(15px);
        padding: 2rem;
        border: 1px solid rgba(122, 74, 51, 0.3);
        border-radius: 12px;
        max-width: 100%;
    }

    /* Accordions for Capabilities & Approach on Mobile */
    .mobile-accordion-desc {
        display: block; /* Override the global display: none */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
        font-size: 0.9rem;
        color: var(--text-secondary);
        line-height: 1.5;
    }
    .accordion-open .mobile-accordion-desc {
        max-height: 300px;
        opacity: 1;
        padding-top: 1rem;
    }
    .capability-item { min-height: auto; padding: 1.5rem; cursor: pointer; }
    .philosophy-item { cursor: pointer; }
    .philosophy-details { display: none; /* Hide desktop details panel */ }
    
    /* Interlude */
    .interlude {
        padding: 6rem 5vw;
    }
    .interlude-title {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .blur-reveal {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .interlude-arrow {
        transform: rotate(90deg);
        display: inline-block;
        font-size: 0.8em;
    }

    /* Capabilities */
    .capabilities-grid { gap: 1rem; }
    .capability-item h3 { font-size: 1.25rem; }
    
    /* Footer */
    .footer { flex-direction: column; gap: 2rem; padding: 2rem 5vw; align-items: center; text-align: center; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* FAQ Accordion Styles */
.faq-section {
    padding: 10vh 5vw;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 2rem;
    color: var(--text-primary);
    font-size: 1.25rem;
    font-family: var(--font-display);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--burgundy-light);
    transition: transform 0.3s ease;
    font-family: monospace;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}
