/* Starhelm Studios - styles.css */

:root {
    --bg:        #0d0d0d;
    --bg-alt:    #151515;
    --border:    rgba(255, 255, 255, 0.07);
    --text:      #efefef;
    --muted:     rgba(239, 239, 239, 0.55);
    --accent:    #f4d03f;
    --brand:     #E32D9B;
    --ease:      0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--accent); color: #000;
    font-weight: 600; padding: 0.5rem 1rem;
    border-radius: 4px; z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   Header
   ============================================================ */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: flex-end;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav a,
.header-contact {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(239, 239, 239, 0.65);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color var(--ease);
    text-decoration: none;
}
.header-nav a:hover,
.header-contact:hover { color: var(--text); }
.header-nav a:focus-visible,
.header-contact:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ============================================================
   Hero — split layout
   ============================================================ */

main { flex: 1; display: flex; flex-direction: column; }

.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 6rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.75) 100%),
        linear-gradient(to bottom, transparent 50%, rgba(10,10,10,1) 100%);
    z-index: 0;
}

.split {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
    align-items: center;
    width: 100%;
    max-width: 960px;
}

.col-studio  { padding-right: 5rem; }
.col-project { padding-left: 5rem; }

/* Studio column */
.col-studio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}


.studio-badge {
    width: 380px;
    height: auto;
}

/* Vertical divider */
.col-divider {
    background: rgba(255, 255, 255, 0.25);
    width: 1px;
    height: 340px;
    align-self: center;
}

/* Project column */
.col-project {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.eyebrow {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-logo {
    width: 340px;
    height: auto;
}

.project-desc {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(239, 239, 239, 0.7);
    max-width: 320px;
    line-height: 1.8;
    text-align: center;
}

/* ============================================================
   Button
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: var(--accent);
    color: #000;
    border: none;
    cursor: pointer;
    transition: opacity var(--ease), transform var(--ease);
}
.btn--lg {
    font-size: 1rem;
    padding: 0.85rem 2rem;
    gap: 0.6rem;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }


/* ============================================================
   About
   ============================================================ */

.about-section {
    border-top: 1px solid var(--border);
    padding: 3rem 4rem;
}

.about-inner {
    max-width: 740px;
    margin: 0 auto;
}

.about-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text);
    margin-bottom: 0;
    text-align: center;
}

.section-heading {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--brand);
    text-align: center;
    margin-bottom: 0;
}

.about-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(239, 239, 239, 0.65);
    line-height: 1.9;
    text-align: center;
    margin-top: 0.75rem;
}

.text-link {
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: rgba(239, 239, 239, 0.25);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--ease);
}
.text-link:hover { text-decoration-color: var(--text); }

/* ============================================================
   Projects
   ============================================================ */

.projects-section {
    border-top: 1px solid var(--border);
    padding: 3rem 4rem;
    background: var(--bg-alt);
}

.projects-inner {
    max-width: 740px;
    margin: 0 auto;
}

.project-card {
    margin-top: 2rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    position: relative;
}

.project-card-logo-link {
    display: flex;
    flex-shrink: 0;
}

.project-card-logo {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.9;
}

.project-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    width: 100%;
}

.project-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0.4rem 0 0.75rem;
}

.project-card-desc {
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(239, 239, 239, 0.72);
    line-height: 1.8;
    max-width: 480px;
}

.project-card-featured {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(239, 239, 239, 0.55);
    margin-top: 0.75rem;
}

.project-card-links {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .projects-section { padding: 2.5rem 2rem; }
    .project-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.25rem;
    }
    .project-card-logo {
        width: 100%;
        height: 160px;
        object-fit: contain;
        border-radius: 6px;
    }
    .project-card-body { align-items: flex-start; }
    .project-card-links { align-self: center; }
    .project-card-desc { max-width: 100%; }
}

/* ============================================================
   Contact
   ============================================================ */

.contact-section {
    border-top: 1px solid var(--border);
    padding: 4rem;
    background: var(--bg-alt);
    text-align: center;
}

.contact-inner {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.contact-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.contact-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-social a {
    color: var(--muted);
    display: flex;
    transition: color var(--ease);
}
.contact-social a:hover { color: var(--text); }
.contact-social a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

@media (max-width: 640px) {
    .contact-section { padding: 2.5rem 2rem; }
    .contact-actions { flex-direction: column; }
}

/* ============================================================
   Team
   ============================================================ */

.team-section {
    border-top: 1px solid var(--border);
    padding: 3rem 4rem;
}

.team-inner {
    max-width: 740px;
    margin: 0 auto;
}

.team-card {
    margin-top: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.team-bio {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
}

.team-role {
    margin-bottom: 0.25rem;
}

.team-desc {
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(239, 239, 239, 0.72);
    line-height: 1.8;
}

.team-link {
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .team-section { padding: 2.5rem 2rem; }
    .team-card { flex-direction: column; align-items: center; text-align: center; }
    .team-bio { align-items: center; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 4rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.footer-logo {
    width: 80px;
    height: auto;
}



.footer-copy {
    font-size: 0.7rem;
    color: rgba(239, 239, 239, 0.16);
}

/* ============================================================
   Mobile — stack columns
   ============================================================ */

@media (max-width: 640px) {
    .site-header { display: none; }

    .hero {
        padding: 6rem 2rem 3rem;
        align-items: flex-start;
    }

    .split {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 2.5rem 0;
    }

    .col-studio  { align-items: center; text-align: center; padding-right: 0; }
    .col-project { padding-left: 0; }

    .col-divider {
        height: 1px;
        width: 100%;
        background: var(--border);
    }

    .about-section { padding: 2.5rem 2rem; }
    .site-footer { padding: 1.5rem 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
}
