/* ═══════════════════════════════════════
   Java Hut — Conrad, MT
   Clean minimalist · Emerald + Cream
   ═══════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Instrument Sans', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1a2e23;
    background-color: #faf6f0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ── Utility ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #064e3b;
    color: #faf6f0;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 200;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 12px;
}

/* ── Typography ── */
h1, h2, h3 {
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #065f46;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: #1a2e23;
    margin-bottom: 24px;
}

.text-accent {
    color: #d4a574;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 2px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 12px;
}

.btn-dark {
    background: #064e3b;
    color: #faf6f0;
}

.btn-dark:hover {
    background: #065f46;
    transform: translateY(-1px);
}

.btn-dark svg {
    transition: transform 0.25s ease;
}

.btn-dark:hover svg {
    transform: translate(3px, -3px);
}

.btn-ghost {
    background: transparent;
    color: #1a2e23;
    border: 1px solid rgba(26, 46, 35, 0.2);
}

.btn-ghost:hover {
    border-color: #1a2e23;
}

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: rgba(6, 78, 59, 0.12);
}

.divider-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d4a574;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   NAV
   ═══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 0 rgba(6, 78, 59, 0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #064e3b;
}

.nav-logo-icon {
    color: #064e3b;
}

.nav-logo-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 17px;
    font-weight: 400;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #3d5a45;
    transition: color 0.2s;
}

.nav-links a:not(.btn):hover {
    color: #064e3b;
}

.nav-toggle {
    display: none;
    color: #064e3b;
    padding: 8px;
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
    background: #064e3b;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(250, 246, 240, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(250, 246, 240, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.6);
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4a574;
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
    color: #faf6f0;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(250, 246, 240, 0.65);
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Hero Cards ── */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-card {
    background: rgba(250, 246, 240, 0.07);
    border: 1px solid rgba(250, 246, 240, 0.1);
    border-radius: 4px;
    overflow: hidden;
    transition: background 0.3s ease;
}

.hero-card:hover {
    background: rgba(250, 246, 240, 0.1);
}

.hero-card--primary {
    display: grid;
    grid-template-columns: 1fr;
}

.hero-card-img {
    height: 200px;
    width: 100%;
}

.hero-card--stat {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-card-number {
    font-family: 'Lora', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    color: #d4a574;
    letter-spacing: -0.01em;
}

.hero-card-unit {
    font-size: 15px;
    font-weight: 300;
    color: rgba(250, 246, 240, 0.85);
    letter-spacing: -0.01em;
}

.hero-card-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(250, 246, 240, 0.4);
    margin-bottom: 8px;
}

.hero-card-body {
    padding: 20px 24px 24px;
}

.hero-card-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(250, 246, 240, 0.6);
}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */
.about {
    padding: 120px 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
}

.about-image-wrap::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(6, 78, 59, 0.1);
    border-radius: 2px;
    z-index: -1;
}

.about-content {
    max-width: 480px;
}

.about-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #3d5a45;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(6, 78, 59, 0.1);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    color: #1a2e23;
}

.about-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(6, 78, 59, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064e3b;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════ */
.products {
    padding: 80px 0 120px;
}

.products-header {
    max-width: 520px;
    margin-bottom: 64px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(6, 78, 59, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 40px rgba(6, 78, 59, 0.08);
    transform: translateY(-2px);
}

.product-card-img {
    height: 240px;
    width: 100%;
    background-color: rgba(6, 78, 59, 0.05);
}

.product-card-body {
    padding: 28px 32px;
}

.product-card-title {
    font-size: 20px;
    font-weight: 400;
    color: #1a2e23;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.product-card-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: #5a7a63;
}

/* ═══════════════════════════════════════
   VISIT
   ═══════════════════════════════════════ */
.visit {
    padding: 120px 0;
    background: #f0ebe3;
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.visit-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: #3d5a45;
    margin-bottom: 40px;
    max-width: 400px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-detail dt {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 78, 59, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064e3b;
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail dd {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: #3d5a45;
}

.visit-detail a {
    color: #064e3b;
    border-bottom: 1px solid rgba(6, 78, 59, 0.2);
    transition: border-color 0.2s;
}

.visit-detail a:hover {
    border-color: #064e3b;
}

.visit-map {
    border-radius: 2px;
    overflow: hidden;
    height: 440px;
    border: 1px solid rgba(6, 78, 59, 0.08);
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
    background: #064e3b;
    color: rgba(250, 246, 240, 0.6);
    padding: 64px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #faf6f0;
    margin-bottom: 12px;
}

.footer-logo svg {
    color: #d4a574;
}

.footer-tagline {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(250, 246, 240, 0.5);
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(250, 246, 240, 0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #d4a574;
}

.footer-copy {
    padding-top: 32px;
    border-top: 1px solid rgba(250, 246, 240, 0.08);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(250, 246, 240, 0.35);
}

.footer-copy a {
    color: rgba(250, 246, 240, 0.5);
    transition: color 0.2s;
}

.footer-copy a:hover {
    color: #d4a574;
}

/* ═══════════════════════════════════════
   SCROLL REVEAL (progressive enhancement)
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cards {
        max-width: 480px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrap {
        max-width: 480px;
    }

    .about-image-wrap::after {
        display: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .visit-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .visit-map {
        height: 320px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(250, 246, 240, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px 32px;
        gap: 20px;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-links a {
        font-size: 15px;
    }

    .nav-links .btn {
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: 96px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }

    .hero-card-img {
        height: 160px;
    }

    .about {
        padding: 80px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .products {
        padding: 60px 0 80px;
    }

    .products-header {
        margin-bottom: 40px;
    }

    .product-card-img {
        height: 200px;
    }

    .product-card-body {
        padding: 20px 24px;
    }

    .visit {
        padding: 80px 0;
    }

    .footer-inner {
        gap: 32px;
    }

    .footer-links {
        gap: 16px;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .hero-layout {
        gap: 40px;
    }

    .about-layout {
        gap: 48px;
    }

    .visit-layout {
        gap: 48px;
    }
}
