/* Hive Ventures — redesign styles */

::selection {
    background-color: #0e7490;
    color: #fff;
}

/* Hexagon logo mark */
.hex-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0e7490;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-logo--nav {
    width: 34px;
    height: 38px;
}

.hex-logo--footer {
    width: 28px;
    height: 32px;
}

.hex-logo--sm {
    width: 48px;
    height: 54px;
}

.hex-logo--md {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    clip-path: none;
}

.hex-logo--lg {
    width: 70px;
    height: 80px;
}

/* Hero hexagon product cluster */
.hero-hex-grid {
    display: grid;
    grid-template-columns: repeat(2, 132px);
    gap: 14px;
    justify-content: center;
}

.hero-hex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 150px;
    padding: 0 12px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    -webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hero-hex:hover {
    transform: translateY(-4px);
}

.hero-hex__label {
    margin-top: 9px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-hex--1 { margin-top: 0; }
.hero-hex--2 { margin-top: 38px; }
.hero-hex--3 { margin-top: -24px; }
.hero-hex--4 { margin-top: 14px; }

@media (max-width: 1023px) {
    .hero-hex-grid {
        grid-template-columns: repeat(2, 110px);
        gap: 12px;
    }

    .hero-hex {
        width: 110px;
        height: 126px;
    }

    .hero-hex--2 { margin-top: 24px; }
    .hero-hex--3 { margin-top: -16px; }
    .hero-hex--4 { margin-top: 8px; }
}

/* Legacy clip-path tiles (unused) */
.hex-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 150px;
    color: #fff;
    text-align: center;
    padding: 0 12px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hex-tile--1 { margin-top: 0; }
.hex-tile--2 { margin-top: 38px; }
.hex-tile--3 { margin-top: -24px; }
.hex-tile--4 { margin-top: 14px; }

@media (max-width: 1023px) {
    .hex-tile {
        width: 110px;
        height: 126px;
    }

    .hex-tile--2 { margin-top: 24px; }
    .hex-tile--3 { margin-top: -16px; }
    .hex-tile--4 { margin-top: 8px; }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5625rem;
    border-radius: 9999px;
    background: #0e7490;
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #fff;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: #0891b2;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    border: 1px solid #3A3120;
    padding: 1rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #F4EEE1;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.btn-secondary:hover {
    border-color: #5A4E38;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5625rem;
    border-radius: 9999px;
    background: #17130C;
    padding: 0.875rem 1.5rem;
    font-size: 0.90625rem;
    font-weight: 700;
    color: #fff;
    transition: background-color 0.2s ease;
}

.btn-dark:hover {
    background: #2A2114;
}

/* Eyebrow badge */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5625rem;
    border-radius: 9999px;
    border: 1px solid #3A3120;
    background: #1C1811;
    padding: 0.5rem 0.9375rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0e7490;
}

.eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0e7490;
}

.eyebrow--light {
    border-color: #EAE6DD;
    background: #fff;
    color: #0e7490;
}

/* Section labels */
.section-label {
    font-size: 0.78125rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.section-label--dark { color: #0e7490; }
.section-label--light { color: #0e7490; }

/* Product cards */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.375rem;
    border: 1px solid #EAE6DD;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--product-color, #0e7490) 35%, #EAE6DD);
    box-shadow: 0 18px 40px -24px color-mix(in srgb, var(--product-color, #0e7490) 45%, transparent);
}

.product-card__preview {
    padding: 1.125rem 1.125rem 0;
    background: linear-gradient(180deg, #F8F6F1 0%, #fff 100%);
}

.product-card__browser {
    overflow: hidden;
    border: 1px solid #E3DDD2;
    border-radius: 0.875rem 0.875rem 0 0;
    background: #fff;
    box-shadow: 0 10px 28px -18px rgba(23, 19, 12, 0.35);
    transition: box-shadow 0.25s ease;
}

.product-card:hover .product-card__browser {
    box-shadow: 0 16px 36px -16px rgba(23, 19, 12, 0.4);
}

.product-card__chrome {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border-bottom: 1px solid #EDE8DF;
    background: #FAF8F4;
    padding: 0.5rem 0.75rem;
}

.product-card__dots {
    display: inline-flex;
    gap: 0.3125rem;
}

.product-card__dots span {
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--product-color, #0e7490) 55%, #D8D2C8);
}

.product-card__url {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 9999px;
    border: 1px solid #E8E2D8;
    background: #fff;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #8A8171;
}

.product-card__viewport {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F3F0EA;
}

.product-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(23, 19, 12, 0.3);
    transition: background 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.product-card:hover .product-card__overlay {
    background: rgba(23, 19, 12, 0.02);
}

.product-card__shot-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__shot-img {
    transform: scale(1.04);
}

.product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.375rem 1.5rem;
}

.product-card--full .product-card__body {
    padding: 1.375rem 1.5rem 1.625rem;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.625rem;
}

.product-card__tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--product-color, #0e7490) 10%, #fff);
    padding: 0.3125rem 0.6875rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--product-color, #0e7490) 75%, #17130C);
}

.product-card__visit {
    display: inline-flex;
    align-items: center;
    gap: 0.3125rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0e7490;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-card:hover .product-card__visit {
    opacity: 1;
    transform: none;
}

.product-card__title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.15;
    color: #17130C;
}

.product-card--compact .product-card__title {
    margin-top: 0.375rem;
    font-size: 1rem;
}

.product-card__desc {
    margin-top: 0.625rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #5C5344;
}

.product-card--compact .product-card__preview {
    padding: 0.75rem 0.75rem 0;
}

.product-card--compact .product-card__body {
    padding: 0.875rem 0.875rem 1rem;
    text-align: center;
}

.product-card--compact .product-card__tag {
    justify-content: center;
}

/* Dark cards */
.dark-card {
    border: 1px solid #262119;
    border-radius: 1.375rem;
    background: #1A160F;
}

/* Audience cards */
.audience-num {
    flex: none;
    width: 26px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #0e7490;
}

/* Founder card offset */
.founder-card--offset {
    margin-top: 1.375rem;
}

@media (max-width: 639px) {
    .founder-card--offset {
        margin-top: 0;
    }
}

/* Contact form */
.form-input {
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid #302A20;
    background: #12100C;
    padding: 0.8125rem 0.9375rem;
    font-size: 0.9375rem;
    color: #F4EEE1;
    transition: border-color 0.2s ease;
}

.form-input::placeholder {
    color: #6E6656;
}

.form-input:focus {
    outline: none;
    border-color: #0e7490;
}

.form-label {
    display: block;
    margin-bottom: 0.4375rem;
    font-size: 0.78125rem;
    font-weight: 700;
    color: #B7AE9C;
}

/* Scroll-reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Legal pages */
.legal-content a {
    color: #0e7490;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content strong {
    color: #17130C;
    font-weight: 700;
}

.legal-content h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #17130C;
}

/* Active nav on home */
.nav-link--active {
    color: #0e7490;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-hex:hover,
    .product-card:hover,
    .product-card:hover .product-card__shot-img,
    .product-card:hover .product-card__visit {
        transform: none;
    }

    .product-card:hover .product-card__visit {
        opacity: 1;
    }

    .product-card:hover .product-card__overlay {
        background: rgba(23, 19, 12, 0.02);
    }
}
