/* =============================================
   GRANT CAMERON — Personal Website Stylesheet
   ============================================= */

/* ===== Variables ===== */
:root {
    --navy:          #0a192f;
    --navy-light:    #112240;
    --navy-lighter:  #1d3461;
    --navy-card:     #0f2038;
    --border:        #1e3a5f;
    --primary:       #64ffda;
    --primary-dim:   rgba(100, 255, 218, 0.08);
    --primary-mid:   rgba(100, 255, 218, 0.15);
    --text-bright:   #e6f1ff;
    --text-main:     #ccd6f6;
    --text-muted:    #8892b0;
    --gold:          #ffd700;
    --red-yt:        #ff0000;
    --shadow:        0 10px 30px -15px rgba(2, 12, 27, 0.7);
    --shadow-lg:     0 20px 60px -15px rgba(2, 12, 27, 0.9);
    --font-sans:     'Inter', sans-serif;
    --font-mono:     'Roboto Mono', monospace;
    --ease:          cubic-bezier(0.645, 0.045, 0.355, 1);
    --trans:         all 0.3s var(--ease);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background: var(--navy);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { background: none; border: none; cursor: pointer; }

/* ===== Layout ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
section { padding: 100px 0; }

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 4rem; }

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.section-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto 1.25rem;
    border-radius: 2px;
}

.section-sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.9rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: var(--trans);
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--primary);
    color: var(--navy);
    border-color: var(--primary);
}
.btn-primary:hover {
    background: transparent;
    color: var(--primary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn-secondary:hover { background: var(--primary-mid); }

.btn-youtube {
    background: var(--red-yt);
    color: #fff;
    border-color: var(--red-yt);
}
.btn-youtube:hover {
    background: transparent;
    color: var(--red-yt);
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--trans);
}
.navbar.scrolled {
    background: rgba(10, 25, 47, 0.97);
    backdrop-filter: blur(12px);
    padding: 0.75rem 0;
    box-shadow: 0 10px 30px -10px rgba(2,12,27,0.7);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo a {
    font-family: var(--font-mono);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.15em;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.1em;
    transition: var(--trans);
    position: relative;
    padding-bottom: 4px;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--trans);
}
.nav-link:hover,
.nav-link.active { color: var(--primary); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--trans);
    border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
   =========================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 10% 80px;
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

/* Banner image layer */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Dark overlay so text stays readable over the banner */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(10, 25, 47, 0.88) 0%,
        rgba(10, 25, 47, 0.75) 55%,
        rgba(10, 25, 47, 0.55) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-scroll { z-index: 2; }

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--primary);
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.hero-name {
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.hero-tagline {
    font-family: var(--font-mono);
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    min-height: 2rem;
    display: flex;
    align-items: center;
    gap: 2px;
}

.cursor {
    color: var(--primary);
    animation: blink 1s step-end infinite;
    font-weight: 300;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-bio {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.85;
    margin-bottom: 2.25rem;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--primary-dim);
    border: 1px solid rgba(100,255,218,0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}
.scroll-mouse {
    width: 28px;
    height: 46px;
    border: 2px solid var(--text-muted);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
    opacity: 0.5;
}
.scroll-mouse span {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-anim 2s ease infinite;
}
@keyframes scroll-anim {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

/* ===========================
   ABOUT
   =========================== */
.about { background: var(--navy-light); }

.about-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 5rem;
    align-items: center;
}

.photo-ring {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--navy-card);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 40px rgba(100,255,218,0.12), var(--shadow);
    margin: 0 auto;
}
.photo-ring::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px dashed rgba(100,255,218,0.25);
    animation: spin 25s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
}

.about-text h3 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 1rem;
    font-size: 0.975rem;
}

.about-meta {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.meta-item i {
    color: var(--primary);
    width: 16px;
    flex-shrink: 0;
    margin-top: 3px;
}
.meta-item a {
    color: var(--primary);
    transition: var(--trans);
}
.meta-item a:hover { text-decoration: underline; }

/* ===========================
   EXPERTISE
   =========================== */
.expertise { background: var(--navy); }

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.exp-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem 1.75rem;
    transition: var(--trans);
    position: relative;
    overflow: hidden;
}
.exp-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--trans);
}
.exp-card:hover {
    transform: translateY(-6px);
    border-color: rgba(100,255,218,0.4);
    box-shadow: var(--shadow-lg);
}
.exp-card:hover::before { transform: scaleX(1); }

