/* ============================================================
   Bold Universe — Stark Aesthetic
   bold-stark.css
   ============================================================ */

:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-light: #ffffef;
    --text-gray: #a0a0a0;
    --text-dim: #4a4a4a;
    --accent-line: #1a1a1a;
    --accent-coral: #ff8a80;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Inter', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ============================================================
   CONTAINER + GRID OVERLAY
   ============================================================ */

.container {
    max-width: 1440px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    background: radial-gradient(
        ellipse 100% 40% at 50% -30%,
        rgba(255, 255, 255, 0.15),
        transparent
    );
}

/* Subtle geometric background grid */
.container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1440px;
    height: 100vh;
    background-image:
        linear-gradient(90deg, var(--accent-line) 1px, transparent 1px),
        linear-gradient(0deg, var(--accent-line) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
    position: relative;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark {
    height: 21px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.3px;
    color: var(--text-white);
}

.header-nav {
    display: flex;
    gap: 40px;
}

.header-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--text-white);
}

/* Gradient border beneath header */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 30%,
        rgba(255, 255, 255, 1) 70%,
        rgba(255, 255, 255, 0) 100%
    );
}

/* ============================================================
   PAGE HERO (inner pages — about, services, contact, etc.)
   ============================================================ */

.page-hero {
    padding: 100px 80px 80px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 64px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-top: 20px;
    max-width: 900px;
}

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-top: 30px;
    max-width: 700px;
    font-weight: 400;
}

/* ============================================================
   TOP INTRO (pages that skip the hero — just an h1 + content)
   ============================================================ */

.top-intro {
    padding: 80px 80px 0 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.top-intro h1 {
    font-size: 64px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 900px;
}

.top-intro p.intro-text {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-top: 24px;
    font-weight: 400;
}

.top-intro a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    font-weight: 400;
}

.top-intro a:hover {
    color: var(--text-white);
}

@media (max-width: 768px) {
    .top-intro {
    }

    .top-intro h1 {
        font-size: 40px;
    }
}

/* ============================================================
   HERO SECTION (home page carousel)
   ============================================================ */

.hero-section {
    padding: 140px 80px 120px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    height: 850px;
}

.story-container {
    position: relative;
    height: calc(100% - 120px);
}

.story {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.story.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.story-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.story-headline {
    font-size: 64px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 40px;
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 900px;
}

.story-description {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 700px;
}

.story-nav {
    display: flex;
    gap: 16px;
    position: absolute;
    bottom: 120px;
    left: 80px;
}

.story-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-dim);
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-dot.active {
    background-color: var(--text-white);
    width: 32px;
    border-radius: 4px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: var(--text-white);
    color: var(--bg-black);
    text-decoration: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.hero-cta:hover {
    background-color: var(--text-gray);
    transform: translateY(-1px);
}

.hero-cta::after {
    content: '→';
    font-size: 16px;
}

/* ============================================================
   GRADIENT HR DIVIDERS
   ============================================================ */

hr {
    height: 1px;
    border: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 30%,
        rgba(255, 255, 255, 1) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    margin: 60px 80px;
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.content-section {
    padding: 0 80px 60px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.content-section h2 {
    font-size: 48px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 40px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.content-section h3 {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.content-section p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 24px;
    font-weight: 400;
}

.lead-paragraph {
    font-size: 22px;
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: 400;
    max-width: 800px;
}

.criteria-list {
    list-style: none;
    margin: 40px 0;
    padding: 0;
}

.criteria-list li {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-left: 28px;
    position: relative;
    font-weight: 400;
}

.criteria-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 4px;
    height: 4px;
    background-color: var(--text-white);
    border-radius: 50%;
}

/* ============================================================
   SERVICES TABS
   ============================================================ */

.tabs-container {
    width: 100%;
}

.tabs-nav {
    display: flex;
    gap: 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--text-dim);
}

.tab-button {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 400;
    font-family: inherit;
    padding: 16px 32px 16px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -1px;
    text-align: left;
}

.tab-button:hover {
    color: var(--text-white);
}

.tab-button.active {
    color: var(--text-white);
    border-bottom-color: var(--text-white);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ============================================================
   CONTACT FORM + CALENDAR GRID
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-form-container h2,
.calendar-container h2,
.calendar-container h3 {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 32px;
    letter-spacing: -0.5px;
}

.calendar-container p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--bg-black);
    border: 1px solid #b9b9b9;
    color: var(--text-white);
    font-size: 16px;
    font-family: inherit;
    padding: 14px 16px;
    border-radius: 0;
    transition: border-color 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--text-white);
}

.form-group select {
    cursor: pointer;
    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 d='M1 1l5 5 5-5' stroke='%23a0a0a0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Honeypot — hidden from humans */
.honeypot {
    display: none;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: var(--text-white);
    color: var(--bg-black);
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: var(--text-gray);
    transform: translateY(-1px);
}

.form-message {
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid;
}

.form-message.success {
    border-color: var(--text-white);
    color: var(--text-white);
}

.form-message.error {
    border-color: #ff8a80;
    color: #ff8a80;
}

.form-message p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: inherit;
}

.form-message p:last-child {
    margin-bottom: 0;
}

