/* ============================================================
   Inside Edge Labs — shared stylesheet
   Used by the workshop listing and all individual workshop pages.
   The main consulting page (index.html) keeps its own inline styles;
   this file carries the same design system plus the workshop components.
   ============================================================ */

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

:root {
    --black: #0A0A0A;
    --charcoal: #1A1A1A;
    --charcoal-light: #2A2A2A;
    --white: #FFFFFF;
    --grey-light: #CCCCCC;
    --grey-mid: #999999;
    --grey-dark: #666666;
    --gold: #D4A85C;
    --gold-dim: rgba(212, 168, 92, 0.15);
    --coral: #E8634A;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--black);
    color: var(--grey-light);
    line-height: 1.75;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

/* ===== Utility ===== */
.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.container-wide {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* ===== Navigation ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

nav .nav-inner {
    max-width: 1060px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
}

nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

nav .nav-links a {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--grey-mid);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.2s;
}

nav .nav-links a:hover { color: var(--gold); }
nav .nav-links a.active { color: var(--white); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--grey-mid);
    font-size: 1.4rem;
    cursor: pointer;
}

/* ===== Generic section/type ===== */
.section { padding: 5rem 0; }
.section-charcoal { background-color: var(--charcoal); }

.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; color: var(--white); }

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

p { margin-bottom: 1.3rem; }
p:last-child { margin-bottom: 0; }
strong { color: var(--white); font-weight: 500; }

.gold-line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-bottom: 2rem;
}

/* ===== Workshops hero ===== */
.wk-hero {
    background: var(--black);
    padding: 6rem 2.5rem 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wk-hero .container { max-width: 820px; }

.wk-hero h1 {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}

.wk-hero .subline {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--grey-light);
    max-width: 560px;
    line-height: 1.7;
}

.wk-hero .meta-row {
    margin-top: 1.6rem;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 1.6rem 0 0;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.breadcrumb a { color: var(--grey-mid); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--grey-dark); }

/* ===== Workshop card grid (listing) ===== */
.wk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
    margin-top: 2.5rem;
}

.wk-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
    text-decoration: none;
}

.wk-card:hover {
    border-color: rgba(212, 168, 92, 0.4);
    transform: translateY(-2px);
}

.wk-card.featured {
    grid-column: 1 / -1;
    border-color: rgba(212, 168, 92, 0.25);
    background: var(--gold-dim);
}

.wk-card .wk-tag {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
}

.wk-card .wk-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.wk-card .wk-blurb {
    font-size: 0.9rem;
    color: var(--grey-mid);
    line-height: 1.6;
    margin-bottom: 1.4rem;
    flex-grow: 1;
}

.wk-card .wk-foot {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
}

.wk-card .wk-format {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--grey-mid);
}

.wk-card .wk-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
}

.wk-card .wk-arrow {
    margin-top: 1rem;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
}

/* ===== Detail page: spec block ===== */
.spec {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    margin: 2.5rem 0;
}
.spec .spec-cell {
    background: var(--black);
    padding: 1.4rem 1.5rem;
}
.spec .spec-label {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--grey-mid);
    margin-bottom: 0.4rem;
}
.spec .spec-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
}
.spec .spec-value.price { color: var(--gold); }

/* ===== Takeaway list ===== */
.takeaways { list-style: none; margin: 1rem 0 0; }
.takeaways li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--grey-light);
}
.takeaways li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 7px;
    height: 7px;
    background: var(--gold);
}

/* ===== Enquiry form ===== */
.enquire {
    background: var(--charcoal);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    margin-top: 1rem;
}
.enquire h3 { margin-top: 0; color: var(--white); font-size: 1.3rem; }
.form-row { margin-bottom: 1.2rem; }
.form-row label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--grey-mid);
    margin-bottom: 0.4rem;
}
.form-row input, .form-row textarea {
    width: 100%;
    background: var(--black);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    border-radius: 0;
}
.form-row input:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.form-row textarea { min-height: 120px; resize: vertical; }

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.9rem 2rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn:hover { background: #E0B86E; }

/* ===== Bridge-up-to-consulting band ===== */
.bridge {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: var(--black);
    padding: 4.5rem 0;
    text-align: center;
}
.bridge h2 { font-size: 1.5rem; max-width: 600px; margin: 0 auto 1rem; }
.bridge p { max-width: 560px; margin: 0 auto 1.6rem; color: var(--grey-mid); }
.cta-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.cta-link:hover { border-bottom-color: var(--gold); }

/* ===== Footer ===== */
footer {
    background: var(--black);
    padding: 1.5rem 2.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--grey-dark);
    border-top: 1px solid rgba(255,255,255,0.04);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    html { font-size: 16px; }
    .wk-hero { padding: 4rem 1.5rem 3rem; }
    .wk-hero h1 { font-size: 2.4rem; }
    .container, .container-wide { padding: 0 1.5rem; }
    .wk-grid { grid-template-columns: 1fr; }
    .spec { grid-template-columns: 1fr; }
    nav { padding: 1rem 1.5rem; }
    nav .nav-links { display: none; }
    .nav-toggle { display: block; }
    nav .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.97);
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.8rem;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .section { padding: 3.5rem 0; }
    .enquire { padding: 1.8rem; }
}
