
:root{
  --bg:#ffffff;
  --soft:#f4f8fa;
  --soft-2:#edf4f6;
  --navy:#0f2b44;
  --navy-2:#173d58;
  --ink:#223746;
  --muted:#657a87;
  --teal:#167e91;
  --teal-2:#43a6b3;
  --line:#d9e4e9;
  --line-strong:#c5d5dd;
  --white:#ffffff;
  --shadow:0 18px 50px rgba(15,43,68,.07);
  --shadow-soft:0 8px 28px rgba(15,43,68,.045);
  --max:1180px;
  --radius:2px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Aptos","Segoe UI Variable Text","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif;
  font-size:16px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button,input,textarea{font:inherit}
.container{width:min(calc(100% - 40px),var(--max));margin-inline:auto}
.eyebrow{
  color:var(--teal);
  font-size:.73rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.19em;
  text-transform:uppercase;
}
.section{padding:86px 0;border-top:1px solid var(--line)}
.section-soft{background:var(--soft)}
.section-head{
  display:grid;
  grid-template-columns:minmax(0,440px) minmax(0,1fr);
  grid-template-areas:
    "eyebrow eyebrow"
    "title copy";
  column-gap:74px;
  row-gap:15px;
  align-items:end;
  margin-bottom:42px;
}
.section-head .eyebrow{grid-area:eyebrow}
.section-head h2{
  grid-area:title;
  margin:0;
  color:var(--navy);
  font-size:clamp(2rem,3.35vw,3.15rem);
  line-height:1.06;
  letter-spacing:-.042em;
  font-weight:740;
}
.section-head p{
  grid-area:copy;
  margin:0;
  max-width:720px;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.75;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.94);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(14px);
}
.header-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.identity{
  display:flex;
  align-items:center;
  min-width:0;
  gap:12px;
}
.identity-logo{
  width:48px;
  height:48px;
  object-fit:contain;
  flex:0 0 auto;
}
.identity-copy{display:block;min-width:0}
.identity-copy strong{
  display:block;
  color:var(--navy);
  font-size:.86rem;
  line-height:1.15;
  letter-spacing:.055em;
  white-space:nowrap;
}
.identity-copy small{
  display:block;
  margin-top:5px;
  color:#718590;
  font-size:.64rem;
  line-height:1.1;
  letter-spacing:.04em;
  white-space:nowrap;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:22px;
  color:#344f60;
  font-size:.84rem;
}
.nav-links a{transition:color .18s,border-color .18s,background .18s}
.nav-links a:hover{color:var(--teal)}
.nav-cv{
  padding:10px 14px;
  border:1px solid var(--line-strong);
  color:var(--teal)!important;
}
.nav-cv:hover{border-color:var(--teal)}
.nav-logout{color:#7c8e98!important;font-size:.78rem}
.menu-btn{
  display:none;
  border:1px solid var(--line-strong);
  background:white;
  color:var(--navy);
  padding:8px 11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.7rem;
  font-weight:800;
}

/* Buttons */
.btn{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 17px;
  border:1px solid var(--line-strong);
  background:white;
  color:var(--navy);
  font-size:.76rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.085em;
  text-transform:uppercase;
  transition:transform .18s,border-color .18s,box-shadow .18s,background .18s,color .18s;
}
.btn:hover{transform:translateY(-2px);border-color:var(--teal);box-shadow:0 8px 20px rgba(15,43,68,.07)}
.btn-primary{background:var(--navy);border-color:var(--navy);color:white}
.btn-primary:hover{background:var(--navy-2);border-color:var(--navy-2)}
.btn-secondary{background:white;color:var(--teal)}
.btn-ghost{background:transparent}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  padding:76px 0 0;
  background:
    radial-gradient(circle at 82% 18%,rgba(67,166,179,.12),transparent 25%),
    linear-gradient(180deg,#ffffff 0%,#f7fafb 100%);
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(390px,.95fr);
  gap:54px;
  align-items:center;
}
.hero-content{padding:32px 0 38px}
.hero-content h1{
  margin:18px 0 18px;
  max-width:720px;
  color:var(--navy);
  font-size:clamp(3rem,5.1vw,4.35rem);
  line-height:.98;
  letter-spacing:-.052em;
  font-weight:760;
}
.hero-role{
  margin:0;
  max-width:770px;
  color:#385567;
  font-size:clamp(1.03rem,1.48vw,1.2rem);
  line-height:1.68;
}
.hero-role strong{color:var(--navy)}
.hero-intro{
  margin:19px 0 0;
  max-width:735px;
  color:var(--muted);
  font-size:.98rem;
  line-height:1.78;
}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.hero-visual{
  position:relative;
  min-height:520px;
  background:
    linear-gradient(180deg,rgba(15,43,68,.04),rgba(15,43,68,.34)),
    url("gallery/gallery-02.webp") center center / cover no-repeat;
  box-shadow:var(--shadow);
  border:1px solid rgba(15,43,68,.08);
}
.hero-visual-overlay{
  position:absolute;
  left:24px;
  right:24px;
  bottom:24px;
  padding:22px 24px;
  background:rgba(255,255,255,.94);
  border:1px solid rgba(255,255,255,.7);
  backdrop-filter:blur(8px);
}
.hero-visual-label{
  display:block;
  color:var(--teal);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.hero-visual-overlay strong{
  display:block;
  margin-top:9px;
  color:var(--navy);
  font-size:1.18rem;
  line-height:1.35;
  letter-spacing:-.018em;
}
.stats-row{
  margin-top:58px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.78);
}
.stat-item{
  min-height:122px;
  padding:26px 22px;
  border-right:1px solid var(--line);
}
.stat-item:last-child{border-right:none}
.stat-item strong{
  display:block;
  color:var(--navy);
  font-size:2rem;
  line-height:1;
  letter-spacing:-.04em;
}
.stat-item span{
  display:block;
  margin-top:10px;
  color:#6b7f8a;
  font-size:.68rem;
  line-height:1.4;
  letter-spacing:.105em;
  text-transform:uppercase;
}

/* Profile */
.profile-overview{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;
}
.profile-summary,
.profile-scope{
  border:1px solid var(--line);
  background:white;
  min-height:100%;
  padding:30px;
  box-shadow:var(--shadow-soft);
}
.profile-summary{
  background:linear-gradient(145deg,#fbfdfe 0%,#f2f7f9 100%);
}
.profile-summary h3{
  margin:12px 0 13px;
  max-width:620px;
  color:var(--navy);
  font-size:clamp(1.55rem,2.3vw,2.15rem);
  line-height:1.16;
  letter-spacing:-.035em;
}
.profile-summary p{
  margin:0;
  color:var(--muted);
  font-size:.98rem;
  line-height:1.72;
}
.capability-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}
.capability-pills span,
.mini-tags span{
  border:1px solid var(--line-strong);
  background:white;
  color:#486270;
  padding:7px 10px;
  font-size:.71rem;
  line-height:1;
}
.scope-list{margin-top:15px}
.scope-list>div{
  display:grid;
  grid-template-columns:34px 1fr;
  align-items:start;
  gap:10px;
  padding:14px 0;
  border-top:1px solid var(--line);
}
.scope-list>div:first-child{border-top:none;padding-top:6px}
.scope-list span{
  color:var(--teal);
  font-size:.75rem;
  font-weight:800;
}
.scope-list strong{
  color:var(--navy);
  font-size:.94rem;
  line-height:1.45;
  font-weight:700;
}
.focus-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:18px;
}
.focus-card{
  position:relative;
  min-height:190px;
  padding:26px 27px 25px;
  border:1px solid var(--line);
  background:white;
}
.focus-card>span{
  color:var(--teal);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.09em;
}
.focus-card h3{
  margin:14px 0 10px;
  color:var(--navy);
  font-size:1.08rem;
  line-height:1.35;
}
.focus-card p{
  margin:0;
  color:var(--muted);
  font-size:.9rem;
  line-height:1.65;
}

