/* Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Off-white and Black like Gumroad */
    --primary: #0a0a0a;
    --off-white: #fafaf9;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    
    /* Blue Integration - Subtle accents */
    --blue: #101A70;
    --blue-light: #3b82f6;
    --blue-subtle: #eff6ff;
    
    /* Typography */
    --font-primary: 'covik-sans', sans-serif;
    --font-display: 'Faculty Glyphic', sans-serif;
    --font-display-weight: 400;
    
    /* Spacing */
    --section-gap: clamp(4rem, 10vw, 8rem);
    --container-padding: clamp(1rem, 4vw, 2rem);
    
    /* Animations */
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --fast: 0.3s;
    --medium: 0.6s;
    --slow: 1s;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--off-white);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

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

/* Floating Navigation - Gumroad style */
.nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.nav-pill {
    background: var(--white);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-brand {
    font-family: "rl-aqva", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 1.15rem;
    color: var(--blue); /* <-- UPDATED from var(--primary) */
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-menu {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--fast) var(--ease);
    position: relative;
    text-transform: lowercase;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width var(--fast) var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: all var(--fast) var(--ease);
}

.dot.active {
    background: var(--blue);
    transform: scale(1.2);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--primary);
    transition: var(--fast);
}

/* Hero Section - Gumroad inspired */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: var(--section-gap) var(--container-padding);
    background: var(--off-white);
    color: var(--primary);
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-title {
    font-family: "ltc-goudy-heavyface-pro", sans-serif;
    font-size: clamp(1.8rem, 6vw, 4rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.rotating-words {
    position: relative;
    display: inline-block;
    width: 500px;
    height: 1.3em;
    vertical-align: baseline;
}

.word {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(0);
    transition: opacity var(--medium) var(--ease);
    color: var(--blue);
    font-weight: 500;
    white-space: nowrap;
}

.word.active {
    opacity: 1;
    transform: translateY(0);
    position: absolute;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--gray-600);
    max-width: 520px;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.connection-animation {
    position: relative;
    width: 200px;
    height: 100px;
}

.brand-dot, .audience-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
}

.brand-dot {
    background: var(--primary);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s ease-in-out infinite;
}

.audience-dot {
    background: var(--blue);
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s ease-in-out infinite 1s;
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--blue));
    animation: connect 3s ease-in-out infinite;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: var(--gray-600);
    margin: 0 auto; /* Removed top margin */
    animation: scrollDown 2s ease-in-out infinite;
}

/* Section Numbers */
.section-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* Brand Manifesto Section - Gumroad inspired */
.brand-manifesto {
    padding: calc(var(--section-gap) * 1.5) 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.strategy-network {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.network-node {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.3;
    animation: network-pulse 4s ease-in-out infinite;
}

.network-node.node-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.network-node.node-2 {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.network-node.node-3 {
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

.network-node.node-4 {
    bottom: 20%;
    right: 25%;
    animation-delay: 3s;
}

.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 300px;
    opacity: 0.15;
}

.network-svg {
    width: 100%;
    height: 100%;
    color: var(--blue);
    animation: network-flow 8s ease-in-out infinite;
}

.manifesto-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.manifesto-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--primary);
    text-transform: none;
}

.gradient-text {
    color: var(--blue);
    font-weight: 400;
}

.scroll-shapes {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.shape-line {
    width: 30px;
    height: 2px;
    background: var(--blue);
    animation: pulse-line 2s ease-in-out infinite;
}

.shape-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--blue-light);
    animation: pulse 2s ease-in-out infinite 1s;
}

/* Section Titles */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 400;
    font-style: normal;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--primary);
}

/* What We Do Section - Clean Gumroad card style */
.what {
    padding: var(--section-gap) 0;
    position: relative;
    background: var(--off-white);
}

.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.dot-element {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.2;
    animation: drift 8s ease-in-out infinite;
}

.dot-element:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.dot-element:nth-child(2) {
    top: 70%;
    right: 30%;
    animation-delay: 3s;
}

.dot-element:nth-child(3) {
    bottom: 30%;
    left: 60%;
    animation-delay: 6s;
}

.what-header {
    margin-bottom: 4rem;
}

.capabilities-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.capability-item {
    border-bottom: 1px solid var(--gray-200);
    transition: all var(--medium) var(--ease);
}

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

.capability-header {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
    transition: all var(--fast) var(--ease);
}

