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

:root {
    --navy: #1a2d42;
    --navy-light: #2a3f55;
    --teal: #2a8a8e;
    --teal-light: #6bb8c4;
    --teal-pale: #e8f4f6;
    --gold: #c49a3c;
    --gold-light: #d4b36a;
    --bg: #ffffff;
    --bg-alt: #f5f7f9;
    --text: #1a2d42;
    --text-secondary: #5a6a7a;
    --text-light: #8a95a3;
    --border: #e2e6ea;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 2px 8px rgba(26, 45, 66, 0.06);
    --shadow-lg: 0 8px 32px rgba(26, 45, 66, 0.10);
    --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

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

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    height: 72px;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
}

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

.nav-brand img {
    height: 44px;
    width: auto;
}

.nav-brand span {
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    transition: 0.3s;
}

/* ── Page Header ── */
.page-header {
    padding: 140px 0 60px;
    background: var(--bg-alt);
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.page-header .label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 12px;
}

/* ── Hero (index only) ── */
.hero {
    padding: 160px 0 100px;
    background: var(--bg);
}

.hero-content {
    max-width: 800px;
}

.hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: 12px;
}

.hero-stat {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-split .hero-content {
    flex: 1;
}

.hero-graphic {
    flex: 1;
    min-width: 0;
}

.hero-graphic img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 640px;
    margin-bottom: 36px;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--teal);
    color: white;
}

.btn-primary:hover {
    background: var(--navy);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--teal);
    border: 2px solid var(--teal);
    margin-left: 16px;
}

.btn-outline:hover {
    background: var(--teal);
    color: white;
}

/* ── Section Shared ── */
.section {
    padding: 80px 0;
}

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

.section-header {
    margin-bottom: 48px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ── Services ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.service-card .detail {
    margin-top: auto;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-light);
}

.service-card .price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.service-card .price-unit {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 16px 0 12px;
}

.service-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: justify;
}

.service-card .detail {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.82rem;
    color: var(--text-light);
}

.service-card p:last-of-type {
    padding-bottom: 16px;
}

/* ── Products ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.section-alt .product-card {
    background: var(--bg);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-light);
}

a.product-card {
    color: inherit;
    display: block;
}

a.product-card:hover {
    color: inherit;
}

.product-name {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.product-name h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.product-name .domain {
    font-size: 0.82rem;
    color: var(--teal);
    font-weight: 500;
}

.product-card .tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

.tag-live {
    background: #e6f7ee;
    color: #1a7a42;
}

.tag-building {
    background: var(--teal-pale);
    color: var(--teal);
}

.tag-legacy {
    background: #f0eee6;
    color: #8a7a5a;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Team ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 40px 32px;
}

.team-member {
    text-align: center;
}

.team-member .headshot {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid var(--border);
    transition: border-color 0.2s;
}

.team-member:hover .headshot {
    border-color: var(--teal-light);
}

.team-member .headshot.human {
    border-color: var(--gold);
}

.team-member:hover .headshot.human {
    border-color: var(--gold-light);
}

.team-member .badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 8px;
    border-radius: 3px;
    margin: 6px 0 0;
}

.badge-human {
    background: #fdf3e0;
    color: var(--gold);
}

.badge-ai {
    background: var(--teal-pale);
    color: var(--teal);
}

.team-member h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.team-member .title {
    display: block;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.team-note {
    margin-top: 56px;
    padding: 28px 32px;
    background: var(--teal-pale);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    color: var(--navy);
    line-height: 1.7;
}

/* ── Contact ── */
.contact-content {
    max-width: none;
}

.contact-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-email {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
}

.contact-email:hover {
    color: var(--teal);
}

.contact-calendly {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.contact-calendly h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.contact-calendly p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* ── Homepage Previews ── */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.preview-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.preview-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--teal-light);
}

.preview-icon {
    width: 48px;
    height: 48px;
    color: var(--teal);
    margin-bottom: 16px;
}

.preview-card:hover .preview-icon {
    color: var(--navy);
}

.preview-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.preview-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.preview-card .link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
}

.preview-card .link:hover {
    color: var(--navy);
}

/* ── About Split ── */
.about-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-graphic {
    flex: 1;
    min-width: 0;
}

.about-graphic img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin-bottom: 20px;
}

.about-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Founder ── */
.founder {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 700px;
}

.founder-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.founder-info .role {
    font-size: 0.9rem;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 16px;
}

.founder-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Footer ── */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

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

.footer-text {
    font-size: 0.82rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-light);
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    .hero { padding: 120px 0 60px; }

    .hero-split {
        flex-direction: column;
        gap: 40px;
    }

    .hero-graphic {
        max-width: 260px;
        margin: 0 auto;
    }
    .page-header { padding: 120px 0 40px; }
    .section { padding: 60px 0; }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 24px;
    }

    .team-member .headshot {
        width: 100px;
        height: 100px;
    }

    .services-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }

    .preview-grid {
        grid-template-columns: 1fr;
    }

    .btn-outline {
        margin-left: 0;
        margin-top: 12px;
    }

    .about-split {
        flex-direction: column;
        gap: 32px;
    }

    .about-graphic {
        max-width: 260px;
        margin: 0 auto;
    }

    .founder {
        flex-direction: column;
        gap: 24px;
    }

    .footer .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