/* Expertise */
.expertise-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.expertise-card{
  min-height:260px;
  padding:29px;
  border:1px solid var(--line);
  background:white;
  box-shadow:var(--shadow-soft);
}
.card-kicker{
  color:var(--teal);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.expertise-card h3{
  margin:14px 0 12px;
  color:var(--navy);
  font-size:1.2rem;
  line-height:1.35;
}
.expertise-card p{
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.7;
}
.mini-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}

/* Timeline */
.timeline{border-top:1px solid var(--line)}
.timeline-row{
  display:grid;
  grid-template-columns:175px 1fr;
  gap:42px;
  padding:31px 0;
  border-bottom:1px solid var(--line);
}
.timeline-date{
  color:var(--teal);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
  padding-top:5px;
}
.timeline-company{
  color:#72858f;
  font-size:.78rem;
  line-height:1.45;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.timeline-body h3{
  margin:7px 0 8px;
  color:var(--navy);
  font-size:1.28rem;
  line-height:1.3;
  letter-spacing:-.02em;
}
.timeline-body p{
  margin:0;
  max-width:850px;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.72;
}

/* Selected operations */
.operations-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.operation-card{
  min-height:222px;
  padding:28px;
  border:1px solid var(--line);
  background:white;
}
.operation-card>span{
  color:var(--teal);
  font-size:.71rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.operation-card h3{
  margin:13px 0 10px;
  color:var(--navy);
  font-size:1.18rem;
  line-height:1.32;
}
.operation-card p{
  margin:0;
  color:var(--muted);
  font-size:.93rem;
  line-height:1.7;
}

/* Gallery */
.gallery-section{background:white}
.gallery-shell{
  overflow:hidden;
  border:1px solid var(--line);
  background:white;
  box-shadow:var(--shadow);
}
.gallery-stage{position:relative}
.gallery-slide{display:none}
.gallery-slide.is-active{
  display:grid;
  grid-template-columns:minmax(0,1.62fr) minmax(285px,.38fr);
  min-height:610px;
}
.gallery-media{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  overflow:hidden;
  background:#e8eff2;
}
.gallery-media img{
  width:100%;
  height:610px;
  display:block;
  object-fit:contain;
  background:#e8eff2;
}
.gallery-caption{
  padding:32px;
  border-left:1px solid var(--line);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:36px;
}
.gallery-caption-top{display:flex;justify-content:space-between;align-items:center;gap:20px}
.gallery-number{
  color:#92a3ac;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.13em;
}
.gallery-category{
  color:var(--teal);
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  text-align:right;
}
.gallery-caption h3{
  margin:0;
  color:var(--navy);
  font-size:clamp(1.45rem,2.25vw,2rem);
  line-height:1.15;
  letter-spacing:-.03em;
}
.gallery-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:17px 20px;
  border-top:1px solid var(--line);
  background:#fbfdfe;
}
.gallery-dots{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.gallery-dot{
  width:27px;
  height:3px;
  border:0;
  padding:0;
  background:#cbd8de;
  cursor:pointer;
  transition:width .2s,background .2s;
}
.gallery-dot.is-active{width:40px;background:var(--teal)}
.gallery-arrows{display:flex;gap:8px}
.gallery-arrow{
  width:44px;
  height:40px;
  border:1px solid var(--line-strong);
  background:white;
  color:var(--navy);
  cursor:pointer;
  font-size:1.05rem;
  transition:border-color .18s,color .18s,transform .18s;
}
.gallery-arrow:hover{border-color:var(--teal);color:var(--teal);transform:translateY(-1px)}

/* Credentials */
.credentials-layout{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:18px;
}
.credentials-panel,
.development-panel{
  border:1px solid var(--line);
  background:white;
  box-shadow:var(--shadow-soft);
}
.credentials-panel{padding:29px}
.panel-heading{
  padding-bottom:19px;
  border-bottom:1px solid var(--line);
}
.panel-heading span{
  color:var(--teal);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.panel-heading h3{
  margin:7px 0 0;
  color:var(--navy);
  font-size:1.18rem;
  line-height:1.3;
}
.credential-row{
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.credential-row:last-child{border-bottom:none;padding-bottom:0}
.credential-row strong{
  display:block;
  color:var(--navy);
  font-size:.98rem;
  line-height:1.45;
}
.credential-row p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:.87rem;
  line-height:1.55;
}
.development-panel{margin-top:18px;padding:29px}
.development-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  column-gap:34px;
}
.development-grid>div{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  padding:16px 0;
  border-bottom:1px solid var(--line);
}
.development-grid>div:nth-last-child(-n+2){border-bottom:none}
.development-grid strong{
  color:var(--navy);
  font-size:.9rem;
  line-height:1.45;
}
.development-grid span{
  color:#82949d;
  font-size:.75rem;
  white-space:nowrap;
}

/* Tools and readiness */
.tools-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
}
.tools-grid span{
  min-height:58px;
  display:flex;
  align-items:center;
  padding:13px 14px;
  border:1px solid var(--line);
  background:#fbfdfe;
  color:#405c6b;
  font-size:.82rem;
}
.readiness-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:18px}
.readiness-grid article{
  padding:27px;
  border:1px solid var(--line);
  background:white;
}
.readiness-grid h3{
  margin:10px 0 8px;
  color:var(--navy);
  font-size:1.15rem;
}
.readiness-grid p{
  margin:0;
  color:var(--muted);
  font-size:.91rem;
  line-height:1.65;
}