.capability-header:hover {
    padding-left: 1rem;
}

.capability-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    transition: all var(--medium) var(--ease);
}

.capability-item.active .capability-icon,
.capability-header:hover .capability-icon {
    background: var(--blue);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 26, 112, 0.3);
}

.capability-header h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary);
    letter-spacing: -0.01em;
    transition: color var(--fast) var(--ease);
}

.capability-item.active .capability-header h3,
.capability-header:hover h3 {
    color: var(--blue);
}

.toggle-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--medium) var(--ease);
    justify-self: end;
    position: relative;
}

.toggle-icon span {
    width: 20px;
    height: 2.5px;
    background: var(--primary);
    transition: all var(--medium) var(--ease);
    position: absolute;
}

/* + sign default */
.toggle-icon span:nth-child(1) {
    transform: rotate(0deg);
}

.toggle-icon span:nth-child(2) {
    transform: rotate(90deg);
}

.toggle-icon span:nth-child(3) {
    opacity: 0;
    transform: rotate(45deg) scale(0);
}

.toggle-icon span:nth-child(4) {
    opacity: 0;
    transform: rotate(135deg) scale(0);
}

.capability-item.active .toggle-icon {
    border-color: var(--blue);
    background: var(--blue-subtle);
}

.capability-item.active .toggle-icon span {
    background: var(--blue);
    height: 3px;
}

/* Asterisk when active - 8 pointed star */
.capability-item.active .toggle-icon span:nth-child(1) {
    transform: rotate(22.5deg);
}

.capability-item.active .toggle-icon span:nth-child(2) {
    transform: rotate(67.5deg);
}

.capability-item.active .toggle-icon span:nth-child(3) {
    opacity: 1;
    transform: rotate(112.5deg) scale(1);
}

.capability-item.active .toggle-icon span:nth-child(4) {
    opacity: 1;
    transform: rotate(157.5deg) scale(1);
}

.capability-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 60px;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.capability-item.active .capability-content {
    max-height: 1000px;
    padding-bottom: 2.5rem;
}

.capability-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 700px;
}

/* How We Work Section - Blue accent but cleaner */
.how {
    padding: var(--section-gap) 0 calc(var(--section-gap) * 0.5) 0;
    position: relative;
    background: var(--white);
    color: var(--primary);
}

.wave-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

.wave-svg {
    width: 100%;
    height: 100px;
    color: var(--blue);
    animation: wave-flow 10s ease-in-out infinite;
}

.how-header {
    margin-bottom: 4rem;
}

.how .section-title {
    color: var(--primary);
}

.approach-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.approach-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: all var(--medium) var(--ease);
    border: 1px solid var(--gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.approach-card:hover {
    transform: rotate(1deg) translateY(-4px);
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(0, 74, 173, 0.12);
}

.approach-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0.5rem;
    text-transform: none;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.approach-card p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}

.approach-card::after {
    content: '';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0;
    transition: opacity var(--medium) var(--ease);
}

.approach-card:hover::after {
    opacity: 1;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Video Section */
.video-section {
    text-align: center;
    margin-top: 4rem;
}

.video-intro h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 0.5rem;
    text-transform: none;
    color: var(--blue); /* <-- UPDATED per request */
    letter-spacing: -0.01em;
}

.video-intro p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

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

.video-placeholder {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 4rem 2rem;
    color: var(--primary);
    cursor: pointer;
    transition: all var(--medium) var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 74, 173, 0.05), transparent);
    transition: left var(--slow) var(--ease);
}

.video-placeholder:hover::before {
    left: 100%;
}

.video-placeholder:hover {
    transform: scale(1.02);
    border-color: var(--blue);
    box-shadow: 0 8px 32px rgba(0, 74, 173, 0.15);
}

.play-button {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--blue);
}

/* Who We Are Section - Clean Gumroad style */
.who {
    padding: calc(var(--section-gap) * 0.5) 0 var(--section-gap) 0;
    position: relative;
    background: var(--white);
}

.background-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 74, 173, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 74, 173, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-shift 20s linear infinite;
    pointer-events: none;
}

.who-content {
    display: grid;
    align-items: center;
}

.who-text-continued {
    grid-column: 1;
    margin-top: 2rem;
}

.who-visual {
    margin-left: 4rem;
}

.bio-text p {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.cred-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: all var(--medium) var(--ease);
}

