@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root{
  --bg:#FAFAF8;
  --bg2:#F4F2EE;
  --bg3:#EEE9E0;
  --navy:#0B1F3A;
  --navy2:#162D4E;
  --navy3:#1E3D66;
  --gold:#C9A84C;
  --gold2:#E8C96A;
  --gold-l:#FBF5E6;
  --gold-m:#F0DFA0;
  --warm:#8B7355;
  --text:#1A1A1A;
  --text2:#4A4A4A;
  --text3:#8A8A8A;
  --bdr:#E0D8CC;
  --bdr2:#C8BFB0;
  --white:#FFFFFF;
  --r:8px;
  --sh:0 2px 20px rgba(11,31,58,0.06);
  --shl:0 8px 40px rgba(11,31,58,0.10);
  --shx:0 20px 60px rgba(11,31,58,0.14);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:'Inter',sans-serif;font-size:16px;line-height:1.75;overflow-x:hidden;-webkit-font-smoothing:antialiased}

/* ── NAV ── */
nav{position:fixed;top:0;width:100%;z-index:200;background:rgba(250,250,248,0.96);backdrop-filter:blur(24px);border-bottom:1px solid var(--bdr);height:68px;display:flex;align-items:center;padding:0 3rem;justify-content:space-between}
.nav-logo{font-family:'Playfair Display',serif;font-weight:700;font-size:1.15rem;color:var(--navy);text-decoration:none;letter-spacing:-.01em;display:flex;align-items:center;gap:10px}
.nav-dot{width:6px;height:6px;background:var(--gold);border-radius:50%}
.nav-logo em{color:var(--gold);font-style:italic}
.nav-links{display:flex;gap:2.5rem;list-style:none;align-items:center}
.nav-links a{color:var(--text2);text-decoration:none;font-size:.82rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;transition:color .2s}
.nav-links a:hover{color:var(--gold)}
.nav-open{background:var(--navy)!important;color:var(--white)!important;padding:.45rem 1.4rem;border-radius:4px;font-size:.78rem!important;letter-spacing:.06em!important;transition:background .2s!important}
.nav-open:hover{background:var(--navy2)!important}

/* ── HERO ── */
#hero{min-height:100vh;display:flex;align-items:center;padding:7rem 3rem 5rem;background:var(--white);position:relative;overflow:hidden}
.hero-rule{position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),var(--gold2),transparent)}
.hero-bg-svg{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;user-select:none;z-index:0}
.hero-inner{max-width:1140px;margin:0 auto;width:100%;position:relative;z-index:1;display:grid;grid-template-columns:1fr 400px;gap:6rem;align-items:center}
.hero-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:2rem}
.hero-eyebrow-line{width:32px;height:1px;background:var(--gold)}
.hero-eyebrow-text{font-size:.72rem;font-weight:600;color:var(--gold);letter-spacing:.14em;text-transform:uppercase;font-family:'Inter',sans-serif}
h1{font-family:'Playfair Display',serif;font-size:clamp(3rem,5.5vw,5rem);font-weight:700;line-height:1.06;letter-spacing:-.02em;color:var(--navy);margin-bottom:1.5rem}
h1 em{font-style:italic;color:var(--gold)}
.hero-divider{width:48px;height:2px;background:var(--gold);margin-bottom:1.5rem}
.hero-sub{font-size:1rem;color:var(--text2);max-width:500px;margin-bottom:2.5rem;font-weight:300;line-height:1.85;letter-spacing:.01em}
.hero-sub strong{color:var(--navy);font-weight:600}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:3.5rem}
.btn-p{background:var(--navy);color:var(--white);padding:.9rem 2.2rem;border-radius:4px;text-decoration:none;font-weight:500;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;transition:background .2s,transform .2s}
.btn-p:hover{background:var(--navy2);transform:translateY(-1px)}
.btn-s{border:1.5px solid var(--bdr2);color:var(--navy);padding:.9rem 2.2rem;border-radius:4px;text-decoration:none;font-size:.85rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase;transition:all .2s}
.btn-s:hover{border-color:var(--gold);color:var(--gold)}
.hero-stats{display:flex;gap:0}
.stat-wrap{padding:0 2.5rem 0 0;margin-right:2.5rem;border-right:1px solid var(--bdr)}
.stat-wrap:last-child{border-right:none;padding-right:0;margin-right:0}
.stat-n{font-family:'Playfair Display',serif;font-size:2.2rem;font-weight:700;color:var(--navy);line-height:1}
.stat-n span{color:var(--gold)}
.stat-l{font-size:.68rem;color:var(--text3);letter-spacing:.08em;text-transform:uppercase;margin-top:4px}

