/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #121212;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* DESKTOP DEFAULT — hide mobile versions */
.title-mobile,
.mobile-text {
    display: none;
}

/* HEADER */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid #333;
    position: relative;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    font-weight: 600;
    border: 2px solid #fff;
    padding: 5px 12px;
    font-size: 20px;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, border-color 0.3s;
}

.logo-box:hover {
    color: #d97706;
    border-color: #d97706;
}

/* CONTACT BUTTON */
.btn-outline {
    color: #fff;
    border: 2px solid #fff;
    padding: 6px 14px;
    text-decoration: none;
    font-size: 12px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: #d97706;
    color: #d97706;
}

/* NAVIGATION */
.main-nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

.main-nav a {
    color: #888;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #d97706;
}

.main-nav a:visited {
    color: #888;
}

.main-nav a.active,
.main-nav a.active:visited {
    color: #d97706;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* MOBILE NAV */
.mobile-nav {
    display: none;
    flex-direction: column;
    background: #1a1a1a;
    padding: 20px;
    border-top: 1px solid #333;
}

.mobile-nav a {
    color: #fff;
    padding: 10px 0;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #333;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #d97706;
}

.mobile-nav a:visited {
    color: #fff;
}

/* HERO */
.hero {
    position: relative;
    padding: 160px 0;
    background: url('images/hero.png') center/cover no-repeat;
}

/* Dark overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* Ensure text sits above overlay */
.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-left: calc(50% + 25px); /* aligns text with the right column of 2-col hero layout (other pages) */
}

.hero-text-wrap {
    max-width: 550px;
    width: 100%;
}

.hero-title {
    font-size: 45px;
    margin-bottom: 5px;
}

.hero-subtitle {
    color: #d97706;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
}

.btn-primary {
    background: #d97706;
    color: #fff;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
}

/* METHOD */
.method {
    padding: 100px 0;
    background: #1a1a1a;
}