/* Why */
.why-section{
  background:linear-gradient(145deg,#eef5f6,#f8fbfc);
}
.why-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:center}
.why-title-block h2{
  margin:14px 0 0;
  color:var(--navy);
  font-size:clamp(2.4rem,4.2vw,4rem);
  line-height:.99;
  letter-spacing:-.047em;
}
.why-list>div{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:17px;
  align-items:start;
  padding:20px 0;
  border-top:1px solid var(--line);
}
.why-list>div:first-child{border-top:none}
.why-list span{
  color:var(--teal);
  font-weight:800;
  font-size:1rem;
}
.why-list strong{
  color:var(--navy);
  font-size:1rem;
  line-height:1.55;
}

/* Contact */
.contact-section{background:white}
.contact-shell{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:34px;
  align-items:center;
  padding:35px;
  border:1px solid var(--line);
  background:linear-gradient(145deg,#fbfdfe,#f0f6f8);
  box-shadow:var(--shadow-soft);
}
.contact-brand{
  display:grid;
  grid-template-columns:86px 1fr;
  gap:24px;
  align-items:center;
}
.contact-brand img{width:86px;height:86px;object-fit:contain}
.contact-brand h2{
  margin:9px 0 8px;
  color:var(--navy);
  font-size:clamp(1.7rem,2.7vw,2.45rem);
  line-height:1.08;
  letter-spacing:-.035em;
}
.contact-brand p{
  margin:0;
  max-width:600px;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.65;
}
.contact-actions{display:flex;flex-direction:column;gap:10px}
.contact-actions .btn{width:100%}

/* Footer */
.site-footer{border-top:1px solid var(--line);background:#fbfdfe;padding:23px 0}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  color:#788b95;
  font-size:.72rem;
}
.footer-brand{display:flex;align-items:center;gap:10px}
.footer-brand img{width:34px;height:34px;object-fit:contain}

/* Motion */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
.reveal.visible{opacity:1;transform:none}

/* Responsive */
@media(max-width:1050px){
  .nav-links{gap:15px}
  .identity-copy small{display:none}
  .hero-grid{grid-template-columns:1fr .82fr}
  .hero-visual{min-height:480px}
}
@media(max-width:900px){
  .site-header{position:sticky}
  .menu-btn{display:block}
  .nav-links{
    display:none;
    position:absolute;
    top:70px;
    left:20px;
    right:20px;
    padding:18px;
    background:white;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    flex-direction:column;
    align-items:stretch;
    gap:4px;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:10px}
  .nav-cv{border:none}
  .hero{padding-top:46px}
  .hero-grid{grid-template-columns:1fr}
  .hero-content{padding-bottom:0}
  .hero-content h1{max-width:none}
  .hero-visual{min-height:460px}
  .stats-row{grid-template-columns:repeat(2,1fr)}
  .stat-item:nth-child(2){border-right:none}
  .stat-item:nth-child(-n+2){border-bottom:1px solid var(--line)}
  .section-head{
    grid-template-columns:1fr;
    grid-template-areas:"eyebrow" "title" "copy";
    row-gap:13px;
  }
  .section-head p{max-width:780px}
  .profile-overview,
  .credentials-layout,
  .why-grid,
  .contact-shell{grid-template-columns:1fr}
  .why-grid{gap:28px}
  .contact-actions{display:grid;grid-template-columns:repeat(3,1fr)}
  .contact-brand{grid-template-columns:72px 1fr}
  .contact-brand img{width:72px;height:72px}
  .gallery-slide.is-active{grid-template-columns:1fr;min-height:0}
  .gallery-media img{height:min(65vh,620px)}
  .gallery-caption{border-left:none;border-top:1px solid var(--line);min-height:170px}
}
@media(max-width:700px){
  .container{width:min(calc(100% - 28px),var(--max))}
  .section{padding:68px 0}
  .identity-logo{width:42px;height:42px}
  .identity-copy strong{font-size:.78rem}
  .hero-content h1{font-size:2.9rem}
  .hero-visual{min-height:390px}
  .hero-visual-overlay{left:16px;right:16px;bottom:16px;padding:18px}
  .stats-row{grid-template-columns:1fr}
  .stat-item{border-right:none;border-bottom:1px solid var(--line)}
  .stat-item:last-child{border-bottom:none}
  .profile-overview,
  .focus-grid,
  .expertise-grid,
  .operations-grid,
  .readiness-grid{grid-template-columns:1fr}
  .timeline-row{grid-template-columns:1fr;gap:9px}
  .timeline-date{padding-top:0}
  .development-grid{grid-template-columns:1fr}
  .development-grid>div:nth-last-child(-n+2){border-bottom:1px solid var(--line)}
  .development-grid>div:last-child{border-bottom:none}
  .tools-grid{grid-template-columns:repeat(2,1fr)}
  .contact-actions{grid-template-columns:1fr}
  .footer-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:480px){
  .hero-content h1{font-size:2.55rem}
  .hero-role{font-size:1rem}
  .hero-actions{display:grid;grid-template-columns:1fr}
  .hero-actions .btn{width:100%}
  .section-head h2{font-size:2rem}
  .profile-summary,.profile-scope,.expertise-card,.operation-card,.credentials-panel,.development-panel{padding:23px}
  .tools-grid{grid-template-columns:1fr}
  .gallery-media img{height:54vh;max-height:500px}
  .gallery-toolbar{align-items:flex-end}
  .contact-brand{grid-template-columns:1fr}
  .contact-brand img{width:72px;height:72px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .btn,.gallery-arrow{transition:none}
}

/* V7 — Background hero + restored classic timeline */

/* Full-width hero background */
.hero.hero-background{
  position:relative;
  overflow:hidden;
  min-height:720px;
  padding:94px 0 0;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.96) 39%,
      rgba(255,255,255,.84) 56%,
      rgba(255,255,255,.42) 76%,
      rgba(255,255,255,.24) 100%),
    url("gallery/gallery-02.webp") center center / cover no-repeat;
}
.hero.hero-background::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.05) 0%,rgba(245,249,250,.16) 70%,rgba(245,249,250,.82) 100%);
}
.hero.hero-background .container{
  position:relative;
  z-index:2;
}
.hero.hero-background .hero-content{
  max-width:760px;
  padding:40px 0 54px;
}
.hero.hero-background .hero-content h1{
  max-width:700px;
  font-size:clamp(3rem,5vw,4.3rem);
}
.hero.hero-background .hero-role{
  max-width:720px;
}
.hero.hero-background .hero-intro{
  max-width:690px;
}
.hero-positioning{
  margin-top:24px;
  max-width:590px;
  padding:17px 18px;
  border-left:3px solid var(--teal);
  background:rgba(255,255,255,.78);
  color:var(--navy);
  font-size:1rem;
  line-height:1.58;
  font-weight:700;
  backdrop-filter:blur(5px);
}
.hero.hero-background .stats-row{
  margin-top:48px;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(8px);
  box-shadow:0 -1px 0 rgba(255,255,255,.7);
}

