/* ==========================================================================
   Big Isle Media — main.css
   Refined dark studio aesthetic
   ========================================================================== */

:root {
    --ink:      #0e1117;
    --ink-soft: #1c2330;
    --ink-mid:  #2a3445;
    --slate:    #7a8899;
    --mist:     #b0bbc8;
    --paper:    #f4f2ee;
    --white:    #ffffff;
    --gold:     #c4a35a;
    --gold-dim: rgba(196,163,90,0.15);
    --rp-teal:  #2dd4bf;
    --ed-amber: #f59e0b;
    --radius:   10px;
    --transition: 0.22s ease;
}

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

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

body {
    background: var(--ink);
    color: var(--mist);
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.15;
    color: var(--white);
}

.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--slate);
    max-width: 520px;
    line-height: 1.7;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--ink);
    text-decoration: none;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform 0.1s;
    letter-spacing: 0.01em;
}
.btn-primary:hover { background: #d4b06a; }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.btn-full { width: 100%; justify-content: center; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--mist);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--ink-mid);
    font-size: 0.9rem;
    font-weight: 400;
    transition: border-color var(--transition), color var(--transition);
}
.btn-ghost:hover { border-color: var(--slate); color: var(--white); }

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2.5rem;
    background: rgba(14, 17, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: padding var(--transition);
}

.nav-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.01em;
}
.nav-wordmark span { color: var(--gold); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-links a {
    color: var(--slate);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 400;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 5rem;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(196,163,90,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196,163,90,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,163,90,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    padding: 0.35rem 0.875rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-title {
    font-size: clamp(2.75rem, 6vw, 5rem);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 1.5rem;
    max-width: 700px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.25s forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.4s forwards;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.55s forwards;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--ink-mid);
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.7s forwards;
}

.hero-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0.6;
    animation: pulse 2.5s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.3); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */

.products {
    padding: 7rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.products .container > .section-label,
.products .container > .section-title,
.products .container > .section-desc {
    margin-bottom: 0.75rem;
}

.products .container > .section-title { margin-bottom: 1rem; }
.products .container > .section-desc  { margin-bottom: 3.5rem; }

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

.product-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.product-card--rp {
    background: linear-gradient(135deg, #0d1f2d 0%, #0a1a1f 100%);
    border: 1px solid rgba(45,212,191,0.15);
}
.product-card--rp::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(45,212,191,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.product-card--ed {
    background: linear-gradient(135deg, #1a1400 0%, #141008 100%);
    border: 1px solid rgba(245,158,11,0.15);
}
.product-card--ed::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.product-card-inner {
    padding: 2.5rem;
    position: relative;
}

.product-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.product-card--rp .product-eyebrow { color: var(--rp-teal); }
.product-card--ed .product-eyebrow { color: var(--ed-amber); }

.product-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.product-card--rp .product-wordmark span { color: var(--rp-teal); }
.product-card--ed .product-wordmark span { color: var(--ed-amber); }

.product-tagline {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}
.product-features li {
    font-size: 0.83rem;
    color: var(--mist);
    padding: 0.4rem 0;
    padding-left: 1.1rem;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.product-features li::before {
    content: '—';
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    opacity: 0.4;
}

.product-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-product-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    transition: all var(--transition);
}
.product-card--rp .btn-product-primary {
    background: var(--rp-teal);
    color: #0a1a1f;
}
.product-card--rp .btn-product-primary:hover { background: #5eead4; }
.product-card--ed .btn-product-primary {
    background: var(--ed-amber);
    color: #1a1400;
}
.product-card--ed .btn-product-primary:hover { background: #fbbf24; }

.btn-product-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    color: var(--slate);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all var(--transition);
}
.btn-product-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }

.product-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 2rem;
}
.product-status--live {
    background: rgba(45,212,191,0.1);
    color: var(--rp-teal);
    border: 1px solid rgba(45,212,191,0.2);
}

.products-note {
    margin-top: 2rem;
    font-size: 0.82rem;
    color: var(--ink-mid);
    text-align: center;
}

/* ==========================================================================
   CUSTOM WORK
   ========================================================================== */

.work {
    padding: 7rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
}

.work-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.work-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1.25rem;
}

.work-desc {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 1rem;
    max-width: 420px;
}

.work-desc:last-of-type { margin-bottom: 2rem; }

.work-capabilities {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 0.5rem;
}

.capability {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.02);
    transition: border-color var(--transition), background var(--transition);
}
.capability:hover {
    border-color: var(--gold-dim);
    background: rgba(196,163,90,0.03);
}

.capability-icon {
    font-size: 1.1rem;
    color: var(--gold);
    opacity: 0.6;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.capability-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.capability-desc {
    font-size: 0.82rem;
    color: var(--slate);
    line-height: 1.5;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact {
    padding: 7rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.contact-desc {
    font-size: 0.95rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 340px;
}

.contact-detail {
    font-size: 0.9rem;
    color: var(--mist);
    margin-bottom: 0.5rem;
}
.contact-detail a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity var(--transition);
}
.contact-detail a:hover { opacity: 0.8; }
.contact-location { color: var(--slate); font-size: 0.82rem; }

/* Form */
.contact-form-wrap {
    background: var(--ink-soft);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field {
    margin-bottom: 1rem;
}
.form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--mist);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.65rem 0.875rem;
    font-size: 0.9rem;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    transition: border-color var(--transition);
    box-sizing: border-box;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--ink-mid); }
.form-field select option { background: var(--ink-soft); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.form-success {
    text-align: center;
    padding: 3rem 1rem;
}
.form-success-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(196,163,90,0.12);
    color: var(--gold);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.form-success p { color: var(--slate); font-size: 0.9rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 3.5rem 0 2rem;
    background: var(--ink);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.footer-wordmark span { color: var(--gold); }

.footer-tagline {
    font-size: 0.82rem;
    color: var(--slate);
    margin-bottom: 0.4rem;
}
.footer-location { font-size: 0.78rem; color: var(--ink-mid); }

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-col-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.25rem;
}
.footer-col a {
    font-size: 0.85rem;
    color: var(--slate);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.78rem;
    color: var(--ink-mid);
}
.footer-bottom a {
    color: var(--ink-mid);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--slate); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .nav { padding: 1rem 1.25rem; }
    .nav-links { gap: 1.25rem; }
    .nav-links a { font-size: 0.82rem; }

    .hero { padding: 7rem 1.25rem 4rem; }
    .hero-cta { flex-direction: column; align-items: flex-start; }

    .product-grid { grid-template-columns: 1fr; }

    .work-inner { grid-template-columns: 1fr; gap: 3rem; }
    .work-desc { max-width: 100%; }

    .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .contact-desc { max-width: 100%; }
    .form-row { grid-template-columns: 1fr; }

    .footer-inner { flex-direction: column; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

    .container { padding: 0 1.25rem; }
    .products, .work, .contact { padding: 5rem 0; }
}

@media (max-width: 480px) {
    .nav-links { display: none; }
    .product-card-inner { padding: 1.75rem; }
}