/* ── HERO PHOTO ── */
.hero-right{display:flex;flex-direction:column;align-items:center;gap:1.5rem}
.hero-photo-outer{position:relative}
.hero-photo-ring{width:360px;height:360px;border-radius:50%;border:1.5px solid var(--gold-m);padding:8px;position:relative}
.hero-photo-ring2{width:100%;height:100%;border-radius:50%;border:1px solid var(--gold-l);padding:8px;overflow:hidden}
.hero-photo-wrap{width:100%;height:100%;border-radius:50%;overflow:hidden}
.hero-photo-wrap img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.hero-photo-tag{position:absolute;bottom:16px;right:-8px;background:var(--navy);color:var(--white);padding:8px 16px;border-radius:4px;font-size:.68rem;font-family:'DM Mono',monospace;font-weight:500;letter-spacing:.06em;box-shadow:var(--sh)}
.hero-photo-badge{background:var(--white);border:1px solid var(--bdr);border-radius:6px;padding:12px 16px;display:flex;align-items:center;gap:10px;box-shadow:var(--sh);width:100%;max-width:300px}
.hpb-dot{width:8px;height:8px;background:#22c55e;border-radius:50%;flex-shrink:0}
.hpb-title{font-size:.8rem;font-weight:600;color:var(--navy)}
.hpb-sub{font-size:.7rem;color:var(--text3);margin-top:1px;letter-spacing:.02em}

/* ── SECTIONS ── */
section{padding:6rem 3rem}
.wrap{max-width:1140px;margin:0 auto}
.eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:1rem}
.eyebrow-line{width:24px;height:1px;background:var(--gold)}
.eyebrow-text{font-size:.68rem;font-weight:600;color:var(--gold);letter-spacing:.14em;text-transform:uppercase}
.sec-title{font-family:'Playfair Display',serif;font-size:clamp(2rem,4vw,3rem);font-weight:700;letter-spacing:-.02em;color:var(--navy);margin-bottom:.75rem;line-height:1.15}
.sec-desc{color:var(--text2);max-width:560px;margin-bottom:3.5rem;font-weight:300;font-size:.95rem;line-height:1.85}

