/* BHB Technologies — Corporate Site */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg:          #0d0d0d;
    --bg-surface:  #141414;
    --border:      #222222;
    --text:        #e8e8e8;
    --text-muted:  #666666;
    --accent:      #c8a96e; /* restrained warm gold */
    --font:        'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    min-height: 100vh;
}

/* ── Typography ──────────────────────────────────── */

h1 {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

h2 {
    font-size: clamp(0.65rem, 1.2vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

/* ── Layout ──────────────────────────────────────── */

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 7rem 0;
    border-top: 1px solid var(--border);
}

section:first-of-type {
    border-top: none;
}

/* ── Header / Nav ────────────────────────────────── */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(13, 13, 13, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text);
    opacity: 1;
}

/* ── Hero ────────────────────────────────────────── */

#hero {
    padding: 16rem 0 10rem;
    border-top: none;
}

.hero-label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 2.5rem;
}

.hero-tagline {
    margin-bottom: 3rem;
}

.hero-ethos {
    max-width: 600px;
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ── What We Build ───────────────────────────────── */

.lead {
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 680px;
}

/* ── Products ────────────────────────────────────── */

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 0;
}

.product-card {
    background: var(--bg-surface);
    padding: 3rem;
    transition: background 0.25s;
}

.product-card:hover {
    background: #1a1a1a;
}

.product-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bg);
    background: var(--accent);
    padding: 0.25em 0.6em;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.product-card h3 {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.product-card p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.product-link {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-link::after {
    content: '→';
    transition: transform 0.2s;
}

.product-card:hover .product-link::after {
    transform: translateX(4px);
}

/* ── Partners ────────────────────────────────────── */

.partner-statement {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

/* ── Contact ─────────────────────────────────────── */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.contact-label {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-item a {
    font-size: 0.875rem;
    color: var(--text);
    transition: color 0.2s;
}

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

/* ── Footer ──────────────────────────────────────── */

footer {
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.footer-address {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-copy {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
    white-space: nowrap;
}

/* ── Divider rule ────────────────────────────────── */

.rule {
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--accent);
    margin-bottom: 3rem;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 720px) {
    nav { display: none; }

    #hero {
        padding: 12rem 0 7rem;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-copy {
        text-align: left;
    }
}
