/* ============================================
   COLOR TOKENS & DESIGN SYSTEM
   ============================================ */
:root {
    --bg-primary: #0B0B0C;
    --bg-surface: #161618;
    --bg-surface-alt: #1E1E21;
    --text-primary: #F5F5F4;
    --text-secondary: #9A9A9F;
    --molten-copper: #D97B3F;
    --hairline: #2A2A2E;
    
    /* Typography */
    --font-display: 'Space Grotesk', 'Archivo Black', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.12em;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--molten-copper);
}

.eyebrow {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.section-subhead {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

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

/* ============================================
   HEADER
   ============================================ */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-primary);
    border-bottom: 1px solid var(--hairline);
    padding: 1rem 0;
}

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

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--molten-copper);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: 0.3s ease;
}

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

    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--bg-surface);
        border-bottom: 1px solid var(--hairline);
        padding: 1.5rem;
        gap: 1rem;
    }

    .nav.active {
        display: flex;
    }

    .nav-link {
        padding: 0.75rem 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-10px, 8px);
    }

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

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

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn-primary {
    background-color: var(--molten-copper);
    color: var(--bg-primary);
    border-color: var(--molten-copper);
}

.btn-primary:hover {
    background-color: #e89050;
    border-color: #e89050;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.btn-outline:hover {
    background-color: var(--bg-surface);
    border-color: var(--text-primary);
}

@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 11, 12, 0.95) 0%, rgba(11, 11, 12, 0.85) 50%, rgba(11, 11, 12, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-headline {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.page-hero {
    position: relative;
    min-height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-surface);
    background-image: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-surface-alt) 90%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }

    .page-hero {
        min-height: 40vh;
    }

    .hero-ctas {
        gap: 0.75rem;
    }
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--hairline);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    background-color: var(--bg-surface-alt);
    border-top: 2px solid var(--molten-copper);
    transform: translateY(-2px);
}

.product-image {
    width: 100%;
    padding-bottom: 66.67%;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: var(--bg-surface-alt);
}

.product-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    flex-grow: 1;
}

.product-divider {
    height: 1px;
    background-color: var(--hairline);
    margin: 1rem 0;
}

.product-link {
    color: var(--molten-copper);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: #e89050;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ICON CARDS
   ============================================ */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.icon-card {
    text-align: center;
    padding: 1.5rem;
}

.icon-badge {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--hairline);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-badge svg {
    width: 40px;
    height: 40px;
    color: var(--molten-copper) !important;
    stroke: currentColor !important;
    fill: none !important;
}

svg[data-lucide] {
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.icon-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

@media (max-width: 1024px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .icon-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .icon-card {
        padding: 1rem;
    }

    .icon-badge {
        width: 70px;
        height: 70px;
    }

    .icon-badge svg {
        width: 35px;
        height: 35px;
    }
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 4rem 0;
}

.commitment-section {
    background-color: var(--bg-primary);
}

.commitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.commitment-text {
    flex: 1;
}

.commitment-text h2 {
    color: var(--text-primary);
}

.commitment-text p {
    line-height: 1.8;
}

.commitment-image {
    flex: 1;
    overflow: hidden;
    border-radius: 2px;
}

.commitment-image img {
    width: 100%;
    height: auto;
    display: block;
}

.commitment-logo {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.why-partner-section {
    background-color: var(--bg-surface);
    padding: 5rem 0;
}

.why-partner-section .container > h2 {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-primary);
}

.product-range-section {
    background-color: var(--bg-primary);
}

.featured-product-section {
    background-color: var(--bg-surface);
    padding: 5rem 0;
}

.featured-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.featured-product-image {
    overflow: hidden;
    border-radius: 2px;
}

.featured-product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-product-content h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.featured-product-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.spec-table {
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--hairline);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 2px;
}

.spec-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--hairline);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.spec-value {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.featured-products-section {
    background-color: var(--bg-primary);
}

.featured-products-section .container > span {
    display: block;
    text-align: center;
}

.featured-products-section .container > h2 {
    text-align: center;
    color: var(--text-primary);
}

.featured-products-section .section-subhead {
    text-align: center;
}

@media (max-width: 1024px) {
    .commitment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .featured-product {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 3rem 0;
    }
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission-section {
    background-color: var(--bg-surface);
}

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

.mission-block h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.mission-block p {
    line-height: 1.8;
}

.mission-footer {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--hairline);
}

@media (max-width: 768px) {
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   EDGE SECTION
   ============================================ */
.edge-section {
    background-color: var(--bg-primary);
}

.edge-section .container > span {
    display: block;
    text-align: center;
}

.edge-section .container > h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

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

.edge-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--hairline);
    padding: 2rem;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    transition: all 0.3s ease;
}

.edge-card:hover {
    background-color: var(--bg-surface-alt);
    border-top: 2px solid var(--molten-copper);
}

.edge-icon {
    width: 60px;
    height: 60px;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--hairline);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.edge-icon svg {
    width: 30px;
    height: 30px;
    color: var(--molten-copper) !important;
    stroke: currentColor !important;
    fill: none !important;
}

.edge-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

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

@media (max-width: 1024px) {
    .edge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .edge-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PRINCIPLES SECTION
   ============================================ */
.principles-section {
    background-color: var(--bg-surface);
}

.principles-section .container > span {
    display: block;
    text-align: center;
}

.principles-section .container > h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.principles-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.principles-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.principle-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--hairline);
    border-left: 3px solid var(--molten-copper);
    transition: all 0.3s ease;
}

.principle-item:hover {
    border-left: 3px solid var(--molten-copper);
    background-color: rgba(217, 123, 63, 0.05);
}

.principle-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-primary);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.principle-icon svg {
    width: 28px;
    height: 28px;
    color: var(--molten-copper) !important;
    stroke: currentColor !important;
    fill: none !important;
}

.principle-content h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.principle-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .principle-item {
        grid-template-columns: auto 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }

    .principle-icon {
        width: 45px;
        height: 45px;
    }

    .principle-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.contact-wrapper-centered {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-info-container-full {
    max-width: 600px;
    width: 100%;
}

.contact-info-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--hairline);
    padding: 2.5rem;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.contact-info-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--hairline);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-surface-alt);
    border: 1px solid var(--hairline);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--molten-copper) !important;
    stroke: currentColor !important;
    fill: none !important;
}

.contact-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: var(--molten-copper);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: #e89050;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-info-card {
        padding: 1.75rem;
    }

    .contact-item {
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--hairline);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--molten-copper);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--hairline);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
.btn:focus,
.nav-link:focus,
.form-group input:focus,
.form-group textarea:focus,
.contact-details a:focus {
    outline: 2px solid var(--molten-copper);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--molten-copper);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