.cred-item:hover {
    background: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.cred-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--blue);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.cred-label {
    font-size: 0.9rem;
    color: var(--blue); /* <-- UPDATED per request */
    opacity: 0.8; /* <-- ADDED to soften */
    text-transform: lowercase;
}

.brand-statement {
    background: var(--white);
    color: var(--primary);
    border-radius: 20px;
    padding: 3rem 2rem;
    position: relative;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.brand-statement::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: var(--blue);
    opacity: 0.2;
}

.brand-statement p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary);
    letter-spacing: -0.01em;
}

/* Let's Talk Section - Clean Gumroad style */
.talk {
    padding: var(--section-gap) 0;
    position: relative;
    background: var(--off-white);
    color: var(--primary);
}

.contact-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.shape-ring {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 100px;
    height: 100px;
    border: 3px solid var(--blue);
    border-radius: 50%;
    opacity: 0.1;
    animation: rotate 15s linear infinite;
}

.shape-cross {
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    opacity: 0.1;
    animation: pulse 3s ease-in-out infinite;
}

.shape-cross::before,
.shape-cross::after {
    content: '';
    position: absolute;
    background: var(--blue);
}

.shape-cross::before {
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    transform: translateY(-50%);
}

.shape-cross::after {
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
}

.talk-header {
    text-align: center;
    margin-bottom: 4rem;
}

.talk .section-title {
    color: var(--primary);
}

.talk-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-top: 1rem;
}

.contact-layout {
    display: grid;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all var(--medium) var(--ease);
}

.contact-item:hover {
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.1);
}

.contact-label {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.8rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--fast) var(--ease);
}

.contact-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contact-text {
    color: var(--primary);
    font-weight: 500;
}

/* Contact Form - Gumroad style */
.contact-form {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 1rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1.25rem 0.75rem; /* <-- REDUCED PADDING HERE */
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--fast) var(--ease);
    background: var(--gray-50);
    color: var(--primary);
    width: 100%;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray-600);
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 20px;
    padding-right: 3.5rem;
    grid-column: 1 / -1;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
}

.contact-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    min-height: 120px;
    margin-bottom: 0;
    width: 100%;
}

.submit-btn {
    background: #101A70;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--fast) var(--ease);
    text-transform: lowercase;
    width: 100%;
    justify-content: center;
    grid-column: 1 / -1;
}

.submit-btn:hover {
    background: #0d1558;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 26, 112, 0.3);
}

.btn-arrow {
    transition: transform var(--fast) var(--ease);
}

.submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Footer - Clean */
.footer {
    background: var(--blue);
    color: white;
    padding: 3rem 0;
    text-align: left;
}

.footer-brand {
    font-family: "rl-aqva", sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 2rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white); /* Ensure it's white */
}

/* NEW FOOTER STYLES */
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--fast) var(--ease);
}

.footer-socials a:hover {
    color: var(--white);
}

.footer-socials svg {
    width: 24px;
    height: 24px;
    fill: currentColor; /* Inherit color from the <a> tag */
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--fast) var(--ease);
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-legal {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal .footer-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
}

.footer-legal .footer-link:hover {
    color: var(--white);
}

.footer-legal span {
    margin: 0 0.25rem;
}
/* END NEW FOOTER STYLES */


/* Animations */
@keyframes pulse {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

@keyframes connect {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes scrollDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@keyframes network-pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

@keyframes network-flow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.4; }
}

@keyframes drift {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-15px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-5px); }
}

@keyframes wave-flow {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(-20px); }
}

