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

:root {
    --bg:      #f5f0e8;
    --bg2:     #ede6d8;
    --card:    #faf7f2;
    --gold:    #d4a0a0;
    --gold-lt: #e8c4c4;
    --blue:    #d4a0a0;
    --text:    #000000;
    --muted:   #333333;
    --border:  rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ── ambient glow ─────────────────────────────── */
body::before {
    content: '';
    position: fixed; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 10%, rgba(212,160,160,.07) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 85% 85%, rgba(212,160,160,.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ── NAV ──────────────────────────────────────── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 999;
    padding: 1.1rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(250,250,248,.88);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem; color: var(--gold); letter-spacing: .06em;
    display: flex; align-items: center;
}
.nav-logo img {
    height: 48px;
    width: auto;
    display: block;
}
.footer-logo {
    height: 40px;
    width: auto;
    display: block;
    margin: 0 auto 1rem;
}
.nav-links { display: flex; gap: 2.4rem; list-style: none; }
.nav-links a {
    color: var(--muted); text-decoration: none;
    font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
    transition: color .25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }

/* ── HERO ─────────────────────────────────────── */
#hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1;
    padding: 7rem 3rem 3rem;
}
.hero-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 7rem; align-items: center;
    max-width: 1120px; width: 100%;
}
.hero-eyebrow {
    font-size: .72rem; letter-spacing: .35em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 1.2rem;
}
.hero-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 5rem; font-weight: 700; line-height: 1.05;
    margin-bottom: 1.6rem;
}
.hero-name span { color: var(--gold); }
.hero-bio {
    color: var(--muted); font-size: 1rem; max-width: 460px;
    margin-bottom: 2.6rem; line-height: 1.75;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-gold {
    background: var(--gold); color: #ffffff;
    padding: .78rem 2rem; border-radius: 3px;
    text-decoration: none; font-weight: 600;
    font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
    transition: background .25s, transform .25s;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline {
    border: 1px solid var(--border); color: var(--text);
    padding: .78rem 2rem; border-radius: 3px;
    text-decoration: none; font-size: .78rem;
    letter-spacing: .12em; text-transform: uppercase;
    transition: border-color .25s, color .25s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-photo-wrap {
    display: flex; justify-content: center;
    position: relative;
}
.hero-photo-wrap::before {
    content: '';
    position: absolute; width: 340px; height: 430px;
    border: 1px solid var(--gold); border-radius: 4px;
    top: 22px; left: 22px; opacity: .28;
}
.hero-photo-wrap::after {
    content: '';
    position: absolute; width: 340px; height: 430px;
    border: 1px solid var(--blue); border-radius: 4px;
    top: 11px; left: 11px; opacity: .14;
}
.hero-photo-wrap img {
    width: 320px; height: 410px;
    object-fit: cover; object-position: center top;
    border-radius: 4px; position: relative; z-index: 1;
    filter: contrast(1.02) saturate(.95);
    box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

/* ── SHARED SECTION STYLES ────────────────────── */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1120px; margin: 0 auto; padding: 6.5rem 3rem; }
.section-bg { background: var(--bg2); }

.s-eyebrow {
    font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .4rem;
}
.s-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.75rem; margin-bottom: .9rem;
}
.s-rule {
    width: 52px; height: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(212,160,160,0));
    margin-bottom: 3rem;
}

/* ── INTRO VIDEO ──────────────────────────────── */
.video-wrap {
    max-width: 780px; margin: 0 auto; text-align: center;
}
.video-wrap p {
    color: var(--muted); font-size: .97rem; max-width: 520px;
    margin: 0 auto 2.4rem; line-height: 1.75;
}
.video-container {
    position: relative; width: 100%;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
    background: var(--bg2);
}
.video-container video {
    width: 100%; height: auto; display: block;
}
.video-placeholder {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 1rem;
}
.video-placeholder svg { width: 56px; height: 56px; opacity: .3; }
.video-placeholder span {
    font-size: .72rem; letter-spacing: .28em;
    text-transform: uppercase; color: var(--muted); opacity: .7;
}

/* ── EXPERIENCE ───────────────────────────────── */
.exp-list { display: flex; flex-direction: column; gap: 1.8rem; }
.exp-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px; padding: 2.4rem 2.8rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    transition: border-color .3s, transform .3s, box-shadow .3s;
    opacity: 0; transform: translateY(24px);
}
.exp-card.visible { opacity: 1; transform: translateY(0); }
.exp-card:hover { border-color: rgba(168,124,62,.35); transform: translateX(5px); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.exp-top {
    display: flex; justify-content: space-between;
    align-items: flex-start; margin-bottom: 1.6rem; gap: 1rem;
}
.exp-company {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.45rem; color: var(--gold);
}
.exp-role {
    font-size: .75rem; color: var(--blue);
    text-transform: uppercase; letter-spacing: .18em; margin-top: .3rem;
}
.exp-right { text-align: right; }
.exp-date { font-size: .82rem; color: var(--muted); }
.exp-loc { font-size: .78rem; color: var(--muted); margin-top: .15rem; }
.exp-bullets { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.exp-bullets li {
    color: var(--muted); font-size: .94rem;
    padding-left: 1.4rem; position: relative; line-height: 1.65;
}
.exp-bullets li::before {
    content: '◆';
    position: absolute; left: 0; top: .42rem;
    color: var(--gold); font-size: .45rem;
}

/* ── SKILLS ───────────────────────────────────── */
.skills-grid {
    display: flex; flex-wrap: wrap;
    justify-content: center; gap: 1rem;
}
.skill-pill {
    background: var(--card);
    border: 1px solid var(--border); border-radius: 3px;
    padding: .9rem 1.6rem; text-align: center;
    font-size: .84rem; color: var(--text);
    transition: border-color .25s, color .25s, background .25s;
    opacity: 0; transform: translateY(16px);
}
.skill-pill.visible { opacity: 1; transform: translateY(0); }
.skill-pill:hover {
    border-color: var(--gold); color: var(--gold);
    background: rgba(168,124,62,.06);
}

/* ── EDUCATION ────────────────────────────────── */
.edu-card {
    background: var(--card);
    border: 1px solid var(--border); border-radius: 4px;
    padding: 2.6rem 2.8rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    opacity: 0; transform: translateY(24px);
    transition: opacity .5s, transform .5s;
}
.edu-card.visible { opacity: 1; transform: translateY(0); }
.edu-school {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.65rem; color: var(--gold); margin-bottom: .3rem;
}
.edu-degree {
    color: var(--blue); font-size: .94rem;
    letter-spacing: .04em; margin-bottom: 1.1rem;
}
.edu-meta {
    display: flex; gap: 2.5rem;
    color: var(--muted); font-size: .84rem;
    margin-bottom: 1.4rem; flex-wrap: wrap;
}
.badge {
    display: inline-block;
    background: rgba(168,124,62,.1);
    border: 1px solid rgba(168,124,62,.28);
    color: var(--gold); padding: .28rem 1rem;
    border-radius: 2px; font-size: .72rem;
    letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 1.6rem;
}
.course-label {
    font-size: .72rem; text-transform: uppercase;
    letter-spacing: .18em; color: var(--muted); margin-bottom: .8rem;
}
.course-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.course-tag {
    background: rgba(74,122,138,.07);
    border: 1px solid rgba(74,122,138,.2);
    color: var(--blue); padding: .28rem .85rem;
    border-radius: 2px; font-size: .76rem;
}

/* ── ACTIVITIES ───────────────────────────────── */
.act-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.act-card {
    background: var(--card);
    border: 1px solid var(--border); border-radius: 4px;
    padding: 2rem 1.8rem;
    transition: border-color .3s, transform .3s;
    opacity: 0; transform: translateY(20px);
}
.act-card.visible { opacity: 1; transform: translateY(0); }
.act-card:hover { border-color: rgba(168,124,62,.35); transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.act-icon { font-size: 1.9rem; margin-bottom: .9rem; }
.act-label {
    font-size: .7rem; text-transform: uppercase;
    letter-spacing: .22em; color: var(--gold); margin-bottom: .55rem;
}
.act-body { color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* ── PORTFOLIO ────────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}
.port-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    transition: border-color .3s, transform .3s, box-shadow .3s;
    opacity: 0; transform: translateY(20px);
    max-width: 700px; margin: 0 auto;
}
.port-card.visible { opacity: 1; transform: translateY(0); }
.port-card:hover {
    border-color: rgba(168,124,62,.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,.12);
}
.port-body { padding: 1.5rem 1.6rem; }
.port-tag {
    font-size: .65rem; text-transform: uppercase;
    letter-spacing: .22em; color: var(--gold); margin-bottom: .45rem;
}
.port-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem; margin-bottom: .55rem;
}
.port-desc { color: var(--muted); font-size: .86rem; line-height: 1.65; }
.pdf-scroll { height: 520px; overflow: hidden; }
.pdf-scroll iframe { width: 100%; height: 100%; }

/* ── BLOG ─────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.4rem;
    align-items: start;
}
.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.8rem 2.6rem;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    opacity: 0; transform: translateY(24px);
    transition: border-color .3s, transform .3s, box-shadow .3s;
}
.blog-card.visible { opacity: 1; transform: translateY(0); }
.blog-card:hover {
    border-color: rgba(168,124,62,.35);
    box-shadow: 0 12px 40px rgba(0,0,0,.09);
}
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.blog-tag {
    font-size: .63rem; text-transform: uppercase;
    letter-spacing: .24em; color: var(--gold);
    border: 1px solid rgba(168,124,62,.3);
    padding: .2rem .75rem; border-radius: 2px;
}
.blog-date { font-size: .75rem; color: var(--muted); }
.blog-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.55rem; line-height: 1.25; margin-bottom: 1rem;
}
.blog-rule {
    width: 36px; height: 1px;
    background: var(--gold); opacity: .5; margin-bottom: 1.4rem;
}
.blog-body {
    color: var(--muted); font-size: .9rem;
    line-height: 1.85;
    display: flex; flex-direction: column; gap: 1rem;
}
.blog-body p { margin: 0; }

/* ── RESUME ───────────────────────────────────── */
.resume-wrap {
    max-width: 860px; margin: 0 auto; text-align: center;
}
.resume-wrap p {
    color: var(--muted); font-size: .97rem; max-width: 520px;
    margin: 0 auto 2.4rem; line-height: 1.75;
}
.resume-clip {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
    margin-bottom: 1.8rem;
    overflow: hidden;
}
.resume-embed {
    width: 100%; height: 820px;
    display: block; border: none;
}

/* ── CONTACT ──────────────────────────────────── */
.contact-grid {
    display: flex; flex-wrap: wrap;
    gap: 1.5rem; justify-content: center;
}
.contact-card {
    flex: 1 1 220px; min-width: 220px;
    background: var(--card);
    border: 1px solid var(--border); border-radius: 4px;
    padding: 2.2rem 1.8rem; text-align: center;
    text-decoration: none; color: var(--text);
    transition: border-color .3s, transform .3s;
    opacity: 0; transform: translateY(20px);
}
.contact-card.visible { opacity: 1; transform: translateY(0); }
.contact-card:hover { border-color: var(--gold); transform: translateY(-5px); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.contact-icon { font-size: 2rem; margin-bottom: .9rem; }
.contact-label {
    font-size: .68rem; text-transform: uppercase;
    letter-spacing: .22em; color: var(--gold); margin-bottom: .4rem;
}
.contact-val { font-size: .88rem; color: var(--muted); }

/* ── FOOTER ───────────────────────────────────── */
footer {
    text-align: center; padding: 2rem 1rem;
    color: var(--muted); font-size: .78rem;
    border-top: 1px solid var(--border);
    position: relative; z-index: 1;
}

/* ── HERO FADE IN ─────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-text-side { opacity: 1; }
.hero-photo-wrap { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
    .hero-text-side { animation: fadeUp .8s ease forwards; }
    .hero-photo-wrap { animation: fadeUp .8s .18s ease forwards; }
}

/* ── CTA SECTION ──────────────────────────────── */
#cta {
    position: relative; z-index: 1;
    background: var(--bg2);
    padding: 5rem 3rem;
    text-align: center;
}
.cta-inner {
    max-width: 1120px; margin: 0 auto;
}
.cta-eyebrow {
    font-size: .72rem; letter-spacing: .32em; text-transform: uppercase;
    color: var(--gold); margin-bottom: .6rem;
}
.cta-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.4rem; margin-bottom: 1rem;
}
.cta-sub {
    color: var(--muted); font-size: .97rem;
    max-width: 540px; margin: 0 auto 3rem; line-height: 1.75;
}
.cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.8rem;
}
.cta-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem 1.6rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color .3s, transform .3s, box-shadow .3s;
    text-align: left;
}
.cta-card:hover {
    border-color: rgba(212,160,160,.5);
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0,0,0,.08);
}
.cta-card-label {
    font-size: .68rem; text-transform: uppercase;
    letter-spacing: .22em; color: var(--gold); margin-bottom: .5rem;
}
.cta-card-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem; margin-bottom: .5rem;
}
.cta-card-desc {
    color: var(--muted); font-size: .86rem; line-height: 1.65;
}
.cta-card-arrow {
    display: inline-block; margin-top: 1rem;
    color: var(--gold); font-size: .8rem;
    letter-spacing: .1em; text-transform: uppercase;
}
@media (max-width: 860px) {
    #cta { padding: 4rem 1.4rem; }
    .cta-cards { grid-template-columns: 1fr; }
    .cta-title { font-size: 1.9rem; }
}