/* Classic vertical career timeline */
.timeline-classic{
  position:relative;
  margin-left:9px;
  padding-top:3px;
}
.timeline-classic::before{
  content:"";
  position:absolute;
  left:8px;
  top:8px;
  bottom:8px;
  width:1px;
  background:linear-gradient(var(--teal),rgba(22,126,145,.12));
}
.timeline-classic .timeline-item{
  position:relative;
  padding:0 0 40px 46px;
}
.timeline-classic .timeline-item:last-child{
  padding-bottom:0;
}
.timeline-classic .timeline-item::before{
  content:"";
  position:absolute;
  left:0;
  top:5px;
  width:16px;
  height:16px;
  border:2px solid var(--teal);
  border-radius:50%;
  background:white;
  box-shadow:0 0 0 5px rgba(22,126,145,.055);
}
.timeline-classic .timeline-meta{
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  color:var(--teal);
  font-size:.72rem;
  line-height:1.3;
  font-weight:800;
  letter-spacing:.105em;
  text-transform:uppercase;
}
.timeline-classic .timeline-item h3{
  margin:8px 0 2px;
  color:var(--navy);
  font-size:1.26rem;
  line-height:1.32;
  letter-spacing:-.018em;
}
.timeline-classic .timeline-item h4{
  margin:0 0 9px;
  color:#607783;
  font-size:.91rem;
  line-height:1.45;
  font-weight:650;
}
.timeline-classic .timeline-item p{
  margin:0;
  max-width:850px;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.72;
}

