:root{--bg:#0a101b;--panel:#111a29;--text:#f3f6fa;--muted:#98a6b9;--line:rgba(255,255,255,.09);--accent:#76aefb}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Segoe UI,Arial,sans-serif;line-height:1.65}.wrap{max-width:1160px;margin:auto;padding-left:24px;padding-right:24px}header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:16px max(20px,5vw);background:rgba(10,16,27,.9);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.brand{text-decoration:none;font-weight:800}nav{display:flex;gap:22px}nav a{text-decoration:none;color:var(--muted);font-size:.9rem}nav a:hover{color:var(--text)}.menu{display:none}.hero{min-height:82vh;display:grid;grid-template-columns:.72fr 1.28fr;gap:68px;align-items:center;padding-top:70px;padding-bottom:70px}.portrait img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:20px;filter:saturate(.82) contrast(1.03);box-shadow:0 30px 70px rgba(0,0,0,.35)}.eyebrow,.heading p{color:var(--accent);font-size:.74rem;letter-spacing:.15em;font-weight:800}h1,h2,h3{line-height:1.14;margin-top:0}h1{font-size:clamp(4rem,9vw,7.5rem);letter-spacing:-.06em;margin-bottom:20px}h2{font-size:clamp(2.1rem,4vw,3.6rem);letter-spacing:-.04em}.role{font-size:1.25rem}.lead,.profile p,.job-body p,.job-body li,.skills p,.highlights p,.education p,.photo-text,.contact p{color:var(--muted)}.actions{display:flex;gap:12px;margin-top:28px;flex-wrap:wrap}.btn{padding:12px 17px;border:1px solid var(--line);border-radius:10px;text-decoration:none;font-weight:700}.primary{background:var(--accent);color:#07101b}.section{padding-top:90px;padding-bottom:90px}.wide{max-width:none}.alt{background:rgba(255,255,255,.018);border-block:1px solid var(--line)}.heading{display:grid;grid-template-columns:48px 1fr;gap:18px;margin-bottom:46px}.heading>span{color:var(--accent);font-weight:900}.heading p{margin:0}.heading h2{margin:6px 0 0}.profile{display:grid;grid-template-columns:1.2fr .8fr;gap:60px}.profile dl{margin:0;border-top:1px solid var(--line)}.profile dl div{display:flex;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}dt{color:var(--muted)}dd{margin:0;text-align:right;font-weight:700}.job{display:grid;grid-template-columns:270px 1fr;gap:55px}.job-meta{display:flex;flex-direction:column;gap:7px}.job-meta span{color:var(--muted)}.job-body{padding-left:35px;border-left:1px solid var(--line)}.job-body h3{font-size:1.45rem}.job-body li{margin-bottom:8px}.skills{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.skills article{padding:23px;border:1px solid var(--line);border-radius:15px;background:var(--panel)}.skills b{font-size:1.05rem}.highlights{display:grid}.highlights article{display:grid;grid-template-columns:65px 1fr;gap:25px;padding:26px 0;border-top:1px solid var(--line)}.highlights article:last-child{border-bottom:1px solid var(--line)}.highlights>article>span{color:var(--accent);font-weight:900}.highlights h3{margin-bottom:7px}.highlights p{margin:0;max-width:850px}.education{display:grid;gap:12px}.education article{display:grid;grid-template-columns:100px 1fr;gap:25px;padding:22px 0;border-top:1px solid var(--line)}.education span{color:var(--accent);font-weight:800}.education h3{margin-bottom:5px}.education p{margin:0}.photography{background:linear-gradient(135deg,#101b2d,#0b111c);border-block:1px solid var(--line)}.photo-layout{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center}.camera-art{min-height:300px;display:grid;place-items:center;border:1px solid var(--line);border-radius:20px;background:radial-gradient(circle,rgba(118,174,251,.16),transparent 45%)}.lens{width:180px;height:180px;border:16px solid #1c2a3e;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 12px #080d15,inset 0 0 50px #000,0 20px 60px rgba(0,0,0,.3)}.lens span{font-size:.72rem;letter-spacing:.18em;color:#a8c8f5}.camera-art small{color:var(--muted)}.contact{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;padding:35px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.email{text-decoration:none;padding:13px 16px;border:1px solid var(--line);border-radius:10px}.email span{color:var(--accent)}footer{border-top:1px solid var(--line);padding:28px 0;color:var(--muted)}footer .wrap{display:flex;gap:20px;align-items:center}footer strong{color:var(--text)}footer p{margin-left:auto}@media(max-width:850px){.hero,.profile,.job,.photo-layout,.contact{grid-template-columns:1fr}.portrait{max-width:480px}.job-body{padding-left:0;border-left:0}.skills{grid-template-columns:1fr}.contact .email{justify-self:start}}@media(max-width:680px){nav{display:none;position:absolute;top:68px;left:16px;right:16px;flex-direction:column;padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.menu{display:block;background:none;color:var(--text);border:1px solid var(--line);border-radius:8px;padding:8px 11px}nav.open{display:flex}h1{font-size:4rem}.heading{grid-template-columns:35px 1fr}.highlights article{grid-template-columns:40px 1fr}footer .wrap{flex-direction:column;align-items:flex-start}footer p{margin-left:0}}
/* Tighter CV portrait */
.portrait{
  width:min(100%,320px);
  justify-self:center;
}
.portrait img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/5;
  object-fit:cover;
  object-position:center;
}
@media(max-width:850px){
  .hero{
    grid-template-columns:1fr;
    gap:28px;
  }
  .portrait{
    width:170px;
    justify-self:start;
  }
  .portrait img{
    width:170px;
    height:212px;
    aspect-ratio:auto;
    object-fit:cover;
    object-position:center;
    border-radius:14px;
  }
}
@media(max-width:480px){
  .portrait{
    width:140px;
  }
  .portrait img{
    width:140px;
    height:175px;
  }
}

/* Photography showcase */
.photo-showcase{
  margin:0;
  border:1px solid var(--line);
  border-radius:20px;
  overflow:hidden;
  background:#05070a;
  box-shadow:0 24px 60px rgba(0,0,0,.28);
}
.photo-showcase img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
}
.photo-showcase figcaption{
  padding:12px 15px;
  color:var(--muted);
  font-size:.82rem;
  border-top:1px solid var(--line);
}
@media(max-width:850px){
  .photo-showcase{max-width:600px}
}

/* Smaller photography image */
.photo-showcase{
  width:min(100%,420px);
  justify-self:center;
}
@media(max-width:850px){
  .photo-showcase{
    width:min(100%,340px);
    justify-self:start;
  }
}

/* Photography section size correction */
.photo-layout{
  grid-template-columns:minmax(0,1fr) 420px !important;
  align-items:center !important;
}
.photo-showcase{
  width:420px !important;
  max-width:100% !important;
  justify-self:end !important;
}
.photo-showcase img{
  width:100% !important;
  height:auto !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
}

@media(max-width:850px){
  .photo-layout{
    grid-template-columns:1fr !important;
  }
  .photo-showcase{
    width:300px !important;
    max-width:100% !important;
    justify-self:start !important;
  }
}
@media(max-width:480px){
  .photo-showcase{
    width:240px !important;
  }
}