/* ── PROJECTS ── */
#projects{background:var(--bg2)}
.proj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem}
.proj-card{background:var(--white);border:1px solid var(--bdr);border-radius:var(--r);overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--sh);transition:transform .3s,box-shadow .3s}
.proj-card:hover{transform:translateY(-4px);box-shadow:var(--shl)}
.proj-bar{height:3px}
.bar-gold{background:linear-gradient(90deg,var(--gold),var(--gold2))}
.bar-navy{background:linear-gradient(90deg,var(--navy),var(--navy3))}
.proj-body{padding:2rem 2rem 0;flex:1}
.proj-badges{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:1.25rem}
.pb{font-size:.65rem;padding:.22rem .65rem;border-radius:3px;font-weight:500;letter-spacing:.04em;font-family:'Inter',sans-serif}
.pb-live{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}
.pb-gold{background:var(--gold-l);color:#78590A;border:1px solid var(--gold-m)}
.pb-navy{background:#EEF2F8;color:var(--navy);border:1px solid #C5D0DF}
.pb-warm{background:#FDF3EE;color:#7C3A1E;border:1px solid #F5C9B3}
.proj-title{font-family:'Playfair Display',serif;font-size:1.5rem;font-weight:700;color:var(--navy);line-height:1.2;margin-bottom:.75rem;letter-spacing:-.01em}
.proj-desc{color:var(--text2);font-size:.88rem;line-height:1.8;font-weight:300;margin-bottom:1.5rem}
.proj-meta{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:1.5rem}
.mi{background:var(--bg);border:1px solid var(--bdr);border-radius:5px;padding:.7rem 1rem}
.mi-l{font-size:.6rem;color:var(--text3);letter-spacing:.1em;text-transform:uppercase;margin-bottom:.3rem;font-weight:500}
.mi-v{font-size:.82rem;color:var(--navy);font-weight:600}
.proj-stack{display:flex;flex-wrap:wrap;gap:.35rem;padding-bottom:1.5rem}
.st{font-family:'DM Mono',monospace;font-size:.65rem;color:var(--text3);background:var(--bg2);border:1px solid var(--bdr);border-radius:3px;padding:.18rem .55rem}
.proj-footer{padding:1.1rem 2rem;border-top:1px solid var(--bdr);display:flex;gap:.75rem;align-items:center;background:var(--bg)}
.proj-cta{display:inline-flex;align-items:center;gap:6px;background:var(--navy);color:var(--white);padding:.55rem 1.3rem;border-radius:4px;text-decoration:none;font-weight:500;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;transition:background .2s}
.proj-cta:hover{background:var(--navy2)}
.proj-cta2{display:inline-flex;align-items:center;gap:5px;color:var(--text2);font-size:.78rem;text-decoration:none;padding:.55rem 1rem;border:1px solid var(--bdr2);border-radius:4px;font-weight:500;transition:all .2s}
.proj-cta2:hover{border-color:var(--gold);color:var(--gold)}

/* ── EXPERTISE ── */
#expertise{background:var(--white)}
.exp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.exp-card{border:1px solid var(--bdr);border-radius:var(--r);padding:2rem;transition:all .25s;background:var(--white);position:relative;overflow:hidden}
.exp-card::before{content:'';position:absolute;top:0;left:0;width:3px;height:0;background:var(--gold);transition:height .3s}
.exp-card:hover::before{height:100%}
.exp-card:hover{border-color:var(--bdr2);box-shadow:var(--shl);transform:translateY(-2px)}
.exp-num{font-family:'Playfair Display',serif;font-size:2.5rem;font-weight:700;color:var(--bg3);line-height:1;margin-bottom:.75rem}
.exp-title{font-family:'Playfair Display',serif;font-size:1.05rem;font-weight:600;color:var(--navy);margin-bottom:.6rem}
.exp-desc{color:var(--text2);font-size:.83rem;line-height:1.75;font-weight:300}

/* ── ABOUT ── */
#about{background:var(--navy);color:var(--white);position:relative;overflow:hidden}
.about-pattern{position:absolute;inset:0;background-image:radial-gradient(circle,rgba(201,168,76,0.06) 1px,transparent 1px);background-size:32px 32px;pointer-events:none}
.about-grid{display:grid;grid-template-columns:380px 1fr;gap:6rem;align-items:center;position:relative;z-index:1}
.about-photo-frame{position:relative}
.about-photo-border{border:1px solid rgba(201,168,76,0.3);border-radius:10px;padding:10px}
.about-photo-wrap{border-radius:8px;overflow:hidden;position:relative}
.about-photo-wrap img{width:100%;height:480px;object-fit:cover;object-position:top center;display:block}
.about-photo-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(11,31,58,0.92));padding:24px}
.about-name{font-family:'Playfair Display',serif;font-size:1.15rem;font-weight:700;color:var(--white)}
.about-role{font-size:.72rem;color:rgba(201,168,76,0.8);font-family:'DM Mono',monospace;margin-top:4px;letter-spacing:.06em}
.about-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:1.25rem}
.about-eyebrow-line{width:24px;height:1px;background:var(--gold)}
.about-eyebrow-text{font-size:.68rem;font-weight:600;color:var(--gold);letter-spacing:.14em;text-transform:uppercase}
.about-title{font-family:'Playfair Display',serif;font-size:clamp(2rem,3.5vw,2.8rem);font-weight:700;letter-spacing:-.02em;margin-bottom:1.5rem;line-height:1.1;color:var(--white)}
.about-title em{font-style:italic;color:var(--gold)}
.about-text{color:rgba(255,255,255,.6);font-weight:300;margin-bottom:1.1rem;line-height:1.85;font-size:.93rem}
.about-text strong{color:var(--white);font-weight:500}
.about-divider{width:32px;height:1px;background:rgba(201,168,76,0.4);margin:1.75rem 0}
.timeline{display:flex;flex-direction:column;gap:.85rem}
.tl-item{display:flex;gap:1.25rem;align-items:flex-start}
.tl-year{font-family:'DM Mono',monospace;font-size:.65rem;color:var(--gold);min-width:80px;margin-top:3px;letter-spacing:.04em;flex-shrink:0}
.tl-text{font-size:.83rem;color:rgba(255,255,255,.55);line-height:1.65}
.tl-text strong{color:rgba(255,255,255,.85);font-weight:500}