/* Google Calendar button override */
.calendar-button-wrapper .calendar-btn,
.calendar-button-wrapper button {
    background-color: var(--text-white) !important;
    color: var(--bg-black) !important;
    border-radius: 0 !important;
    border: none !important;
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */

.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 20px;
}

.resource-item {
    border-top: 1px solid var(--text-dim);
    padding-top: 40px;
}

.resource-item .resource-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.resource-item h3 {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.resource-item p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid var(--text-dim);
    padding-bottom: 4px;
    transition: border-color 0.2s ease;
}

.resource-link:hover {
    border-color: var(--text-white);
}

.resource-link::after {
    content: '→';
}

/* ============================================================
   PRIVACY / TERMS PAGES
   ============================================================ */

.legal-content {
    padding: 0 80px 120px 80px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.legal-content h2 {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-white);
    margin: 60px 0 20px 0;
    letter-spacing: -0.3px;
}

.legal-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.legal-content a {
    color: var(--text-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    color: var(--text-gray);
}

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

footer {
    padding: 80px 80px 60px 80px;
    position: relative;
    z-index: 1;
}

/* Gradient border above footer */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 30%,
        rgba(255, 255, 255, 1) 70%,
        rgba(255, 255, 255, 0) 100%
    );
}

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

.copyright {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 400;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    font-weight: 400;
}

.footer-nav a:hover {
    color: var(--text-white);
}

/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {
    header {
        padding: 0 30px;
        height: 70px;
    }

    .logo-text {
        font-size: 18px;
    }

    .header-nav {
        display: none;
    }

    .hero-section {
        padding: 100px 30px 80px 30px;
        height: auto;
    }

    .story-headline {
        font-size: 40px;
        letter-spacing: -1px;
    }

    .story-description {
        font-size: 17px;
    }

    .story-nav {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 32px;
    }

    .page-hero {
        padding: 60px 30px 50px 30px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    hr {
        margin: 80px 30px;
    }

    .content-section {
        padding: 0 30px 80px 30px;
    }

    .content-section h2 {
        font-size: 36px;
    }

    .legal-content {
        padding: 0 30px 80px 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .resources-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .tabs-nav {
        flex-direction: column;
        border-bottom: none;
    }

    .tab-button {
        padding: 16px 0;
        border-bottom: 1px solid var(--text-dim);
    }

    footer {
        padding: 60px 30px 40px 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* ============================================================
   RESOURCES — CARD GRID
   ============================================================ */

.resources-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.resource-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    background-color: #000;
}

.resource-card:hover {
    box-shadow: 0 0 32px 4px rgba(255, 138, 128, 0.35);
}

/* Placeholder image area */
.card-image {
    width: 100%;
    height: 200px;
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Geometric placeholders — unique per card */
.card-image::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.18;
}

.card-image.geo-1::before {
    background:
        linear-gradient(135deg, transparent 40%, #a0a0a0 40%, #a0a0a0 42%, transparent 42%),
        linear-gradient(45deg, transparent 55%, #606060 55%, #606060 57%, transparent 57%),
        radial-gradient(ellipse 60% 60% at 30% 70%, #ffffff 0%, transparent 70%);
}

.card-image.geo-2::before {
    background:
        repeating-linear-gradient(
            60deg,
            transparent,
            transparent 20px,
            #505050 20px,
            #505050 21px
        ),
        radial-gradient(ellipse 80% 50% at 70% 30%, #888888 0%, transparent 60%);
}

.card-image.geo-3::before {
    background:
        linear-gradient(to bottom right, #333333 0%, transparent 50%),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 14px,
            #404040 14px,
            #404040 15px
        );
}

/* Swap-in real image: add <img> inside .card-image — placeholder disappears */
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 28px 0 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.card-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.3;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.card-title::after {
    content: '›';
    color: var(--accent-coral);
    font-size: 26px;
    line-height: 1.1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.resource-card:hover .card-title::after {
    transform: translateX(3px);
}

.card-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================================
   RESOURCES — MODAL / POP-IN
   ============================================================ */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px;
    backdrop-filter: blur(6px);
}

.modal-overlay.open {
    display: flex;
}

.modal-panel {
    background: #000;
    border: 1px solid #2a2a2a;
    max-width: 760px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 60px 8px rgba(255, 138, 128, 0.15);
    animation: modalIn 0.25s ease;
}

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

.modal-header {
    padding: 48px 56px 0 56px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    padding: 4px 8px;
    font-family: inherit;
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.modal-title {
    font-size: 36px;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 0;
}

.modal-divider {
    height: 1px;
    border: none;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 30%,
        rgba(255, 255, 255, 0.6) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    margin: 40px 56px;
}

.modal-body {
    padding: 0 56px 56px 56px;
}

.modal-body p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 18px;
}

.modal-body a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 400;
}

.modal-body a:hover {
    color: var(--text-light);
}

@media (max-width: 900px) {
    .resources-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .resources-card-grid {
        grid-template-columns: 1fr;
    }

    .modal-overlay {
        padding: 20px;
        align-items: flex-end;
    }

    .modal-panel {
        max-height: 90vh;
    }

    .modal-header {
        padding: 40px 30px 0 30px;
    }

    .modal-divider {
        margin: 32px 30px;
    }

    .modal-body {
        padding: 0 30px 40px 30px;
    }

    .modal-title {
        font-size: 26px;
    }
}
