/* Base */
:root {
    --black: #0b0b0b;
    --white: #ffffff;
    --gray-50: #f8f9fb;
    --gray-100: #eef1f5;
    --gray-300: #c9d1dc;
    --gray-600: #5a677a;
    --text: #111111;
    --muted: #566074;
    --brand: #c7a144; /* subtle gold */
    --brand-600: #b18f39;
    --brand-700: #987b30;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

/* Layout helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    background: var(--black);
    z-index: 1000;
    padding: 10px 0;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo {
    height: 44px;
    width: auto;
    display: block;
}

.brand-name {
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 2px;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
    border-bottom-color: var(--white);
}

/* Hero */
.hero {
    background: url('images/hero-bg.png') no-repeat center center / cover, var(--black);
    min-height: 30vh;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    color: #fff;
    padding-top: 80px; /* account for fixed nav */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 400px at 50% 40%, rgba(199,161,68,0.25), rgba(0,0,0,0.6)),
    linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.65));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 840px;
    padding: 40px 0 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 10px;
}

.hero p {
    font-size: 1.125rem;
    color: #e8ecf4;
    margin: 0 0 22px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--brand);
    color: #1a1a1a;
    box-shadow: 0 6px 16px rgba(199,161,68,0.25);
}

.btn-primary:hover { background: var(--brand-600); }

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.6);
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* Sections */
.section {
    padding: 30px 0;
    scroll-margin-top: 96px; /* offset for anchored scrolling */
    background: var(--white);
}

.section-alt {
    background: var(--gray-50);
}

.section-title {
    font-size: 2rem;
    margin: 0 0 8px;
}

.section-lead {
    color: var(--muted);
    margin: 0 0 30px;
    max-width: 800px;
}

/* Grid helpers */
.grid {
    display: grid;
    gap: 20px;
}

.cards {
    grid-template-columns: repeat(12, 1fr);
}

.card {
    grid-column: span 12;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(20, 30, 55, 0.06);
}

.card h3 {
    margin: 0 0 6px;
}

.card p {
    margin: 0 0 10px;
    color: var(--muted);
}

.bullets {
    margin: 0;
    padding-left: 18px;
    color: var(--text);
}

/* Features (Why TTV) */
.features {
    grid-template-columns: repeat(12, 1fr);
    align-items: start;
}

.feature {
    grid-column: span 12;
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 22px;
}

.icon-pair {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;         /* space around the slash */
    font-size: 1.75rem;  /* controls icon size (try 28px–36px) */
    line-height: 1;
}

.icon-slash {
    opacity: 0.7;        /* make the slash a bit softer */
    transform: translateY(-1px);
    font-size: 0.9em;    /* slightly smaller than icons */
}

.feature-icon {
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 8px;
}

/* Team */
/* Team grid layout */
.team-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: 24px;
}

/* 2 columns on small/medium screens */
@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3 columns on desktop */
@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Optional: basic styling for cards/headers/avatars */
.member-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.member-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.card {
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 30, 55, 0.06);
}

.team-card {
    grid-column: span 12;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(20, 30, 55, 0.06);
}

.team-photo {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--gray-100);
}

.team-body { min-width: 0; }

.team-name {
    margin: 0 0 2px;
}

.team-role {
    margin: 0 0 8px;
    color: var(--brand-700);
    font-weight: 700;
}

.team-bio {
    margin: 0 0 10px;
    color: var(--muted);
}

.team-links {
    display: flex;
    gap: 14px;
}

.link {
    color: var(--brand-700);
    text-decoration: none;
    font-weight: 700;
}

.link:hover { text-decoration: underline; }

/* Contact */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.contact-form {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(20, 30, 55, 0.06);
}

.form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

textarea { resize: vertical; }

.contact-aside {
    color: var(--muted);
}

.small {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 26px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-mark {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.footer-name {
    font-weight: 700;
}

.footer-meta {
    display: inline-flex;
    gap: 16px;
    align-items: center;
}

.funding-box {
    background: black;
    border: 1px solid var(--gray-100, #e9edf3);
    border-left: 1px solid var(--gray-100, #e9edf3);
    border-radius: var(--radius-card, 12px);
    padding: clamp(16px, 2.5vw, 24px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    margin: 1.25rem 0;
}

.funding-box p {
    margin: 0 0 0.75rem;
    color: white;
}

.funding-box p:last-child {
    margin-bottom: 0;
}


.funding-label {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand-700, #987b30);
    background: color-mix(in srgb, var(--brand, #c7a144) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--brand, #c7a144) 35%, transparent);
    border-radius: 999px;
}

/* Header social icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    color: #fff;
    font-size: 20px; /* icon size */
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Contact section */
.contact {
    padding: clamp(48px, 8vw, 84px) 0;
    background: linear-gradient(180deg, rgba(249, 250, 251, 0.6), rgba(249, 250, 251, 0));
}

.contact h2 {
    text-align: center;
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
}

.contact-intro {
    text-align: center;
    color: #555;
    margin: 0 0 28px;
}

.contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-card, 12px);
    background: var(--gray-50, #f7f8fa);
    border: 1px solid var(--gray-100, #e9edf3);
    color: #111;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: transform 0.12s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.contact-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: #d7dde6;
    background: #ffffff;
}

.contact-card i.ti {
    font-size: 20px;
    line-height: 1;
}

.contact-card:focus-visible {
    outline: 3px solid #9ac6ff;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #fff, 0 0 0 6px rgba(51, 126, 255, 0.35);
}

/* Responsive */
@media (max-width: 800px) {
    .contact-actions {
        grid-template-columns: 1fr;
    }
}

/* Responsive */
@media (min-width: 640px) {
    .card { grid-column: span 6; }
    .feature { grid-column: span 4; }
    .team-card { grid-column: span 6; }
    .contact-wrap {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: start;
    }
}

@media (min-width: 960px) {
    .card { grid-column: span 4; }
    .hero h1 { font-size: 3.25rem; }
}