/* 极简简约风 — 留白、细线分割、低对比、无装饰噪音 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --line: #e5e5e5;
    --line-strong: #d4d4d4;
    --text: #171717;
    --text-mid: #525252;
    --text-muted: #737373;
    --accent: #171717;
    --font-display: "DM Sans", system-ui, sans-serif;
    --font-body: "DM Sans", system-ui, sans-serif;
    --max: 40rem;
    --gutter: clamp(20px, 4vw, 40px);
    --section-y: clamp(4rem, 10vw, 7rem);
    --radius: 2px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
    background: var(--bg);
}

body::before {
    display: none;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.logo-icon {
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.35rem 0.42rem;
    background: var(--text);
    color: #fff;
    border-radius: var(--radius);
    line-height: 1;
    letter-spacing: 0.06em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.75rem;
    align-items: center;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.35rem;
    border: none;
    background: transparent;
}

.hamburger span {
    width: 22px;
    height: 1px;
    background: var(--text);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: calc(4rem + 56px) 0 5rem;
    position: relative;
}

.hero-background,
.hero-grid,
.hero-sun {
    display: none;
}

.hero .container {
    width: 100%;
}

.hero-content {
    max-width: var(--max);
}

.hero-kicker {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.875rem, 4.2vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.title-line {
    display: block;
}

.title-line.highlight {
    color: var(--text);
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-top: 0.15em;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
    line-height: 1.75;
    max-width: 38em;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.65rem 0;
    border: none;
    border-bottom: 1px solid var(--text);
    border-radius: 0;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    color: var(--text);
    font-family: var(--font-body);
    transition: color 0.15s, border-color 0.15s;
}

.btn:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
}

.btn-primary {
    border-bottom-color: var(--accent);
}

.btn-secondary {
    color: var(--text-mid);
    border-bottom-color: var(--line-strong);
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    color: var(--text-muted);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.arrow {
    width: 1.5rem;
    height: 1px;
    background: var(--line-strong);
    box-shadow: none;
}

section {
    padding: var(--section-y) 0;
}

.section-header {
    margin-bottom: 2.5rem;
    max-width: 32em;
}

.section-title {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

h2.section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.625rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.section-subtitle {
    font-size: 0.9375rem;
    color: var(--text-mid);
    line-height: 1.65;
}

#services {
    border-top: 1px solid var(--line);
}

#about,
#why,
#contact {
    border-top: 1px solid var(--line);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: var(--max);
}

@media (min-width: 680px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0 2.5rem;
    }
}

.product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
    transition: none;
}

.product-card:hover {
    transform: none;
    box-shadow: none;
}

.product-card:nth-last-child(1) {
    border-bottom: none;
}

.product-image,
.product-placeholder,
.product-overlay,
.product-badge {
    display: none;
}

.product-content {
    padding: 0;
}

.product-title {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.product-meta {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 0.65rem;
}

.product-description {
    color: var(--text-mid);
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.product-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 1px;
    background: none;
}

.product-link:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: none;
}

@media (min-width: 800px) {
    .about-content {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 3rem;
        align-items: start;
    }
}

.about-description {
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 0.9875rem;
    max-width: 38em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    max-width: 22em;
}

@media (min-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: none;
    }
}

.stat-item {
    padding: 0;
    background: transparent;
    border: none;
    text-align: left;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.15rem;
}

.stat-label {
    font-size: 0.625rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.about-placeholder {
    min-height: 8rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 0;
    padding: 1.25rem;
    box-shadow: none;
    transform: none;
}

.code-block {
    font-family: ui-monospace, monospace;
    font-size: 0.7rem;
    line-height: 1.65;
    color: var(--text-mid);
    margin: 0;
    overflow-x: auto;
}

.code-block .kw {
    color: var(--text);
}

.code-block .fn {
    color: #444;
}

.code-block .str {
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: var(--max);
}

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.team-member {
    padding: 2rem 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.team-member:last-child {
    border-bottom: none;
}

.team-member:nth-child(n) {
    background: transparent;
}

.team-member:hover {
    transform: none;
    box-shadow: none;
}

.member-avatar {
    margin-bottom: 0.6rem;
}

.member-avatar .why-icon {
    font-family: var(--font-body);
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--text-muted);
    display: inline-block;
    padding: 0;
    background: none;
    border: none;
    letter-spacing: 0.08em;
}

.member-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.member-role {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.45rem;
}

.member-bio {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 22em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: none;
}

@media (min-width: 720px) {
    .contact-content {
        grid-template-columns: 1fr 1.05fr;
        gap: 3.5rem;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.info-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.info-icon {
    font-size: 0.95rem;
    opacity: 0.45;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.info-text p {
    color: var(--text-mid);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.info-text a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--line-strong);
}

.info-text a:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
}

.field-label {
    display: block;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.65rem 0;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text);
    transition: border-color 0.15s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--text);
    box-shadow: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 7.5rem;
}

.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 3rem 0 1.75rem;
    color: var(--text-mid);
}

.footer::before {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 2rem;
}

@media (min-width: 700px) {
    .footer-content {
        grid-template-columns: 1.35fr 0.85fr 1fr;
        gap: 2.5rem;
    }
}

.footer .logo {
    color: var(--text);
}

.footer .logo .logo-icon {
    background: var(--text);
}

.footer-title {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
    color: var(--text-muted);
}

.footer-description {
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 22em;
    margin-bottom: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    padding: 0;
}

.social-link:hover {
    color: var(--text);
    border-bottom-color: var(--line-strong);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: var(--text-mid);
    font-size: 0.875rem;
    text-decoration: none;
}

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

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.newsletter-form input {
    padding: 0.6rem 0;
    border: none;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-size: 0.875rem;
}

.newsletter-form input:focus {
    outline: none;
    border-bottom-color: var(--text);
}

.newsletter-form .btn {
    align-self: flex-start;
}

.footer-bottom {
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 56px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(250, 250, 250, 0.98);
        padding: 1rem var(--gutter) 1.25rem;
        border-bottom: 1px solid var(--line);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.2s ease, opacity 0.15s ease;
        gap: 0.65rem;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu .nav-link {
        padding: 0.25rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3.25rem 0;
    }

    .hero {
        padding-top: calc(3rem + 52px);
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto;
    }
}

/* Retro film style overrides */
:root {
    --bg: #e9dfc8;
    --surface: #f0e7d2;
    --line: #b8aa8f;
    --line-strong: #8e7d5f;
    --text: #2a241a;
    --text-mid: #4a4030;
    --text-muted: #6b5d47;
    --accent: #2f2618;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Source Sans 3", Arial, sans-serif;
}