.exp-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(100,255,218,0.1);
}
.exp-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.exp-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    letter-spacing: 0.01em;
}
.exp-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.75;
}

/* ===========================
   RESUME
   =========================== */
.resume-section { background: var(--navy-light); }

.resume-download-bar {
    text-align: center;
    margin-bottom: 4rem;
}

.resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.col-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.5rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 10px; bottom: 0;
    width: 2px;
    background: var(--border);
    border-radius: 2px;
}

.tl-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 2.5rem;
}

.tl-dot {
    position: absolute;
    left: calc(-1.5rem - 6px);
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--navy-light);
    box-shadow: 0 0 10px rgba(100,255,218,0.5);
}
.tl-dot--gold {
    background: var(--gold);
    box-shadow: 0 0 10px rgba(255,215,0,0.4);
}
.tl-dot--muted {
    background: var(--text-muted);
    box-shadow: none;
    border-color: var(--navy-light);
}

.tl-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.3rem;
}
.tl-body h4 {
    font-size: 0.975rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.2rem;
}
.tl-body h5 {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0.75rem;
}
.tl-body ul { padding-left: 0; }
.tl-body ul li {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.65;
    margin-bottom: 0.4rem;
    padding-left: 1rem;
    position: relative;
}
.tl-body ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Skill Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.skill-tags span {
    background: var(--primary-dim);
    color: var(--primary);
    border: 1px solid rgba(100,255,218,0.18);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    transition: var(--trans);
    cursor: default;
}
.skill-tags span:hover {
    background: var(--primary-mid);
    border-color: rgba(100,255,218,0.4);
}

/* ===========================
   PORTFOLIO
   =========================== */
.portfolio { background: var(--navy); }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.proj-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--trans);
}
.proj-card:hover {
    transform: translateY(-8px);
    border-color: rgba(100,255,218,0.4);
    box-shadow: var(--shadow-lg);
}

.proj-banner {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}
.proj-banner--qa {
    background: linear-gradient(135deg, #1a0a0f 0%, #2d1020 50%, #3a0a2a 100%);
    color: #e94560;
}
.proj-banner--cloud {
    background: linear-gradient(135deg, #0a0d14 0%, #10161f 50%, #1a2535 100%);
    color: #ff9900;
}
.proj-banner--linux {
    background: linear-gradient(135deg, #091420 0%, #0d2137 50%, #0e2e4a 100%);
    color: var(--primary);
}

.proj-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.ptag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    font-weight: 600;
}
.ptag-qa        { background: rgba(233,69,96,0.1);  color: #e94560; border: 1px solid rgba(233,69,96,0.25); }
.ptag-notion    { background: rgba(200,200,200,0.06); color: #888;  border: 1px solid rgba(200,200,200,0.12); }
.ptag-aws       { background: rgba(255,153,0,0.1);  color: #ff9900; border: 1px solid rgba(255,153,0,0.25); }
.ptag-terraform { background: rgba(120,91,209,0.1); color: #a78bfa; border: 1px solid rgba(120,91,209,0.25); }
.ptag-security  { background: var(--primary-dim);   color: var(--primary); border: 1px solid rgba(100,255,218,0.2); }
.ptag-linux     { background: var(--primary-dim);   color: var(--primary); border: 1px solid rgba(100,255,218,0.2); }
.ptag-bash      { background: rgba(120,91,209,0.08); color: #a78bfa; border: 1px solid rgba(120,91,209,0.18); }
.ptag-sysadmin  { background: var(--primary-dim);   color: var(--primary); border: 1px solid rgba(100,255,218,0.2); }

.proj-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}
.proj-body p {
    color: var(--text-muted);
    font-size: 0.865rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex: 1;
}

.proj-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-mono);
    transition: var(--trans);
    margin-top: auto;
}
.proj-link:hover { gap: 0.7rem; }
.proj-link i { font-size: 0.75rem; }

/* YouTube Section */
.yt-section {
    background: var(--navy-light);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
}

.yt-section-header { margin-bottom: 2rem; }

.yt-title-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.5rem;
}
.yt-title-row i { font-size: 2rem; color: var(--red-yt); }
.yt-title-row h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-bright);
}
.yt-section-header > p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.yt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.yt-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}
.yt-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.yt-card:hover {
    border-color: rgba(255,0,0,0.5);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px -10px rgba(255,0,0,0.15);
}