@keyframes grid-shift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .nav-dots {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .who-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .who-text {
        grid-column: 1;
        grid-row: 1;
    }
    
    .who-visual {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }
    
    .who-text-continued {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0;
    }
    
    .contact-layout {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-item {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .approach-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .credentials {
        grid-template-columns: repeat(3, 1fr);
    }
}

/*
===================================
MOBILE STYLES (max-width: 767px)
===================================
*/
@media (max-width: 767px) {

    /* --- NEW: Standalone Mobile Nav --- */
    .nav {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        padding: 1.5rem var(--container-padding);
        z-index: 1000;
        display: flex;
        justify-content: center;
        /* NEW: Scroll-activated background */
        transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    }
    
    .nav.nav-scrolled {
        background: rgba(255, 255, 255, 0.7);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .nav-pill {
        padding: 0;
        gap: 0;
        position: relative;
        background: transparent;
        border: none;
        width: 100%;
        justify-content: center;
        align-items: center;
        box-shadow: none;
        backdrop-filter: none;
    }
    
    .nav-brand {
        font-size: 1.5rem; /* <-- UPDATED per request (was 1.4rem) */
        position: relative;
        padding-bottom: 0.5rem;
    }
    
    .nav-brand::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--blue);
    }
    
    /* --- NEW: Fullscreen Menu Overlay --- */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--blue);
        padding: 0;
        margin: 0;
        box-shadow: none;
        display: flex; /* <-- Ensures it's always ready to be animated */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease);
        z-index: 1001; /* Below toggle */
        border-radius: 0;
        border: none;
    }
    
    .nav-menu.active {
        /* display: flex; */ /* <-- No longer needed */
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* --- NEW: Standalone "menu" / "X" Toggle --- */
    .nav-toggle {
        display: flex;
        flex-direction: column; /* Revert to column for span layout */
        gap: 3px;
        cursor: pointer;
        color: var(--blue);
        font-family: var(--font-primary);
        font-weight: 500;
        font-size: 0.9rem;
        text-transform: lowercase;
        z-index: 1002;
        transition: color 0.3s ease;
        position: fixed;
        top: 1.5rem; /* Match .nav padding */
        right: 25px; /* <-- UPDATED per request (was var(--container-padding)) */
        transform: none;
        width: 20px; /* Give it a consistent width */
        height: 20px; /* Give it a consistent height */
        justify-content: center; /* Center the X */
        align-items: center; /* Center the X */
    }
    
    .nav-toggle::after {
        content: 'menu';
        position: absolute;
        top: 0;
        left: 0;
        transition: opacity 0.2s ease;
    }

    .nav-toggle span {
        display: block; /* Show spans now */
        background: var(--white); /* Hide them by default (white on white) */
        width: 20px;
        height: 2px;
        transition: all var(--fast) var(--ease);
        opacity: 0; /* Hide them */
    }

    .nav-toggle.active::after {
        content: '';
        opacity: 0; /* Hide "menu" text */
    }
    
    .nav-toggle.active {
        color: var(--white);
    }
    
    /* "X" Icon Styles */
    .nav-toggle.active span {
        background: var(--white); /* Show them (white on blue) */
        opacity: 1; /* Show them */
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -3px);
    }
    /* --- END: Standalone "menu" / "X" Toggle --- */

    /* --- NEW: Fullscreen Menu Links --- */
    .nav-menu .nav-link {
        color: var(--white);
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 400;
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu.active .nav-link:hover,
    .nav-menu.active .nav-link.active {
        color: var(--white);
        opacity: 0.8;
    }

    /* Stagger animation for links */
    .nav-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }
    .nav-menu.active .nav-link:nth-child(1) { transition-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(2) { transition-delay: 0.25s; }
    .nav-menu.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active .nav-link:nth-child(4) { transition-delay: 0.35s; }
    .nav-menu.active .nav-link:nth-child(5) { transition-delay: 0.4s; }
    /* --- END: Fullscreen Menu --- */


    .nav-dots {
        display: none;
    }
    
    /* --- NEW: Centered Mobile Hero --- */
    .hero {
        min-height: auto;
        padding: 9rem var(--container-padding) 2rem;
    }
    
    .hero-main {
        text-align: center; /* <-- Center text */
    }
    
    .hero-grid {
        gap: 0.25rem;
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 8vw, 3.5rem);
        line-height: 1.25;
        margin-bottom: 0.5rem;
    }
    
    .rotating-words {
        display: block; /* Make it a block element */
        margin: 0 auto; /* Center it */
        width: 100%;
        max-width: 280px;
        height: 1.2em;
    }
    
    /* --- ADDED: Fix for centered rotating words --- */
    .rotating-words .word {
        left: 50%;
        transform: translateX(-50%) translateY(0);
    }
    
    .rotating-words .word.active {
        transform: translateX(-50%) translateY(0);
    }
    /* --- END: Fix for centered rotating words --- */
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 0.5rem;
        margin-left: auto; /* Center the subtitle */
        margin-right: auto; /* Center the subtitle */
    }
    /* --- END: Centered Mobile Hero --- */
    
    /* Make hero visual visible on mobile */
    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
        min-height: 80px;
    }
    
    /* Optimize connection animation for mobile - more space for rotation */
    .connection-animation {
        width: 140px;
        height: 140px;
        margin: 0 auto;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .brand-dot, .audience-dot {
        width: 16px;
        height: 16px;
    }
    
    .connection-line {
        left: 16px;
        right: 16px;
        height: 2px;
    }
    
    /* Mobile capabilities accordion */
    .capability-header {
        grid-template-columns: 48px 1fr 48px;
        padding: 1.5rem 0;
    }
    
    .capability-header:hover {
        padding-left: 0;
    }
    
    .capability-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .capability-header h3 {
        font-size: 1.3rem;
    }
    
    .toggle-icon {
        width: 40px;
        height: 40px;
    }
    
    .toggle-icon span {
        width: 16px;
    }
    
    .capability-item.active .toggle-icon span {
        height: 2.5px;
    }
    
    .capability-content {
        padding: 0 0 0 48px;
    }
    
    .capability-item.active .capability-content {
        padding: 0 0 2rem 48px;
    }
    
    .capability-content p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    /* Mobile approach cards */
    .approach-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
        transition: all 0.4s ease;
    }
    
    .approach-card.mobile-visible {
        border-color: var(--blue) !important;
        box-shadow: 0 8px 24px rgba(0, 74, 173, 0.12) !important;
        transform: translateY(-4px) !important;
    }
    
    .approach-card h3 {
        font-size: 1.1rem;
    }
    
    .approach-card p {
        font-size: 0.9rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .section-number {
        display: none;
    }
    
    .network-node {
        opacity: 0.1;
    }
    
    .connection-lines {
        width: 280px;
        height: 200px;
    }
    
    .manifesto-title {
        line-height: 1.2;
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .contact-item {
        text-align: center;
        padding: 1.25rem;
    }
    
    .contact-info {
        gap: 1rem;
    }
    
    .approach-grid {
        gap: 1rem;
    }
    
    /* Better mobile spacing */
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.2rem);
        margin-bottom: 2rem;
    }
    
    .scroll-indicator {
        display: none; /* <-- UPDATED per request */
    }
    
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .contact-form textarea {
        grid-column: 1;
        width: 100%;
    }
    
    .submit-btn {
        grid-column: 1;
        width: 100%;
    }
    
    /* Better mobile form */
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        /* Padding is now inherited from the main rule */
    }
    
    .submit-btn {
        padding: 1.25rem 2rem;
        font-size: 1.05rem;
    }
    
    /* Mobile credentials */
    .credentials {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .cred-item {
        padding: 1.25rem;
    }
    
    /* Mobile bio text optimization */
    .bio-text p {
        font-size: 1rem;
        line-height: 1.65;
        margin-bottom: 1.25rem;
    }
    
    /* Mobile who section - quote naturally between paragraphs */
    .who-content {
        display: block;
    }
    
    .who-text-continued {
        margin-top: 0;
    }
    
    .who-visual {
        margin: 1.5rem 0;
        margin-left: 0;
    }
    
    /* Smaller quote card on mobile */
    .brand-statement {
        padding: 2rem 1.5rem;
        border-radius: 16px;
    }
    
    .brand-statement p {
        font-size: 1.05rem;
        line-height: 1.5;
    }
    
    .brand-statement::before {
        font-size: 3rem;
        top: 0.75rem;
        left: 1.5rem;
    }
    
    /* Better mobile video placeholder */
    .video-placeholder {
        padding: 3rem 1.5rem;
    }
    
    .play-button {
        font-size: 2.5rem;
    }
    
    /* NEW RESPONSIVE FOOTER STYLES */
    .footer {
        padding: 2.5rem 0;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .footer-brand {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column-reverse; /* Legal below nav */
        align-items: center;
        gap: 2rem;
    }

    .footer-nav {
        justify-content: center;
        gap: 0.75rem 1.25rem;
    }
    
    .footer-legal {
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal span {
        display: none; /* Hide themiddot */
    }
    /* END NEW RESPONSIVE FOOTER STYLES */

    /* Center the 'talk' section title on mobile */
    .talk-header .section-title,
    .talk-header .talk-subtitle {
        text-align: center !important;
    }
    
    /* NUCLEAR MOBILE FIX */
    * {
        text-indent: 0 !important;
    }
    
    .container {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    .section-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
        text-align: left !important;
        padding: 0 !important;
        margin-left: 0 !important;
        transform: none !important;
    }
    
    .manifesto-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }
    
    .hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
}