@media(max-width:900px){
  .hero.hero-background{
    min-height:auto;
    padding-top:52px;
    background:
      linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.80)),
      url("gallery/gallery-02.webp") 58% center / cover no-repeat;
  }
  .hero.hero-background .hero-content{
    max-width:680px;
    padding:46px 0 36px;
  }
}
@media(max-width:700px){
  .hero.hero-background{
    background:
      linear-gradient(rgba(255,255,255,.90),rgba(255,255,255,.86)),
      url("gallery/gallery-02.webp") center center / cover no-repeat;
  }
  .hero-positioning{
    background:rgba(255,255,255,.84);
  }
  .timeline-classic{
    margin-left:2px;
  }
  .timeline-classic .timeline-item{
    padding-left:39px;
    padding-bottom:34px;
  }
}

/* V8 — stacked section headings, balanced profile columns, timeline spacing */

/* Global section hierarchy: heading first, explanatory copy below */
.section-head{
  display:block !important;
  margin-bottom:44px;
}
.section-head .eyebrow{
  display:block;
  margin-bottom:13px;
}
.section-head h2{
  display:block;
  max-width:820px !important;
  margin:0 !important;
}
.section-head p{
  display:block;
  max-width:900px !important;
  margin:18px 0 0 !important;
  font-size:1.04rem;
  line-height:1.72;
}