.yt-thumb {
    height: 130px;
    background: linear-gradient(135deg, #1a0000 0%, #2d0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.yt-count {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    letter-spacing: 0.04em;
}

.yt-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--red-yt);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.35rem;
}
.yt-bg-icon {
    font-size: 3.5rem;
    color: rgba(255,0,0,0.25);
}
.yt-play {
    position: absolute;
    width: 46px;
    height: 46px;
    background: var(--red-yt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
    transition: var(--trans);
}
.yt-card:hover .yt-play { transform: scale(1.1); }

.yt-body { padding: 1.25rem; }
.yt-body h4 {
    color: var(--text-bright);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.yt-body p {
    color: var(--text-muted);
    font-size: 0.845rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.yt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--red-yt);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-mono);
    transition: var(--trans);
}
.yt-link:hover { gap: 0.65rem; }

.yt-channel-cta { text-align: center; }

/* ===========================
   VENTURES
   =========================== */
.ventures { background: var(--navy-light); }

.venture-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3.5rem;
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: var(--trans);
}
.venture-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #7c3aed 100%);
}
.venture-card:hover {
    border-color: rgba(100,255,218,0.3);
    box-shadow: var(--shadow-lg);
}

.venture-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.venture-logo {
    width: 110px;
    height: 110px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.venture-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.venture-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-bright);
    letter-spacing: -0.01em;
}

.venture-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    letter-spacing: 0.06em;
    background: var(--primary-dim);
    border: 1px solid rgba(100,255,218,0.15);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
}

.venture-blurb {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.75;
    flex: 1;
}

.venture-services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vs-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.vs-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--primary-dim);
    border: 1px solid rgba(100,255,218,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    margin-top: 2px;
}

.vs-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.3rem;
}
.vs-text p {
    color: var(--text-muted);
    font-size: 0.86rem;
    line-height: 1.7;
}

.venture-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.venture-pills span {
    background: rgba(124,58,237,0.08);
    color: #a78bfa;
    border: 1px solid rgba(124,58,237,0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.73rem;
    letter-spacing: 0.04em;
    transition: var(--trans);
    cursor: default;
}
.venture-pills span:hover {
    background: rgba(124,58,237,0.15);
    border-color: rgba(124,58,237,0.4);
}

@media (max-width: 860px) {
    .venture-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    .venture-left {
        align-items: center;
        text-align: center;
    }
    .venture-blurb { text-align: left; }
}

/* ===========================
   CONTACT
   =========================== */
.contact { background: var(--navy-light); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: var(--navy-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem 1.25rem;
    text-align: center;
    transition: var(--trans);
    display: block;
}
.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(100,255,218,0.4);
    box-shadow: var(--shadow-lg);
}
.contact-card i {
    font-size: 2rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.75rem;
}
.contact-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.4rem;
}
.contact-card p {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    word-break: break-all;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: var(--navy);
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}
.footer-title {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}
.footer-links a {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--trans);
}
.footer-links a:hover { color: var(--primary); transform: translateY(-2px); }
.footer-copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    opacity: 0.7;
}

/* ===========================
   SCROLL REVEAL
   =========================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay helpers */
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 960px) {
    .expertise-grid    { grid-template-columns: repeat(2, 1fr); }
    .portfolio-grid    { grid-template-columns: repeat(2, 1fr); }
    .contact-grid      { grid-template-columns: repeat(2, 1fr); }
    .resume-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-content     { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
    .about-meta        { align-items: center; }
    .meta-item         { justify-content: center; }
    .yt-grid           { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    section { padding: 70px 0; }
    .hero { padding: 110px 6% 70px; }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(280px, 75vw);
        background: var(--navy-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        box-shadow: -10px 0 40px rgba(2,12,27,0.8);
        padding: 2rem;
    }
    .nav-menu.open { display: flex; }
    .hamburger { display: flex; }

    .expertise-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-grid   { grid-template-columns: repeat(2, 1fr); }
    .hero-cta       { flex-direction: column; gap: 1rem; }
    .hero-cta .btn  { justify-content: center; }

    .photo-ring  { width: 200px; height: 200px; }
    .photo-initials { font-size: 3rem; }

    .yt-section { padding: 2rem 1.5rem; }
    .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 400px) {
    .contact-grid { grid-template-columns: 1fr; }
}
