/* ═══════════════════════════════════════════
   WHETSTONE SUBPAGE STYLES
   Shared stylesheet for all pages except the
   homepage (index.html keeps its inline styles).
   Class names match index.html so nav, footer,
   and form markup copy verbatim.
═══════════════════════════════════════════ */

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

:root {
    --black: #000000;
    --white: #ffffff;
    --white-dim: rgba(255, 255, 255, 0.6);
    --white-faint: rgba(255, 255, 255, 0.12);
    --gold: #2d7d5f;
    --gold-dim: rgba(45, 125, 95, 0.3);
    --font-display: "Bebas Neue", "Impact", sans-serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ═══════════════════════════════════════════
   NAVIGATION (copied from index.html)
═══════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    padding: 16px 40px;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

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

@keyframes diamond-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.diamond-spin {
    transform-origin: 170px 24px;
    animation: diamond-spin 4s linear infinite;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--white-dim);
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
}

.nav-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--white-faint);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 20px;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   BUTTONS (copied from index.html hero CTAs)
═══════════════════════════════════════════ */
.hero-cta {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    padding: 16px 40px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-cta:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.hero-cta-green {
    border-color: var(--white);
    color: var(--white);
}

.hero-cta-green:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* ═══════════════════════════════════════════
   STATS BAND (copied from index.html)
═══════════════════════════════════════════ */
.stats {
    padding: 80px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 52px 40px;
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-dim);
}

/* ═══════════════════════════════════════════
   CONTACT + FORM (copied from index.html)
═══════════════════════════════════════════ */
.contact {
    padding: 120px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 0.95;
    margin-bottom: 24px;
}

.contact-sub {
    font-size: 17px;
    color: var(--white-dim);
    font-weight: 300;
    line-height: 1.7;
}

.contact-form {
    display: grid;
    gap: 24px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white-dim);
}

.form-input,
.form-textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--white-faint);
    color: var(--white);
    padding: 14px 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    transition: border-color 0.3s ease;
    outline: none;
}

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

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

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

.form-submit {
    justify-self: start;
    background: var(--white);
    color: var(--black);
    border: none;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 18px 48px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.form-submit:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   FOOTER (copied from index.html)
═══════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--white-faint);
    padding: 48px 40px 32px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-tagline {
    color: var(--white-dim);
    font-size: 14px;
    font-weight: 300;
    margin-top: 6px;
}

.footer-cols {
    display: flex;
    gap: 64px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col-link {
    font-size: 14px;
    font-weight: 300;
    color: var(--white-dim);
    transition: color 0.3s ease;
}

.footer-col-link:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--white-faint);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.claude-credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
}

.claude-credit:hover {
    color: var(--white-dim);
}

.anthropic-logo {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS (copied from index.html)
═══════════════════════════════════════════ */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   SUBPAGE-ONLY COMPONENTS
   (not used on the homepage; no collision risk)
═══════════════════════════════════════════ */
.page-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 180px 40px 64px;
}

.breadcrumbs {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 28px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--white);
}

.page-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 0.95;
}

.page-intro {
    font-size: 18px;
    line-height: 1.75;
    color: var(--white-dim);
    font-weight: 300;
    max-width: 720px;
    margin-top: 28px;
}

.prose {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.prose h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.1;
    margin: 56px 0 18px;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--white-dim);
    font-weight: 300;
    margin-bottom: 20px;
}

.prose ul,
.prose ol {
    margin: 0 0 20px 22px;
    color: var(--white-dim);
    font-weight: 300;
    font-size: 17px;
    line-height: 1.8;
}

.prose li {
    margin-bottom: 10px;
}

.prose li::marker {
    color: var(--gold);
}

.prose strong {
    color: var(--white);
    font-weight: 500;
}

.prose a {
    color: var(--gold);
    border-bottom: 1px solid rgba(45, 125, 95, 0.4);
    transition: border-color 0.3s ease;
}

.prose a:hover {
    border-bottom-color: var(--gold);
}

.answer-box {
    border: 1px solid var(--white-faint);
    border-left: 3px solid var(--gold);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 28px 32px;
    margin-bottom: 48px;
}

.answer-box p {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 80px;
}

.link-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--white-faint);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 36px 32px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.link-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.link-card-num {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.link-card h2,
.link-card h3 {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.1;
}

.link-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--white-dim);
    font-weight: 300;
}

.link-card-more {
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.section-cta {
    text-align: center;
    padding: 40px 40px 120px;
}

.section-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.section-cta p {
    font-size: 16px;
    color: var(--white-dim);
    font-weight: 300;
    max-width: 560px;
    margin: 0 auto 32px;
}

.section-cta-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   RESPONSIVE (nav rules copied from index.html)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

@media (max-width: 768px) {
    /* Three-column grid: equal-width side columns flank a centered
       auto column, so the logo mark lands on the screen's true center
       with the wordmark pinned left and the Menu button pinned right. */
    .nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        padding: 20px 24px;
    }

    .nav.scrolled {
        padding: 14px 24px;
    }

    .nav-logo-text {
        justify-self: start;
    }

    .nav-logo {
        position: static;
        transform: none;
        justify-self: center;
    }

    .nav-right {
        justify-self: end;
    }

    .nav-right .nav-link {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-mobile {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.97);
        z-index: 99;
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
    }

    .nav-mobile.open {
        display: flex;
    }

    .nav-mobile a {
        font-family: var(--font-display);
        font-size: 36px;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .page-hero {
        padding: 140px 24px 48px;
    }

    .prose {
        padding: 0 24px 64px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        padding: 0 24px 64px;
    }

    .stats {
        grid-template-columns: 1fr;
        padding: 60px 24px;
    }

    .contact {
        padding: 80px 24px;
    }

    .footer {
        padding: 48px 24px 32px;
    }

    .footer-top {
        flex-direction: column;
        gap: 40px;
    }

    .footer-cols {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .answer-box {
        padding: 24px;
    }

    .section-cta {
        padding: 24px 24px 96px;
    }
}