/* ── HIRE ME ── */
#hire{background:var(--bg2)}
.hire-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2.5rem}
.hire-card{background:var(--white);border:1px solid var(--bdr);border-radius:var(--r);padding:2rem;transition:all .25s;position:relative}
.hire-card:hover{border-color:var(--gold);box-shadow:var(--shl);transform:translateY(-2px)}
.hire-num{font-family:'Playfair Display',serif;font-size:3rem;font-weight:700;color:var(--bg3);line-height:1;margin-bottom:.75rem}
.hire-title{font-family:'Playfair Display',serif;font-size:1rem;font-weight:600;color:var(--navy);margin-bottom:.5rem}
.hire-desc{color:var(--text2);font-size:.83rem;line-height:1.75;font-weight:300}
.hire-cta{background:var(--navy);border-radius:var(--r);padding:3.5rem;text-align:center;color:var(--white);position:relative;overflow:hidden}
.hire-cta::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--gold),var(--gold2),transparent)}
.hire-cta h3{font-family:'Playfair Display',serif;font-size:2rem;font-weight:700;margin-bottom:.75rem;font-style:italic}
.hire-cta p{color:rgba(255,255,255,.55);margin-bottom:2rem;font-weight:300;font-size:.93rem}
.cta-row{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}
.btn-white{background:var(--white);color:var(--navy);padding:.9rem 2.2rem;border-radius:4px;text-decoration:none;font-weight:600;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;transition:all .2s}
.btn-white:hover{background:var(--gold-l);color:var(--navy)}
.btn-outline{border:1px solid rgba(255,255,255,.25);color:var(--white);padding:.9rem 2.2rem;border-radius:4px;text-decoration:none;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;transition:all .2s}
.btn-outline:hover{border-color:var(--gold);color:var(--gold)}

/* ── CONTACT ── */
#contact{background:var(--white)}
.contact-grid{display:grid;grid-template-columns:1fr 1.6fr;gap:6rem;align-items:start}
.contact-lead{color:var(--text2);font-weight:300;margin-bottom:2rem;line-height:1.85;font-size:.93rem}
.contact-links{list-style:none;display:flex;flex-direction:column;gap:.75rem}
.contact-links a{display:flex;align-items:center;gap:1rem;color:var(--text2);text-decoration:none;padding:.85rem 1.1rem;border-radius:5px;border:1px solid var(--bdr);transition:all .2s;font-size:.85rem}
.contact-links a:hover{border-color:var(--gold);color:var(--navy);background:var(--gold-l)}
.ci{width:36px;height:36px;background:var(--bg);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:.9rem;flex-shrink:0}
.form{display:flex;flex-direction:column;gap:1.1rem}
.frow{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.fg{display:flex;flex-direction:column;gap:.4rem}
.fg label{font-size:.68rem;color:var(--text3);letter-spacing:.1em;text-transform:uppercase;font-weight:600}
.fg input,.fg textarea,.fg select{background:var(--bg);border:1px solid var(--bdr);color:var(--text);padding:.85rem 1.1rem;border-radius:5px;font-family:'Inter',sans-serif;font-size:.88rem;outline:none;transition:border-color .2s;width:100%}
.fg input:focus,.fg textarea:focus,.fg select:focus{border-color:var(--gold)}
.fg textarea{resize:vertical;min-height:130px}
.fsub{background:var(--navy);color:var(--white);border:none;padding:.9rem 2.2rem;border-radius:4px;font-family:'Inter',sans-serif;font-weight:600;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;align-self:flex-start;transition:background .2s}
.fsub:hover{background:var(--navy2)}

/* ── FOOTER ── */
footer{background:var(--navy);color:var(--white);padding:3rem;text-align:center;border-top:1px solid rgba(201,168,76,0.2)}
.foot-rule{width:40px;height:1px;background:var(--gold);margin:0 auto 1.25rem}
.foot-logo{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:700;color:var(--white);margin-bottom:.35rem}
.foot-logo em{color:var(--gold);font-style:italic}
.foot-tagline{font-size:.7rem;color:rgba(255,255,255,.3);letter-spacing:.1em;text-transform:uppercase;margin-bottom:1.5rem}
.foot-links{display:flex;gap:2rem;justify-content:center;margin:.9rem 0;flex-wrap:wrap}
.foot-links a{color:rgba(255,255,255,.35);font-size:.75rem;text-decoration:none;letter-spacing:.06em;text-transform:uppercase;transition:color .2s}
.foot-links a:hover{color:var(--gold)}
.foot-copy{color:rgba(255,255,255,.2);font-size:.72rem;margin-top:1.5rem}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .hero-inner,.proj-grid,.exp-grid,.hire-grid,.about-grid,.contact-grid{grid-template-columns:1fr}
  .hero-right{display:none}
  .frow{grid-template-columns:1fr}
  h1{font-size:2.8rem}
  .nav-links li:not(:last-child){display:none}
  section{padding:4rem 1.5rem}
  #about{padding:4rem 1.5rem}
  nav{padding:0 1.5rem}
}