/* Profile section: equal columns, no visual shift */
.profile-overview{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:18px;
  align-items:stretch;
}
.profile-summary,
.profile-scope{
  height:100%;
  min-height:440px;
  display:flex;
  flex-direction:column;
}
.profile-summary .capability-pills{
  margin-top:auto;
  padding-top:24px;
}
.profile-scope .scope-list{
  margin-top:14px;
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.profile-scope .scope-list>div{
  flex:1;
  align-content:center;
}
.focus-grid{
  align-items:stretch;
}
.focus-card{
  height:100%;
}

/* Timeline: more breathing room between section copy and divider */
#experience .section-head{
  margin-bottom:58px;
}
.timeline-classic{
  margin-top:0 !important;
  padding-top:30px !important;
  border-top:1px solid var(--line);
}
.timeline-classic::before{
  top:38px !important;
}
.timeline-classic .timeline-item:first-child{
  padding-top:0;
}
.timeline-classic .timeline-item:first-child::before{
  top:5px;
}

/* Slightly more vertical rhythm across major sections */
#profile .section-head,
#expertise .section-head,
#gallery .section-head,
#credentials .section-head,
.contact-section .section-head{
  margin-bottom:46px;
}

@media(max-width:900px){
  .profile-overview{
    grid-template-columns:1fr !important;
  }
  .profile-summary,
  .profile-scope{
    min-height:0;
  }
  .profile-summary .capability-pills{
    margin-top:24px;
    padding-top:0;
  }
  .profile-scope .scope-list{
    display:block;
  }
  .profile-scope .scope-list>div{
    min-height:auto;
  }
}

/* V9 — strict profile grid alignment + more timeline breathing room */

/*
  Force both Profile rows to use the exact same 50/50 column geometry.
  Using an explicit calculated width avoids any older 1.05fr/.95fr rule
  surviving through browser/Hostinger caching.
*/
#profile .profile-overview,
#profile .focus-grid{
  width:100% !important;
  display:grid !important;
  grid-template-columns:calc((100% - 18px) / 2) calc((100% - 18px) / 2) !important;
  column-gap:18px !important;
  row-gap:18px !important;
  align-items:stretch !important;
}

#profile .profile-summary,
#profile .profile-scope,
#profile .focus-card{
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  box-sizing:border-box !important;
}

#profile .profile-summary,
#profile .profile-scope{
  min-height:438px !important;
}

#profile .focus-card{
  min-height:205px !important;
}