/* ── NAV DROPDOWN ─────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown > a { cursor: pointer; display: flex; align-items: center; gap: .25rem; }
.nav-dropdown-menu {
    display: none;
    position: absolute; top: calc(100% + .75rem); right: 0;
    background: rgba(250,250,248,.97);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 4px;
    min-width: 210px;
    list-style: none;
    padding: .4rem 0;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    z-index: 1000;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li a {
    display: block;
    padding: .55rem 1.2rem;
    font-size: .78rem; letter-spacing: .13em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: color .2s, background .2s;
}
.nav-dropdown-menu li a:hover { color: var(--gold); background: rgba(212,160,160,.06); }

/* ── HAMBURGER ────────────────────────────────── */
.hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none;
    padding: 4px; z-index: 1001;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px; transition: all .3s;
}
.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); }

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 860px) {
    nav { padding: 1rem 1.5rem; flex-wrap: wrap; }
    .hamburger { display: flex; }
    .nav-logo img { height: 42px; }
    .nav-links {
        display: none; flex-direction: column;
        width: 100%; gap: 0; padding: .75rem 0 1rem;
    }
    .nav-links.open { display: flex; }
    .nav-links li { border-top: 1px solid var(--border); }
    .nav-links a { display: block; padding: .85rem .75rem; font-size: .78rem; letter-spacing: .1em; }
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .hero-name { font-size: 3.4rem; }
    .hero-bio { margin: 0 auto 2.5rem; }
    .hero-cta { justify-content: center; }
    .hero-photo-wrap { order: -1; }
    .hero-photo-wrap img { width: 220px; height: 280px; }
    .hero-photo-wrap::before { width: 240px; height: 300px; }
    .hero-photo-wrap::after { width: 240px; height: 300px; }
    .section-inner { padding: 4rem 1.4rem; }
    .s-title { font-size: 2rem; }
    .exp-card { padding: 1.6rem 1.4rem; }
    .exp-top { flex-direction: column; }
    .exp-right { text-align: left; }
    .act-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { display: flex; flex-wrap: wrap; justify-content: center; }
    .skills-grid { gap: .6rem; }
    .blog-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .resume-embed { height: 500px; }
    .edu-card { padding: 1.8rem 1.4rem; }
    .edu-meta { gap: 1rem; }
    .nav-dropdown-menu {
        position: static; box-shadow: none;
        border: none; background: none;
        backdrop-filter: none;
        padding: 0;
        display: none;
    }
    .nav-dropdown.open .nav-dropdown-menu { display: block; }
    .nav-dropdown-menu li { border-top: 1px solid var(--border); }
    .nav-dropdown-menu li a { padding: .85rem 1.5rem; }
}

@media (max-width: 480px) {
    nav { padding: .8rem .9rem; }
    .nav-logo img { height: 36px; }
    .hero-name { font-size: 2.6rem; }
    .hero-bio { font-size: .92rem; }
    .btn-gold, .btn-outline { font-size: .72rem; padding: .65rem 1.2rem; }
    .section-inner { padding: 3rem .9rem; }
    .s-title { font-size: 1.7rem; }
    .act-grid { grid-template-columns: 1fr; }
    .contact-grid { display: flex; flex-wrap: wrap; justify-content: center; }
    .resume-embed { height: 380px; }
    .exp-card { padding: 1.2rem 1rem; }
    .blog-card { padding: 1.8rem 1.4rem; }
    .hero-photo-wrap img { width: 180px; height: 230px; }
    .hero-photo-wrap::before { width: 200px; height: 250px; }
    .hero-photo-wrap::after { width: 200px; height: 250px; }
    .skill-pill { padding: .7rem 1rem; font-size: .78rem; }
}