.method-title {
    text-align: center;
    color: #d97706;
    margin-bottom: 25px;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.method-col h3 {
    color: #d97706;
    margin-bottom: 10px;
    font-size: 18px;
}

/* FEED */
.feed {
    padding: 60px 0;
}

.feed-header {
    border-bottom: 2px solid #d97706;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.feed-title-link {
    color: #fff;
    text-decoration: none;
}

.feed-title-link:link,
.feed-title-link:visited {
    color: #fff;
    text-decoration: none;
}

.feed-title-link:hover {
    color: #d97706;
    text-decoration: none;
}

/* REELS — DESKTOP */
.reel-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

.reel-box {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    aspect-ratio: 9 / 16;
    width: 100%;
}

/* PILLARS */
.pillars {
    padding: 60px 0;
}

.pillar-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.pillar {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 4px;
    padding-bottom: 15px;
}

.pillar-img {
    height: 140px;
    background: #333;
    margin-bottom: 15px;
}

.pillar h4 {
    padding: 0 15px;
    color: #d97706;
    font-size: 15px;
    margin-bottom: 5px;
}

.pillar p {
    padding: 0 15px;
    font-size: 12px;
    color: #999;
}

/* FOOTER — DESKTOP */
.footer {
    border-top: 2px solid #d97706;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.footer-jpd {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #3F3E3E;
    line-height: 1;
}

.footer-tagline {
    font-family: 'Allura', cursive;
    font-size: 1.4rem;
    font-weight: 400;
    color: #3F3E3E;
    line-height: 1;
}

.socials a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

.socials a:visited {
    color: #fff;
}

.socials a:hover {
    color: #d97706;
    text-decoration: none;
}

/* Footer brand home link */
.footer-home-link {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-home-link:hover {
    color: #d97706;
}

/* TABLET / iPad Portrait — show hamburger menu */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .btn-outline { display: none; }
}

/* MOBILE — ALL OVERRIDES */
@media (max-width: 768px) {

    /* Header */
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .btn-outline { display: none; }

    /* Hero */
    .hero {
        padding: 120px 0;
    }

    .hero-title {
        font-size: 32px;
    }

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

    .hero-content {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    /* Method */
    .method-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .title-desktop,
    .desktop-text {
        display: none;
    }

    .title-mobile,
    .mobile-text {
        display: block;
    }

    .title-mobile {
        color: #d97706;
        font-size: 18px;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .mobile-text {
        font-size: 14px;
        color: #ccc;
        line-height: 1.5;
    }

    /* REELS — MOBILE */
    .reel-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    /* Target the 4th box specifically for the Momentum Feed */
    .reel-hide-mobile {
        display: none !important;
    }

    .reel-box {
        aspect-ratio: 9 / 16;
    }

    /* Passion Projects */
    .pillar-hide-mobile {
        display: none;
    }

    .pillar-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer-wrap {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .footer-jpd {
        font-size: 1.8rem;
    }

    .footer-tagline {
        font-size: 1.4rem;
        line-height: 1.1;
    }

    .socials {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 0;
    }

    .socials a {
        margin-left: 0;
        font-size: 14px;
        letter-spacing: 1px;
    }
}

/* ===== SHED STUDIO PAGE ===== */

/* Studio Hero */
.studio-hero {
    position: relative;
    padding: 160px 0;
    background: #2a2a2a center/cover no-repeat;
}

.studio-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.studio-hero-container {
    position: relative;
    z-index: 2;
}

.studio-hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-left: calc(50% + 25px);
}

.studio-hero-text-wrap {
    max-width: 550px;
    width: 100%;
}

.studio-eyebrow {
    color: #d97706;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.studio-hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.studio-hero-subtitle {
    color: #d97706;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.studio-hero-desc {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

/* Studio Section Title */
.studio-section-title {
    text-align: center;
    color: #d97706;
    margin-bottom: 30px;
}

/* Studio At A Glance */
.studio-glance {
    padding: 80px 0;
    background: #1a1a1a;
}

.studio-glance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.studio-glance-card {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
}

.studio-glance-icon {
    width: 60px;
    height: 60px;
    background: #333;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.studio-glance-card h4 {
    color: #d97706;
    font-size: 16px;
    margin-bottom: 12px;
}

.studio-glance-card p {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

/* The Build */
.studio-build {
    padding: 80px 0;
}

.studio-build-header {
    border-bottom: 2px solid #d97706;
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.studio-build-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

.studio-build-img--large {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    height: 360px;
}

.studio-build-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.studio-build-img {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    flex: 1;
    min-height: 160px;
}

/* Studio Gallery */
.studio-gallery {
    padding: 80px 0;
    background: #1a1a1a;
}

.studio-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.studio-gallery-item {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
}

/* Latest from the Studio feed */
.studio-feed {
    padding: 60px 0;
}

/* Studio link in Method section */
.studio-link {
    display: inline-block;
    margin-top: 15px;
    color: #d97706;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
}

.studio-link:visited {
    color: #d97706;
}

.studio-link:hover {
    color: #d97706;
    text-decoration: underline;
}

/* Pillar as a link */
a.pillar {
    text-decoration: none;
    display: block;
    color: inherit;
    transition: border-color 0.2s;
}

a.pillar:visited {
    color: inherit;
}

a.pillar:hover {
    border-color: #d97706;
}

/* Mobile overrides for Shed Studio page */
@media (max-width: 768px) {

    .studio-hero-content {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .studio-hero-title {
        font-size: 30px;
    }

    .studio-glance-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .studio-build-grid {
        grid-template-columns: 1fr;
    }

    .studio-build-img--large {
        height: 220px;
    }

    .studio-build-side {
        flex-direction: row;
    }

    .studio-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== MOMENTUM FEED PAGE ===== */

.feed-page-hero {
    position: relative;
    padding: 160px 0;
    background: #2a2a2a center/cover no-repeat;
}

.feed-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.feed-page-hero-container {
    position: relative;
    z-index: 2;
}

.feed-page-hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-left: calc(50% + 25px);
}

.feed-page-hero-text-wrap {
    max-width: 550px;
    width: 100%;
}

.feed-page-hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.feed-page-hero-subtitle {
    color: #d97706;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.feed-page-hero-desc {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.feed-page-reels {
    padding: 60px 0;
}

.feed-page-reels--alt {
    background: #1a1a1a;
    padding: 0 0 60px 0;
}

/* ===== VAN LAB PAGE ===== */

.vanlab-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vanlab-status-card {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 30px 20px;
    text-align: center;
}

.vanlab-status-badge {
    display: inline-block;
    background: #d97706;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 15px;
}

.vanlab-status-badge--pending {
    background: #333;
    color: #888;
}

.vanlab-status-card h4 {
    color: #d97706;
    font-size: 16px;
    margin-bottom: 12px;
}

.vanlab-status-card p:not(.vanlab-status-badge) {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

.vanlab-status-card--pending {
    opacity: 0.75;
}

/* ===== THE LENS PAGE ===== */

.lens-hero {
    position: relative;
    padding: 160px 0;
    background: #2a2a2a center/cover no-repeat;
}

.lens-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.lens-hero-container {
    position: relative;
    z-index: 2;
}

.lens-hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-left: calc(50% + 25px);
}

.lens-hero-text-wrap {
    max-width: 550px;
    width: 100%;
}

.lens-hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.lens-hero-subtitle {
    color: #d97706;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.lens-hero-desc {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.lens-gallery {
    padding: 80px 0;
    background: #1a1a1a;
}

.lens-gallery--alt {
    background: #121212;
}

.lens-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.lens-gallery-item {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    aspect-ratio: 4 / 3;
}

.lens-collections {
    padding: 80px 0;
}

.lens-collections-desc {
    color: #999;
    font-size: 14px;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 35px;
}

.lens-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lens-collection-card {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.2s;
}

.lens-collection-card:hover {
    border-color: #d97706;
}

.lens-collection-img {
    background: #333;
    aspect-ratio: 4 / 3;
}

.lens-collection-info {
    padding: 15px;
}

.lens-collection-info h4 {
    color: #d97706;
    font-size: 14px;
    margin-bottom: 6px;
}

.lens-collection-info p {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

/* ===== COMMUNITY AND BUSINESS PAGE ===== */

.comm-hero {
    position: relative;
    padding: 160px 0;
    background: #2a2a2a center/cover no-repeat;
}

.comm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.comm-hero-container {
    position: relative;
    z-index: 2;
}

.comm-hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-left: calc(50% + 25px);
}

.comm-hero-text-wrap {
    max-width: 550px;
    width: 100%;
}

.comm-hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.comm-hero-subtitle {
    color: #d97706;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.comm-hero-desc {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.comm-section {
    padding: 80px 0;
}

.comm-section--alt {
    background: #1a1a1a;
}

.comm-video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.comm-video-item {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.comm-video-thumb {
    background: #2a2a2a;
    aspect-ratio: 16 / 9;
}

.comm-video-info {
    padding: 20px;
}

.comm-video-info h4 {
    color: #d97706;
    font-size: 16px;
    margin-bottom: 8px;
}

.comm-video-info p {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

.comm-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.comm-photo-item {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.comm-photo-thumb {
    background: #2a2a2a;
    aspect-ratio: 4 / 3;
}

.comm-photo-info {
    padding: 15px;
}

.comm-photo-info h4 {
    color: #d97706;
    font-size: 14px;
    margin-bottom: 6px;
}

.comm-photo-info p {
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

.comm-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.comm-project-card {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.comm-project-img {
    background: #2a2a2a;
    aspect-ratio: 16 / 9;
}

.comm-project-info {
    padding: 20px;
}

.comm-project-info h4 {
    color: #d97706;
    font-size: 16px;
    margin-bottom: 8px;
}

.comm-project-info p {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

/* ===== IN MOTION PAGE ===== */

.motion-hero {
    position: relative;
    padding: 160px 0;
    background: #2a2a2a center/cover no-repeat;
}

.motion-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.motion-hero-container {
    position: relative;
    z-index: 2;
}

.motion-hero-content {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    text-align: left;
    padding-left: calc(50% + 25px);
}

.motion-hero-text-wrap {
    max-width: 550px;
    width: 100%;
}

.motion-hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.motion-hero-subtitle {
    color: #d97706;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.motion-hero-desc {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
}

.motion-videos {
    padding: 80px 0;
    background: #1a1a1a;
}

.motion-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.motion-video-item {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.motion-video-thumb {
    background: #2a2a2a;
    aspect-ratio: 16 / 9;
}

.motion-video-info {
    padding: 20px;
}

.motion-video-info h4 {
    color: #d97706;
    font-size: 16px;
    margin-bottom: 8px;
}

.motion-video-info p {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

.motion-reels {
    padding: 80px 0;
}

/* ===== MOBILE OVERRIDES FOR NEW PAGES ===== */
@media (max-width: 768px) {

    /* Momentum Feed Page */
    .feed-page-hero-content {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .feed-page-hero-title {
        font-size: 30px;
    }

    /* Van Lab */
    .vanlab-status {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* The Lens */
    .lens-hero-content {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .lens-hero-title {
        font-size: 30px;
    }

    .lens-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lens-collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Community and Business */
    .comm-hero-content {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .comm-hero-title {
        font-size: 30px;
    }

    .comm-video-grid {
        grid-template-columns: 1fr;
    }

    .comm-photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comm-project-grid {
        grid-template-columns: 1fr;
    }

    /* In Motion */
    .motion-hero-content {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }

    .motion-hero-title {
        font-size: 30px;
    }

    .motion-video-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== CONTACT PAGE ===== */

.contact-hero {
    padding: 80px 0 60px;
    text-align: center;
}

.contact-eyebrow {
    color: #d97706;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.contact-hero-title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 8px;
}

.contact-hero-subtitle {
    color: #d97706;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact-hero-desc {
    color: #ccc;
    font-size: 15px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

/* Contact form section */
.contact-form-section {
    padding: 20px 0 80px;
}

.contact-form-wrap {
    max-width: 780px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-field--full {
    grid-column: 1 / -1;
}

.contact-label {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-required {
    color: #d97706;
}

.contact-optional {
    color: #666;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
}

.contact-char-count {
    margin-left: auto;
    color: #666;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    font-size: 11px;
}

.contact-input,
.contact-select,
.contact-textarea {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 14px;
    padding: 12px 14px;
    width: 100%;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
    color: #555;
}

.contact-input:focus,
.contact-select:focus,
.contact-textarea:focus {
    outline: none;
    border-color: #d97706;
}

.contact-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.contact-select option {
    background: #1e1e1e;
    color: #fff;
}

.contact-textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.6;
}

.contact-hint {
    font-size: 11px;
    color: #555;
    margin-top: -4px;
}

.contact-privacy {
    font-size: 12px;
    color: #555;
    text-align: center;
    margin: 0;
}

.contact-submit-row {
    display: flex;
    justify-content: center;
}

.contact-submit {
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Segoe UI', Arial, sans-serif;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.contact-submit:hover {
    opacity: 0.85;
}

/* Contact success panel */
.contact-success {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.contact-success-icon {
    font-size: 50px;
    color: #d97706;
    margin-bottom: 20px;
    line-height: 1;
}

.contact-success h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.contact-success p {
    color: #ccc;
    font-size: 15px;
}

/* Active state for CONTACT button */
.btn-outline.active {
    border-color: #d97706;
    color: #d97706;
}

/* Mobile overrides for contact page */
@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 30px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-field--full {
        grid-column: 1;
    }
}