/* Make the left and right profile panels internally balanced too */
#profile .profile-summary{
  display:flex !important;
  flex-direction:column !important;
}
#profile .profile-summary .capability-pills{
  margin-top:auto !important;
}
#profile .profile-scope{
  display:flex !important;
  flex-direction:column !important;
}
#profile .profile-scope .scope-list{
  flex:1 !important;
  display:flex !important;
  flex-direction:column !important;
  margin-top:14px !important;
}
#profile .profile-scope .scope-list > div{
  flex:1 !important;
  display:grid !important;
  grid-template-columns:38px 1fr !important;
  align-items:center !important;
}

/* Timeline: substantially more whitespace before divider and first milestone */
#experience .section-head{
  margin-bottom:86px !important;
}
#experience .timeline-classic{
  margin-top:0 !important;
  padding-top:40px !important;
  border-top:1px solid var(--line) !important;
}
#experience .timeline-classic::before{
  top:49px !important;
}
#experience .timeline-classic .timeline-item:first-child::before{
  top:5px !important;
}

@media(max-width:900px){
  #profile .profile-overview,
  #profile .focus-grid{
    grid-template-columns:1fr !important;
  }
  #profile .profile-summary,
  #profile .profile-scope,
  #profile .focus-card{
    min-height:0 !important;
  }
  #profile .profile-scope .scope-list{
    display:block !important;
  }
  #experience .section-head{
    margin-bottom:62px !important;
  }
  #experience .timeline-classic{
    padding-top:32px !important;
  }
}


/* V10 — contact portrait image instead of logo */
.contact-brand img.contact-photo{
  width:110px !important;
  height:138px !important;
  object-fit:cover !important;
  object-position:center 28% !important;
  border:1px solid var(--line);
  box-shadow:0 10px 24px rgba(15,43,68,.08);
  background:#eef4f6;
}
@media(max-width:900px){
  .contact-brand img.contact-photo{
    width:92px !important;
    height:116px !important;
  }
}
@media(max-width:480px){
  .contact-brand img.contact-photo{
    width:88px !important;
    height:110px !important;
  }
}


/* V11 — gallery images normalized to 3:2 and set to fully fill the slider */
.gallery-media{
  background:#e7eef1 !important;
}
.gallery-media img{
  width:100% !important;
  height:610px !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
}
@media(max-width:900px){
  .gallery-media img{
    height:min(65vh,620px) !important;
  }
}
@media(max-width:480px){
  .gallery-media img{
    height:54vh !important;
    max-height:500px !important;
  }
}


/* V13 — contact portrait framing, footer logo, clickable gallery originals */

/* Contact portrait: larger and deliberately framed */
.contact-brand{
  grid-template-columns:160px 1fr !important;
  gap:30px !important;
}
.contact-brand img.contact-photo{
  width:150px !important;
  height:188px !important;
  object-fit:cover !important;
  object-position:center 28% !important;
  border:7px solid #fff !important;
  outline:1px solid var(--line-strong);
  box-shadow:
    0 0 0 5px rgba(22,126,145,.055),
    0 14px 34px rgba(15,43,68,.13) !important;
  background:#eef4f6;
}

/* Footer always uses the brand logo, never the portrait */
.footer-brand img.footer-logo{
  width:38px !important;
  height:38px !important;
  object-fit:contain !important;
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}

/* Slider thumbnails stay full-frame 3:2, but clearly communicate click-to-view-original */
.gallery-media{
  position:relative;
  cursor:zoom-in;
}
.gallery-media img.gallery-zoom-image{
  width:100% !important;
  height:610px !important;
  object-fit:cover !important;
  object-position:center center !important;
}
.gallery-zoom-hint{
  position:absolute;
  right:18px;
  bottom:18px;
  z-index:2;
  padding:8px 11px;
  background:rgba(15,43,68,.78);
  color:white;
  font-size:.66rem;
  line-height:1;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  pointer-events:none;
  opacity:0;
  transform:translateY(5px);
  transition:opacity .18s,transform .18s;
  backdrop-filter:blur(5px);
}
.gallery-media:hover .gallery-zoom-hint{
  opacity:1;
  transform:none;
}