body {
    color: var(--text);
    background: radial-gradient(circle at 22% 18%, rgba(255, 244, 220, 0.6), transparent 35%),
        radial-gradient(circle at 80% 8%, rgba(110, 89, 63, 0.18), transparent 30%),
        linear-gradient(180deg, #e7dcc3 0%, #dfd0b2 55%, #d5c4a3 100%);
    font-family: var(--font-body);
}

body::before {
    display: block;
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.22;
    background-image:
        radial-gradient(circle, rgba(34, 28, 20, 0.24) 0.8px, transparent 0.9px),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 3px);
    background-size: 3px 3px, 100% 100%;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 120px rgba(32, 26, 17, 0.38), inset 0 0 20px rgba(32, 26, 17, 0.35);
}

.container,
.navbar,
section,
.footer {
    position: relative;
    z-index: 3;
}

.navbar {
    background: rgba(236, 225, 202, 0.88);
    border-bottom: 1px solid var(--line-strong);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.logo {
    letter-spacing: 0.08em;
}

.logo-icon {
    background: #3a3022;
    color: #efe5cf;
    border: 1px solid #2d2418;
}

.nav-link {
    color: var(--text-mid);
}

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

.hero-title {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.title-line.highlight {
    font-style: italic;
}

.hero-kicker,
.section-title,
.member-role,
.field-label,
.info-text h4,
.footer-title {
    letter-spacing: 0.14em;
}

.hero-subtitle,
.about-description,
.product-description,
.member-bio,
.info-text p,
.footer-description {
    color: var(--text-mid);
}

#services,
#about,
#why,
#contact {
    border-top-color: var(--line-strong);
}

.product-card,
.team-member,
.about-placeholder {
    border-bottom-color: var(--line);
}

.btn {
    border-bottom-color: var(--line-strong);
}

.btn:hover,
.product-link:hover,
.info-text a:hover,
.social-link:hover,
.footer-links a:hover {
    color: #1e1912;
    border-bottom-color: #1e1912;
}

.about-placeholder {
    background: rgba(247, 239, 221, 0.55);
    border: 1px solid var(--line);
}

.code-block {
    color: #4e4435;
}

.code-block .kw {
    color: #2d2418;
}

.code-block .fn {
    color: #5c4e3a;
}

.code-block .str {
    color: #77664b;
}

.info-icon {
    opacity: 0.38;
}

.form-group input,
.form-group textarea,
.newsletter-form input {
    border-bottom-color: var(--line-strong);
}

.form-group input:focus,
.form-group textarea:focus,
.newsletter-form input:focus {
    border-bottom-color: var(--text);
}

.footer {
    background: rgba(232, 221, 197, 0.92);
    border-top-color: var(--line-strong);
    color: var(--text-mid);
}

.footer .logo .logo-icon {
    background: #3a3022;
}

.footer-bottom {
    border-top-color: var(--line-strong);
    color: var(--text-muted);
}
