/* ============================================
   Sound Innovation LLC — Klara-Inspired Editorial
   Warm cream, serif/sans-serif pairing, restrained
   ============================================ */

/* CSS Variables */
:root {
    /* Warm Palette */
    --cream: #FAF7F2;
    --cream-dark: #F3EDE4;
    --warm-white: #FFFCF8;
    --charcoal: #2A2A2A;
    --charcoal-light: #3D3D3D;
    --text-body: #5C5C5C;
    --text-muted: #8A8A8A;
    --border-light: #E8E2D8;
    --border-subtle: #F0EBE3;

    /* Accent — Coral/Terracotta */
    --accent: #C4724E;
    --accent-light: #D4885F;
    --accent-bg: rgba(196, 114, 78, 0.08);
    --accent-border: rgba(196, 114, 78, 0.2);

    /* Gold */
    --gold: #B8956A;
    --gold-light: #D4B68C;

    /* Typography */
    --font-serif: 'Source Serif 4', 'Georgia', 'Times New Roman', serif;
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-width: 1100px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows — very subtle */
    --shadow-sm: 0 1px 3px rgba(42, 42, 42, 0.04);
    --shadow-md: 0 4px 12px rgba(42, 42, 42, 0.06);
    --shadow-lg: 0 8px 30px rgba(42, 42, 42, 0.08);
    --shadow-xl: 0 16px 48px rgba(42, 42, 42, 0.1);

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom-color: var(--border-light);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 18px;
    color: var(--charcoal);
    letter-spacing: -0.01em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast);
    letter-spacing: 0.01em;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cream);
}

.hero-background {
    position: absolute;
    inset: 0;
    background: var(--cream);
}

/* Subtle warm texture */
.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/background.avif') center/cover no-repeat;
    opacity: 0.04;
    filter: saturate(0.3) sepia(0.3);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(196, 114, 78, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(184, 149, 106, 0.04) 0%, transparent 60%);
}

.hero-pattern {
    display: none;
}

.hero-background::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 32px;
    max-width: var(--container-width);
    width: 100%;
}

.hero-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 600;
    line-height: 1.05;
    color: var(--charcoal);
    letter-spacing: -0.035em;
    margin-bottom: 0;
}

.hero-rule {
    width: 48px;
    height: 2px;
    background: var(--accent);
    margin: 36px 0;
    border-radius: 2px;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 0 48px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.scroll-indicator {
    width: 18px;
    height: 28px;
    border: 1.5px solid var(--border-light);
    border-radius: 9px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 5px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll 2.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.2; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(196, 114, 78, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--charcoal);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--charcoal);
    background: rgba(42, 42, 42, 0.03);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 1.5px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: #fff;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Section System
   ============================================ */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 72px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--warm-white);
}

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

.about-content {
    padding-top: 8px;
}

.about-lead {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 20px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    padding: 28px 28px;
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: var(--accent);
    border-radius: 2px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ============================================
   Technology Section
   ============================================ */
.technology {
    background: var(--charcoal);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle texture, not a grid */
.technology::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(196, 114, 78, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(184, 149, 106, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.technology .section-label {
    color: var(--gold-light);
}

.technology .section-title {
    color: #fff;
}

.technology-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.technology-text p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.8;
}

.technology-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.technology-list li {
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    border-left: 2px solid var(--gold);
    transition: all var(--transition-base);
}

.technology-list li:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateX(3px);
}

.technology-list li strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.technology-list li span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

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

.tech-graphic {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ring-1 {
    inset: 0;
    border-color: rgba(255, 255, 255, 0.06);
}

.ring-2 {
    inset: 50px;
    border-color: rgba(184, 149, 106, 0.15);
}

.ring-3 {
    inset: 100px;
    border-color: rgba(196, 114, 78, 0.15);
}

/* Single subtle orbiting dot */
.ring-1::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: var(--gold-light);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold-light);
    animation: orbitDot 20s linear infinite;
}

@keyframes orbitDot {
    from { transform: rotate(0deg) translateX(150px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(150px) rotate(-360deg); }
}

.tech-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1.5px;
}

/* ============================================
   Team Section
   ============================================ */
.team {
    background: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
}

.team-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-subtle);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.team-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.team-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(42, 42, 42, 0.04) 100%);
    pointer-events: none;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.03);
}

.team-info {
    padding: 20px 14px 24px;
}

.team-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.team-title {
    font-size: 13px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0;
    letter-spacing: 0.02em;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--warm-white);
}

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

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info > p {
    color: var(--text-body);
    margin-bottom: 36px;
    font-size: 16px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.contact-item strong {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.contact-item a,
.contact-item span {
    font-size: 15px;
    color: var(--text-body);
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form-container {
    background: var(--cream);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-sans);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--warm-white);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    color: var(--charcoal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(196, 114, 78, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--charcoal);
    color: #fff;
    padding: 64px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(184, 149, 106, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    max-width: 300px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    letter-spacing: 0.03em;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-features {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .feature-card {
        flex: 1 1 calc(50% - 8px);
        min-width: 260px;
    }

    .technology-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .technology-visual {
        order: -1;
    }

    .tech-graphic {
        width: 240px;
        height: 240px;
    }

    .ring-1::after {
        display: none;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }

    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 0 24px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        justify-content: center;
        gap: 0;
        transition: var(--transition-base);
        box-shadow: -8px 0 30px rgba(42, 42, 42, 0.1);
    }

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

    .nav-link {
        padding: 14px 32px;
        font-size: 17px;
        width: 100%;
        color: var(--charcoal);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .hero-rule {
        margin: 28px 0;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-scroll {
        display: none;
    }

    .feature-card {
        flex: 1 1 100%;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
        margin: 0 auto;
        gap: 16px;
    }

    .contact-form-container {
        padding: 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 14px;
    }

    .tech-graphic {
        width: 180px;
        height: 180px;
    }

    .tech-center {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}