/* Full-size lightbox */
.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:34px 74px;
  background:rgba(5,18,30,.94);
  backdrop-filter:blur(8px);
}
.gallery-lightbox.is-open{display:flex}
.lightbox-figure{
  margin:0;
  max-width:min(92vw,1500px);
  max-height:90vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:13px;
}
.lightbox-figure img{
  display:block;
  max-width:100%;
  max-height:82vh;
  width:auto;
  height:auto;
  object-fit:contain;
  background:#0b1d2c;
  box-shadow:0 22px 70px rgba(0,0,0,.35);
}
.lightbox-figure figcaption{
  color:rgba(255,255,255,.88);
  font-size:.9rem;
  line-height:1.4;
  text-align:center;
}
.lightbox-close{
  position:absolute;
  top:20px;
  right:24px;
  width:48px;
  height:48px;
  border:1px solid rgba(255,255,255,.28);
  background:rgba(255,255,255,.08);
  color:white;
  font-size:1.7rem;
  line-height:1;
  cursor:pointer;
}
.lightbox-nav{
  position:absolute;
  top:50%;
  width:52px;
  height:52px;
  transform:translateY(-50%);
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.08);
  color:white;
  font-size:1.25rem;
  cursor:pointer;
}
.lightbox-prev{left:18px}
.lightbox-next{right:18px}
.lightbox-close:hover,
.lightbox-nav:hover{
  background:rgba(255,255,255,.16);
  border-color:rgba(255,255,255,.48);
}

body.lightbox-open{overflow:hidden}

@media(max-width:900px){
  .contact-brand{
    grid-template-columns:130px 1fr !important;
  }
  .contact-brand img.contact-photo{
    width:122px !important;
    height:153px !important;
  }
  .gallery-media img.gallery-zoom-image{
    height:min(65vh,620px) !important;
  }
  .gallery-zoom-hint{
    opacity:1;
    transform:none;
    right:12px;
    bottom:12px;
  }
}
@media(max-width:600px){
  .contact-brand{
    grid-template-columns:1fr !important;
  }
  .contact-brand img.contact-photo{
    width:140px !important;
    height:175px !important;
  }
  .gallery-lightbox{
    padding:62px 12px 74px;
  }
  .lightbox-nav{
    top:auto;
    bottom:14px;
    transform:none;
  }
  .lightbox-prev{left:calc(50% - 64px)}
  .lightbox-next{right:calc(50% - 64px)}
  .lightbox-close{
    top:10px;
    right:12px;
  }
  .lightbox-figure img{
    max-height:74vh;
  }
}


/* V15 — IT implementation report, approved content safeguards */
.capability-pills,
.mini-tags{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center;
  gap:8px !important;
  max-width:100%;
  overflow:visible;
}
.capability-pills span,
.mini-tags span{
  width:auto;
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.35;
}
.development-grid > div{
  min-width:0;
}
.development-grid strong{
  overflow-wrap:anywhere;
}
.contact-brand p{
  max-width:670px;
}
@media(max-width:390px){
  .capability-pills,
  .mini-tags{
    gap:7px !important;
  }
  .capability-pills span,
  .mini-tags span{
    font-size:.68rem;
    padding:7px 9px;
  }
}


/* V18 — analytics consent banner */
.analytics-consent[hidden]{display:none!important}
.analytics-consent{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:10000;
}
.analytics-consent-inner{
  width:min(100%,980px);
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr auto;
  gap:26px;
  align-items:center;
  padding:22px 24px;
  background:rgba(255,255,255,.97);
  border:1px solid var(--line-strong);
  box-shadow:0 18px 55px rgba(15,43,68,.16);
  backdrop-filter:blur(12px);
}
.analytics-consent-copy strong{
  display:block;
  color:var(--navy);
  font-size:.96rem;
  margin-bottom:5px;
}
.analytics-consent-copy p{
  margin:0;
  color:var(--muted);
  font-size:.83rem;
  line-height:1.55;
}
.analytics-consent-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
@media(max-width:760px){
  .analytics-consent{left:10px;right:10px;bottom:10px}
  .analytics-consent-inner{grid-template-columns:1fr;gap:16px;padding:18px}
  .analytics-consent-actions{justify-content:stretch}
  .analytics-consent-actions .btn{flex:1 1 150px}
}


/* V24 — final CTA removed; Assurance & HSEQ restored to standard mini-tag layout */
.assurance-tags .tag-wide{
    grid-column:auto;
  }
}
