/* =========================================================
   STANDARD THERMAL — Site CSS
   Brand: #661d00 red · #21201f ink · #dedbcb warm ash · #fff white
   Type: Inter Tight (UI) · Source Serif 4 (body)
   ========================================================= */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Source Serif 4', Georgia, serif;
    color: #21201f;
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; padding: 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5,
.nav-links a,
.section-label,
.step-num,
.contact-label,
.nav-cta {
    font-family: 'Inter Tight', Helvetica Neue, Arial, sans-serif;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; }
h3 { font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

/* --- Layout --- */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* --- Navigation --- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid #e8e5de;
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2.5rem;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    display: block;
    width: 148px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #21201f;
    transition: color 0.15s;
}

.nav-links a:hover { color: #661d00; }

.nav-cta {
    background: #661d00;
    color: #ffffff !important;
    padding: 0.55rem 1.3rem;
    border-radius: 2px;
    transition: background 0.15s !important;
}

.nav-cta:hover { background: #4d1600 !important; }

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #21201f;
    transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(33,32,31,0.82) 0%,
        rgba(33,32,31,0.55) 55%,
        rgba(33,32,31,0.18) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.hero-headline {
    color: #ffffff;
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.hero-sub {
    font-family: 'Inter Tight', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255,255,255,0.78);
    max-width: 460px;
    line-height: 1.6;
}

.hero-caption {
    position: absolute;
    bottom: 1.5rem;
    right: 2.5rem;
    z-index: 2;
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.02em;
    max-width: 340px;
    text-align: right;
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
}

.section-warm {
    background: #f5f2ed;
}

.section-dark {
    background: #21201f;
    color: #ffffff;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #661d00;
    margin-bottom: 0.65rem;
}

.section-label-light { color: #dedbcb; }

/* --- Solutions --- */
.solutions-list {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    border-top: 1px solid #dedad3;
}

.solution-point {
    font-size: 1.05rem;
    color: #4a4845;
    line-height: 1.65;
    padding: 1.25rem 0;
    border-bottom: 1px solid #dedad3;
    margin: 0;
}

/* --- Technology --- */
.tech-diagram-wrap {
    width: 100%;
    margin-bottom: 3.5rem;
    background: transparent;
    padding: 0;
}

.tech-diagram {
    width: 100%;
    height: auto;
    display: block;
}

.tech-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4rem;
}

.tech-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #661d00;
    padding-top: 0.2rem;
    flex-shrink: 0;
    width: 22px;
}

.tech-step h3 { margin-bottom: 0.4rem; }

.tech-step p {
    font-size: 0.95rem;
    color: #4a4845;
    line-height: 1.65;
}

/* --- Contact --- */
.contact-inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-heading {
    color: #ffffff;
    margin-top: 0.5rem;
}

.contact-info {
    display: flex;
    flex-direction: row;
    gap: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

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

.contact-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #dedbcb;
}

.contact-detail a,
.contact-detail span {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.contact-detail a:hover { color: #ffffff; text-decoration: underline; }

/* --- People --- */
.people-section {
    background: #ffffff;
}

.people-header {
    margin-bottom: 2rem;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 760px;
    padding-top: 1rem;
    border-top: 1px solid #e8e5de;
}

.person h3 {
    margin-bottom: 0.35rem;
}

.person p {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #661d00;
}

.recruiting-copy {
    max-width: 700px;
    margin-top: 4rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4a4845;
}

/* --- Footer --- */
.footer {
    background: #161514;
    padding: 1.75rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo { height: 48px; width: auto; }

.footer-copy {
    font-family: 'Inter Tight', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.03em;
}

/* --- Responsive --- */
@media (max-width: 860px) {
    .tech-steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .people-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 88px;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        border-bottom: 1px solid #e8e5de;
        padding: 0.5rem 2.5rem 1rem;
        z-index: 50;
    }

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

    .nav-links a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0ede8;
    }

    .nav-links a:last-child { border-bottom: none; }

    .nav-cta {
        background: none !important;
        color: #661d00 !important;
        padding: 0.75rem 0 !important;
        border-radius: 0 !important;
    }

    .section { padding: 4rem 0; }

    .hero { min-height: 85vh; }

    .hero-caption { display: none; }

    .nav-inner { height: 80px; }

    .nav-logo img { width: 124px; }

    .nav-links { top: 80px; }

    .footer-inner { flex-direction: column; text-align: center; }
}
