/* ============================================================
   Justin Von Vergara — Resume Portfolio
   ============================================================ */
:root{
  --green-950:#041d10;
  --green-900:#06281a;
  --green-850:#0a3d25;
  --green-800:#0b3f26;
  --green-700:#0e5c34;
  --green-600:#17a24b;
  --green-500:#1db457;
  --green-bright:#2bc65f;
  --green-100:#dff3e6;
  --green-50:#eef8f1;
  --ink:#122a1d;
  --muted:#51645a;
  --soft:#6b7d71;
  --line:#d5e1d6;
  --bg:#f0f3ec;
  --bg-alt:#e8eee2;
  --card:#f7faf3;
  --card-soft:#eff5ea;
  --shadow:0 14px 36px rgba(13,43,26,.12);
  --radius:18px;
  --font:'Poppins',ui-sans-serif,system-ui,'Segoe UI',Arial,sans-serif;
  --display:'Playfair Display',Georgia,serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{
  scroll-behavior:smooth;
  scroll-padding-top:82px;
}
body{
  font:400 16px/1.7 var(--font);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  counter-reset:pg;
}
body.modal-open{overflow:hidden}
h1,h2,h3,p,ul{margin:0}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
::selection{background:var(--green-600);color:#fff}

.container{width:min(1800px,100% - 64px);margin-inline:auto}
.i{width:18px;height:18px;display:block;fill:currentColor;flex:none}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font:600 14.5px/1 var(--font);
  border-radius:11px;padding:14px 22px;cursor:pointer;
  border:1px solid transparent;transition:.25s;white-space:nowrap;
}
.btn .i{width:17px;height:17px}
.btn-primary{
  background:linear-gradient(180deg,#22df80,#12b858);
  color:#031209;font-weight:700;
  box-shadow:0 0 24px rgba(34,223,128,.38);
}
.btn-primary:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 0 28px rgba(34,223,128,.55)}
.btn-ghost{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.55);color:#f2fbf5}
.btn-ghost:hover{background:rgba(255,255,255,.15);transform:translateY(-2px)}
.btn-outline{background:var(--card);border-color:#d3e0d5;color:#243428}
.btn-outline:hover{border-color:var(--green-600);color:var(--green-600);transform:translateY(-2px)}
.btn-sm{padding:11px 18px;font-size:13.5px;border-radius:10px}
.btn-block{width:100%;justify-content:center}

.chip{
  width:40px;height:40px;border-radius:50%;
  display:grid;place-items:center;
  background:rgba(2,20,10,.55);color:#e8f5ec;
  border:1px solid rgba(255,255,255,.12);
  transition:.25s;
}
.chip .i{width:18px;height:18px}
.chip:hover{background:var(--green-600);color:#fff;transform:translateY(-3px);border-color:transparent}

/* ============ HEADER ============ */
header#siteHeader{
  position:sticky;top:0;z-index:100;
  background:linear-gradient(115deg,#0b3f26 0%,#07301d 55%,#052415 100%);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 1px 0 rgba(255,255,255,.04);
  transition:box-shadow .3s;
}
header#siteHeader.scrolled{box-shadow:0 12px 26px rgba(4,24,13,.35)}
.h-inner{position:relative;display:flex;align-items:center;justify-content:center;gap:24px;height:68px}

.brand{position:absolute;left:50%;display:flex;align-items:center;color:#fff;transform:translateX(-50%)}
.brand-t b{display:block;text-align:center;font:700 15.5px/1.2 var(--font);color:#fff}
.page{scroll-margin-top:82px}
#backToTop{
  position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:90;
  width:48px;height:48px;display:grid;place-items:center;
  border:1px solid rgba(255,255,255,.2);border-radius:50%;
  background:var(--green-800);color:#fff;box-shadow:0 8px 22px rgba(4,24,13,.3);
  cursor:pointer;opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .2s,transform .2s,visibility .2s,background .2s;
}
#backToTop .i{width:21px;height:21px}
#backToTop:hover{background:var(--green-600);transform:translateY(-2px)}
#backToTop.visible{opacity:1;visibility:visible;transform:translateY(0)}
#backToTop:focus-visible{outline:3px solid var(--green-bright);outline-offset:3px}

/* ============ FULL-PAGE SECTIONS ============ */
.page{
  position:relative;
  min-height:calc(100vh - 68px);
  display:flex;align-items:center;
  padding:64px 0 92px;
  background:var(--bg);
  counter-increment:pg;
}
main > .page:nth-of-type(even){background:var(--bg-alt)}
.page::before{
  content:"Justin Von Vergara · Resume Portfolio";
  position:absolute;left:44px;bottom:32px;z-index:5;
  font:500 12px var(--font);color:#7c8d81;letter-spacing:.5px;
}
.page::after{
  content:"Page " counter(pg) " / 9";
  position:absolute;right:44px;bottom:32px;z-index:5;
  font:600 12px var(--font);color:#7c8d81;letter-spacing:.5px;
}
.sheet{width:100%;display:flex;flex-direction:column}

/* ============ HERO PAGE ============ */
#home.page{
  color:#fff;
  min-height:calc(100svh - 68px);
  align-items:stretch;
  padding:34px 0 62px;
  background:#04150d;
  overflow:hidden;
}
#home.page::before,#home.page::after{color:rgba(233,255,242,.6)}
.hero-bg{position:absolute;inset:0;overflow:hidden}
.hero-bg::before{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(circle at 75% 35%, rgba(56,232,131,0.35) 0%, rgba(30,170,90,0.18) 22%, transparent 45%),
    radial-gradient(ellipse at 82% 45%,rgba(27,154,76,.25),transparent 38%),
    linear-gradient(135deg,transparent 58%,rgba(17,114,61,.19) 58.2%,rgba(18,119,63,.07) 68%,transparent 68.2%),
    linear-gradient(135deg,transparent 69%,rgba(24,181,91,.25) 69.2%,rgba(12,91,49,.24) 77%,transparent 77.2%),
    linear-gradient(135deg,transparent 79%,rgba(23,160,79,.32) 79.2%,rgba(12,80,43,.18) 91%,transparent 91.2%),
    linear-gradient(108deg,#04150d 0%,#062315 48%,#07331d 100%);
}
.hero-bg::after{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(135deg,transparent 65.8%,rgba(77,226,132,.17) 66%,transparent 66.2%),
    linear-gradient(135deg,transparent 76.8%,rgba(77,226,132,.22) 77%,transparent 77.2%),
    linear-gradient(135deg,transparent 89.8%,rgba(77,226,132,.14) 90%,transparent 90.2%);
  pointer-events:none;
}
.hero-sheet{
  position:relative;
  min-height:calc(100svh - 164px);
  justify-content:space-between;
  gap:24px;
}
.hero-inner{
  position:relative;z-index:2;
  display:flex;align-items:center;
  flex:1;min-height:450px;
  width:100%;
}
.hero-copy{position:relative;z-index:2;width:min(66%,760px);max-width:760px}
.hero-copy>*{animation:rise .8s both}
.hero-copy>:nth-child(1){animation-delay:.1s}
.hero-copy>:nth-child(2){animation-delay:.18s}
.hero-copy>:nth-child(3){animation-delay:.26s}
.hero-copy>:nth-child(4){animation-delay:.34s}
.hero-copy>:nth-child(5){animation-delay:.42s}
.role{
  display:inline-flex;align-items:center;gap:10px;
  padding:8px 15px;margin-bottom:18px;
  border:1px solid rgba(98,227,145,.35);border-radius:999px;
  background:rgba(12,77,41,.55);
  font:500 13px/1.3 var(--font);letter-spacing:.2px;color:#c4f2d3;
}
.hero-status-dot{
  width:8px;height:8px;border-radius:50%;
  background:#53e483;box-shadow:0 0 12px rgba(83,228,131,.75);
}
.hero-name{
  font:800 58px/1.08 var(--font);
  letter-spacing:-2.2px;
  text-wrap:pretty;
  text-shadow:0 4px 22px rgba(0,0,0,.25);
}
.hero-name-intro{
  display:block;margin-bottom:4px;
  font:600 25px/1.3 var(--font);letter-spacing:-.5px;color:#f1faf3;
}
.hero-name-line{display:block;color:#fff}
.hero-name strong{color:#48d879;font-weight:800}
.hero-tagline{
  margin-top:17px;
  font:600 22px/1.45 var(--font);letter-spacing:-.4px;color:#d9f3e2;
}
.bio{margin:12px 0 4px;max-width:560px;font:400 15px/1.8 var(--font);color:#c6dbcd}
.hero-actions{display:flex;gap:12px;margin-top:20px;flex-wrap:wrap}
.hero-actions .btn{min-height:50px}
.hero-actions .btn-ghost .i{width:16px;height:16px}
.hero-portrait{
  position:absolute;z-index:2;right:42px;bottom:0;
  display:flex;justify-content:center;align-items:flex-end;
  width:min(64%,820px);height:calc(100% - 2px);max-height:700px;
  padding:0;
  border-radius:0;
  background:transparent;
  overflow:hidden;
  box-shadow:none;
  animation:rise 1s .12s both;
}
.hero-portrait img{
  position:relative;z-index:1;
  width:100%;height:100%;object-fit:contain;object-position:center bottom;
  border-radius:0;
  filter:none;
  transform-origin:50% 100%;
  transition:transform .7s cubic-bezier(.16,1,.3,1),filter .7s cubic-bezier(.16,1,.3,1);
}
.hero-portrait::after{display:none}
/* Hover: portrait grows in place, brightens and picks up a green rim glow */
.hero-portrait::before{
  content:'';position:absolute;inset:6% 4% 0;z-index:0;pointer-events:none;
  border-radius:46% 46% 0 0;
  background:radial-gradient(58% 52% at 50% 60%,rgba(34,197,94,.32),rgba(34,197,94,.10) 55%,rgba(34,197,94,0) 78%);
  opacity:0;transform:translateY(16px) scale(.9);
  transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1);
}
.hero-portrait:hover::before,.hero-portrait:focus-within::before{opacity:1;transform:none}
.hero-portrait:hover img,.hero-portrait:focus-within img{
  transform:scale(1.05);
  filter:brightness(1.07) drop-shadow(0 18px 55px rgba(34,197,94,.38));
}
.hero-stats{
  position:relative;z-index:3;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  overflow:hidden;
  margin-top:-24px;
  border:1px solid rgba(176,231,193,.16);border-radius:16px;
  background:rgba(3,20,11,.76);
  box-shadow:0 18px 50px rgba(0,0,0,.17);
  backdrop-filter:blur(12px);
}
.hero-stat{
  min-width:0;min-height:94px;padding:14px 20px;
  display:grid;grid-template-columns:28px minmax(0,1fr);
  grid-template-rows:auto auto auto;column-gap:12px;row-gap:2px;align-content:center;
  border-right:1px solid rgba(176,231,193,.14);
}
.hero-stat:last-child{border-right:0}
.hero-stat .i{grid-column:1;grid-row:1/4;align-self:center;width:22px;height:22px;color:#56dc83}
.hero-stat strong{
  font:800 34px/1.08 var(--font);letter-spacing:-.6px;color:#f5fff7;
  font-variant-numeric:tabular-nums;
  text-shadow:0 0 26px rgba(72,216,121,.22);
}
/* Little bounce the moment a number finishes counting up */
@keyframes stat-pop{0%{transform:scale(1)}38%{transform:scale(1.16)}100%{transform:scale(1)}}
.hero-stat strong.is-pop,#webstats [data-ws].is-pop{animation:stat-pop .5s cubic-bezier(.22,.61,.36,1) both;transform-origin:left center}
.hero-stat span{font:400 12px/1.45 var(--font);color:#bbd2c2}
.hero-stat-action{
  grid-column:2;grid-row:3;justify-self:start;
  color:#72e69b;font:600 10.5px/1.3 var(--font);
  transition:color .2s,transform .2s;
}
.hero-stat-action span{color:inherit;font:inherit}
.hero-stat-action:hover{color:#fff;transform:translateX(2px)}
.hero-stat-action:focus-visible{outline:2px solid var(--green-bright);outline-offset:3px;border-radius:2px}
.hero-stat--gold .i{color:#56dc83}
.hero-stat .hero-star{fill:currentColor}

/* ============ ABOUT ============ */
#about.page{
  color:#fff;
  background:linear-gradient(135deg,#04150c 0%,#052013 55%,#03110a 100%);
  overflow:hidden;
  align-items:flex-start;
}
#about.page::before,#about.page::after{color:rgba(233,255,242,.55)}

.about-head{margin-bottom:32px}
.about-head h2{font:800 44px/1.1 var(--font);letter-spacing:-.5px;color:#fff}
.about-head h2 span{color:var(--green-bright)}
.about-head p{margin-top:10px;max-width:540px;font:400 16px/1.7 var(--font);color:#c9dccf}

.about-grid{display:grid;grid-template-columns:minmax(280px,380px) 1fr;gap:24px;align-items:stretch}
.about-sidebar{display:grid;gap:16px;align-content:start;min-width:0}
.about-content{display:flex;flex-direction:column;gap:16px;min-width:0}
.about-card{
  background:rgba(9,14,10,.72);
  border:1px solid rgba(74,222,128,.1);
  border-radius:22px;
  box-shadow:0 12px 32px rgba(0,0,0,.25);
}

.about-profile{padding:18px 18px 28px;display:flex;flex-direction:column;align-items:center;text-align:center}
.about-photo{
  width:100%;aspect-ratio:1/1.08;border-radius:16px;overflow:hidden;
  border:1px solid rgba(255,255,255,.08);background:#0d130e;
}
.about-photo img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .5s}
.about-profile:hover .about-photo img{transform:scale(1.04)}
.about-profile h3{margin-top:20px;font:700 22px/1.3 var(--font);color:#fff}
.about-profile>p{margin-top:5px;font:500 14px var(--font);color:#9fe3b8}
.about-personal{padding:20px 22px}
.about-personal h3{margin:0 0 16px;color:#fff;font:700 17px/1.3 var(--font)}
.about-facts{display:grid;gap:13px;margin:0}
.about-facts>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:10px}
.about-facts dt{color:#91b7a0;font:600 12px/1.6 var(--font);text-transform:uppercase;letter-spacing:.5px}
.about-facts dd{margin:0;color:#e0ece4;font:400 13px/1.6 var(--font);overflow-wrap:anywhere}
.about-socials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px;padding-top:15px;border-top:1px solid rgba(255,255,255,.09)}
.about-socials a{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:36px;padding:8px 11px;
  border:1px solid rgba(74,222,128,.2);border-radius:10px;
  color:#dcebe1;background:rgba(43,198,95,.06);
  font:600 12px/1 var(--font);transition:background .2s,border-color .2s,color .2s;
}
.about-socials a:hover{color:#fff;background:rgba(43,198,95,.16);border-color:rgba(74,222,128,.45)}
.about-socials .i{width:15px;height:15px;fill:currentColor}
.about-cta{
  margin-top:20px;width:100%;
  display:flex;flex-direction:column;align-items:center;gap:12px;
  background:linear-gradient(135deg,rgba(43,198,95,.08),rgba(0,0,0,.2) 58%);
  border:1px solid rgba(74,222,128,.12);
  border-radius:14px;padding:18px 16px;
  text-align:center;
  transition:border-color .25s,transform .25s,box-shadow .25s;
}
.about-cta:hover{border-color:rgba(74,222,128,.3);transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.25)}
.cta-top{display:flex;flex-direction:column;align-items:center;gap:10px}
.cta-copy{text-align:center}
.cta-copy b{display:block;font:700 14.5px/1.4 var(--font);color:#fff;text-wrap:balance}
.cta-copy small{display:block;margin-top:4px;font:400 12px/1.6 var(--font);color:#aebfb3;text-wrap:balance}
.cta-btn{
  width:100%;
  display:flex;align-items:center;justify-content:center;gap:8px;
  background:linear-gradient(180deg,#3bd970,#1fae52);
  color:#04150c;font:700 13px/1 var(--font);
  border-radius:10px;padding:11px 16px;
}
.cta-btn .i{width:15px;height:15px;transition:transform .25s}
.about-cta:hover .cta-btn .i{transform:translateX(3px)}

.about-info{align-self:start;padding:28px 32px;display:flex;flex-direction:column;gap:22px;justify-content:flex-start}
.about-entry-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.about-ico{
  width:34px;height:34px;flex:none;border-radius:50%;
  display:grid;place-items:center;
  background:var(--green-600);color:#fff;
}
.about-ico .i{width:17px;height:17px}
.about-entry-head h3{font:700 19px var(--font);color:#fff}
.about-entry p{font:400 15px/1.8 var(--font);color:#b9c8bd}

.about-more{display:grid;grid-template-rows:auto 1fr auto;gap:16px;flex:1}
.about-interests,.about-detail-card{
  padding:20px 24px;
  background:rgba(9,14,10,.64);
  border:1px solid rgba(74,222,128,.16);
  border-radius:18px;
}
.about-interests .about-entry-head,.about-detail-card .about-entry-head{margin-bottom:14px}
.about-interest-tags{display:flex;flex-wrap:wrap;gap:9px}
.about-interest-tags span{
  padding:5px 13px;
  border:1px solid rgba(206,226,214,.28);
  border-radius:999px;
  background:rgba(2,20,10,.52);
  color:#e4efe7;
  font:500 12px/1.35 var(--font);
  white-space:nowrap;
}
.about-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.about-detail-card{display:flex;flex-direction:column}
.about-approach-intro{margin-bottom:14px;max-width:620px;font:400 14px/1.7 var(--font);color:#c3d2c8}
.about-approach-list,.about-values{display:grid;flex:1;align-content:space-between;gap:13px;list-style:none;margin:0;padding:0}
.about-approach-list li,.about-values li{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:9px;row-gap:2px;align-items:start}
.about-approach-list li::before{
  content:"";width:8px;height:8px;margin:6px 0 0 3px;border:2px solid var(--green-bright);
  border-radius:50%;box-shadow:0 0 10px rgba(43,198,95,.24);
}
.about-approach-list b,.about-values b{color:#e8f3eb;font:600 13px/1.45 var(--font)}
.about-approach-list span,.about-values span{grid-column:2;color:#aebfb3;font:400 12px/1.55 var(--font)}
.about-values li::before{
  content:"";width:6px;height:10px;margin:2px 0 0 4px;
  border-right:2px solid var(--green-bright);border-bottom:2px solid var(--green-bright);
  transform:rotate(45deg);
}
.about-quote{
  display:flex;align-items:center;justify-content:center;gap:14px;
  min-height:72px;padding:14px 22px;
  border:1px solid rgba(43,198,95,.65);
  border-radius:14px;
  background:linear-gradient(100deg,rgba(43,198,95,.1),rgba(4,21,12,.78) 44%,rgba(43,198,95,.07));
  text-align:center;
}
.about-quote-mark{color:var(--green-bright);font:800 38px/.8 var(--display)}
.about-quote p{color:#f0f7f2;font:600 italic 14px/1.5 var(--font)}
.about-quote cite{margin-left:10px;color:#76e5a0;font:600 italic 13px/1.4 var(--font);white-space:nowrap}

/* ============ SECTION HEADERS ============ */
.p-head{display:flex;align-items:center;gap:12px;margin-bottom:26px}
.p-head .i{width:30px;height:30px;color:var(--green-600)}
.p-head h2{font:800 32px var(--font);letter-spacing:-.4px}

/* ============ SKILLS & SERVICES ============ */
#skills.page{
  color:#fff;
  background:linear-gradient(135deg,#04150c 0%,#052013 55%,#03110a 100%);
  overflow:hidden;
}
#skills.page::before,#skills.page::after{color:rgba(233,255,242,.55)}

.sk-head{margin-bottom:30px}
.sk-eyebrow{font:700 13px var(--font);letter-spacing:3.5px;text-transform:uppercase;color:var(--green-bright)}
.sk-head h2{margin-top:8px;font:800 34px/1.15 var(--font);letter-spacing:-.4px;color:#fff}
.sk-sub{margin-top:6px;font:500 15px var(--font);color:#c9dccf}

.sk-band{
  display:grid;grid-template-columns:minmax(0,1.8fr) minmax(300px,.9fr);
  align-items:start;gap:clamp(28px,4vw,54px);
}
.sk-rings{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  justify-items:center;align-items:start;gap:28px 18px;
}
.ring{width:auto;display:flex;flex-direction:column;align-items:center;gap:10px}
.ring-fig{position:relative;width:68px;height:68px}
.ring-fig svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring-track{fill:none;stroke:rgba(255,255,255,.1);stroke-width:8}
.ring-fill{
  fill:none;stroke:var(--green-bright);stroke-width:8;stroke-linecap:round;
  stroke-dasharray:289px;stroke-dashoffset:289px;
  transition:stroke-dashoffset 1.3s cubic-bezier(.25,.8,.25,1) .15s;
}
.bars-on .ring-fill{stroke-dashoffset:calc(289px - 289px * var(--p) / 100)}
.ring-fig .pct{position:absolute;inset:0;display:grid;place-items:center;font:700 13.5px var(--font);color:#fff}
.ring>b{font:600 13px/1.3 var(--font);color:#e2ece5;text-align:center}

.sk-pro{
  border-left:1px solid rgba(255,255,255,.12);
  padding-left:clamp(24px,3vw,40px);align-self:start;
  display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;
}
.sk-pro-label{
  margin:0 0 12px 4px;font:700 12px var(--font);letter-spacing:1.6px;
  text-transform:uppercase;color:#9fe3b8;
}
.sk-chips{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
  width:100%;max-width:none;
  background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.08);
  border-radius:16px;padding:14px;
}
.sk-chips span{
  display:grid;place-items:center;min-height:40px;padding:8px 10px;
  font:500 13px/1.35 var(--font);text-align:center;color:#dde8e0;
  background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.16);
  border-radius:999px;transition:.25s;
}
.sk-chips span:last-child{grid-column:1/-1;justify-self:center;min-width:58%}
.sk-chips span:hover{border-color:var(--green-bright);color:#fff;transform:translateY(-2px)}

/* ---------- Services cards (under the Skills rings) ---------- */
.sk-services{margin-top:46px}
.sk-services .sk-sub{margin-top:6px}
.sv-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;
  margin-top:22px;
}
.sv-card{
  position:relative;
  display:flex;flex-direction:column;gap:14px;
  background:rgba(9,14,10,.62);
  border:1px solid rgba(74,222,128,.1);
  border-radius:18px;
  padding:22px 20px;
  transition:transform .22s,border-color .22s,box-shadow .22s;
}
.sv-card:hover{transform:translateY(-4px);border-color:rgba(74,222,128,.3);box-shadow:0 14px 30px rgba(0,0,0,.3)}
.sv-ico{
  width:46px;height:46px;flex:none;border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(43,198,95,.18),rgba(43,198,95,.04));
  border:1px solid rgba(74,222,128,.22);
  color:var(--green-bright);
}
.sv-ico .i{width:22px;height:22px}
.sv-card h3{font:700 18px/1.2 var(--font);color:#fff}
.sv-card p{font:400 14px/1.6 var(--font);color:#b9c8bd}
.sv-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding:0;list-style:none}
.sv-tags li{
  font:600 11.5px var(--font);
  color:var(--green-bright);
  background:rgba(43,198,95,.1);
  border:1px solid rgba(43,198,95,.3);
  border-radius:999px;padding:4px 11px;
}

.sk-extra{
  margin-top:48px;
  padding-top:32px;
  border-top:1px solid rgba(255,255,255,.12);
}
.approach-eyebrow,.tech-eyebrow{
  font:700 12px var(--font);letter-spacing:2.5px;text-transform:uppercase;
  color:var(--green-bright);
}
.approach-title{
  margin-top:8px;font:800 30px/1.2 var(--font);letter-spacing:-.4px;color:#fff;
}
.approach-lead,.tech-lead{
  margin-top:8px;max-width:760px;font:400 14.5px/1.7 var(--font);color:#c9dccf;
}
.tech{
  display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);
  align-items:center;gap:24px;
  margin-top:32px;padding-top:0;border-top:0;
}
.ai-tools{margin-top:22px}
.tech-copy{min-width:0}
.tech-copy .tech-lead{max-width:240px}
.ap-steps{
  display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr) 24px minmax(0,1fr);
  align-items:stretch;gap:14px;margin-top:22px;
}
.ap-step{
  position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;
  min-width:0;padding:22px;background:rgba(9,32,20,.62);
  border:1px solid rgba(74,222,128,.14);border-radius:16px;
}
.ap-num{font:800 12px var(--font);letter-spacing:1px;color:var(--green-bright)}
.ap-ico{
  width:40px;height:40px;display:grid;place-items:center;
  border:1px solid rgba(74,222,128,.25);border-radius:12px;
  background:rgba(43,198,95,.1);color:var(--green-bright);
}
.ap-step h3{font:700 16px/1.3 var(--font);color:#fff}
.ap-step p{font:400 13px/1.65 var(--font);color:#b9c8bd}
.ap-arrow{display:grid;place-items:center;color:var(--green-bright);font-size:22px}
.tech-panel{
  min-width:0;padding:12px 10px;
  border:1px solid rgba(206,226,214,.55);border-radius:18px;
  background:rgba(255,255,255,.025);
}
.tech-row{
  min-width:0;overflow:hidden;padding:2px;
}
.tech-marquee{
  display:flex;width:max-content;
  animation:tech-marquee 80s linear infinite;
}
.tech-marquee--reverse{animation-direction:reverse}
.ai-tools .tech-marquee{animation-duration:68s}
.tech-group{
  display:flex;align-items:center;gap:clamp(16px,2vw,30px);
  flex:none;padding-right:clamp(16px,2vw,30px);
}
@keyframes tech-marquee{to{transform:translateX(-50%)}}
.tech-row:hover .tech-marquee,.tech-row:focus-within .tech-marquee{animation-play-state:paused}
.tech-item{
  flex:0 0 auto;width:max-content;min-width:74px;max-width:150px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;
  color:#e2ece5;font:600 11px/1.25 var(--font);white-space:nowrap;
}
.tech-item img,.tech-item .tech-logo{
  display:block;width:38px;height:38px;object-fit:contain;
  padding:0;border:0;border-radius:0;background:transparent;
}
.tech-mark{
  width:38px;height:38px;display:grid;place-items:center;
  color:#9fe3b8;font:800 13px/1 var(--font);letter-spacing:-.4px;
  border:1px solid rgba(159,227,184,.38);border-radius:11px;
  background:rgba(43,198,95,.08);
}
.tech-item>span{
  max-width:150px;overflow:hidden;text-overflow:ellipsis;
}

/* ============ EXPERIENCE ============ */
#experience.page{
  color:#fff;
  background:linear-gradient(135deg,#04150c 0%,#052013 55%,#03110a 100%);
  overflow:hidden;
}
#experience.page::before,#experience.page::after{color:rgba(233,255,242,.55)}
.xp-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:26px}
.xp-kicker{color:var(--green-bright);font:700 13px/1.3 var(--font);letter-spacing:3px;text-transform:uppercase}
.xp-heading h2{margin-top:5px;color:#fff;font:800 clamp(42px,5vw,62px)/1.08 var(--font);letter-spacing:-1.5px}
.xp-heading h2 span{color:var(--green-bright)}
.xp-subtitle{max-width:560px;margin-top:8px;color:#c9dccf;font:400 15px/1.65 var(--font)}
.xp-list{position:relative;display:grid;gap:10px;padding-left:52px}
.xp-list::before{
  content:"";position:absolute;left:16px;top:20px;bottom:20px;width:2px;
  background:linear-gradient(180deg,var(--green-bright),rgba(43,198,95,.35));
}
.xp{
  position:relative;display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:18px;
  min-height:82px;padding:12px 18px;border:1px solid rgba(74,222,128,.14);border-radius:17px;
  background:linear-gradient(110deg,rgba(13,47,29,.82),rgba(7,28,18,.9));
  box-shadow:0 9px 24px rgba(0,0,0,.14);transition:border-color .22s,transform .22s,background .22s;
}
.xp:hover{transform:translateY(-2px);border-color:rgba(43,198,95,.5);background:linear-gradient(110deg,rgba(15,57,34,.9),rgba(7,34,21,.94))}
.xp-rail{position:absolute;left:-42px;top:50%;z-index:2;width:14px;height:14px;transform:translateY(-50%)}
.xp-dot{display:block;width:14px;height:14px;border:3px solid var(--green-bright);border-radius:50%;background:#eafff2;box-shadow:0 0 0 3px rgba(43,198,95,.18)}
.xp-mark{
  width:72px;height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;
  overflow:hidden;padding:4px;border-radius:10px;background:rgba(255,255,255,.96);text-align:center;
}
.xp-mark img{width:100%;height:100%;object-fit:contain}
.xp-mark--freelance{color:#74dff2}
.xp-mark--freelance .i{width:42px;height:34px}
.xp-body{min-width:0}
.xp-h{color:#f7fbf8;font:700 15px/1.4 var(--font)}
.xp-d{margin-top:3px;color:#becdc2;font:400 12.5px/1.5 var(--font)}
.xp-when{
  min-width:110px;padding:8px 12px;border:1px solid rgba(43,198,95,.58);border-radius:999px;
  color:#e7f6ec;background:rgba(43,198,95,.1);text-align:center;white-space:nowrap;
  font:600 12px/1.25 var(--font);
}

/* ============ PROJECTS ============ */
.projects-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.project{
  border:1px solid var(--line);border-radius:14px;padding:16px;
  display:grid;grid-template-columns:minmax(0,45%) 1fr;gap:17px;
  transition:.3s;
}
.project:hover{box-shadow:0 14px 30px rgba(13,43,26,.1);transform:translateY(-3px)}
.shot{
  position:relative;height:220px;border-radius:10px;overflow:hidden;
  border:1px solid #e0e8e2;background:#0b2f1d;
}
.badge{
  display:inline-block;background:#dff3e6;color:#178a45;
  font:700 12px var(--font);padding:4px 10px;border-radius:999px;
  letter-spacing:.2px;white-space:nowrap;
}
.proj-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font:800 15px var(--font)}
.proj-d{font:400 12.6px/1.65 var(--font);color:var(--muted);margin:8px 0 10px}
.checks{display:flex;flex-direction:column;gap:7px;margin-bottom:14px;list-style:none;padding:0}
.checks li{display:flex;gap:8px;align-items:flex-start;font:500 12.4px/1.45 var(--font);color:#33463c}
.checks .i{width:15px;height:15px;color:var(--green-600);margin-top:1px}
.proj-actions{display:flex;gap:9px;flex-wrap:wrap}

/* ---- FMIS mock screenshot ---- */
.fmis{position:absolute;inset:0;display:flex;flex-direction:column;background:#f4f8f5}
.fmis-top{height:22px;flex:none;display:flex;align-items:center;gap:6px;background:#0d3b22;color:#fff;padding:0 9px}
.fmis-brand{font:700 8px var(--font);letter-spacing:.3px}
.fmis-chip{width:30px;height:8px;border-radius:4px;background:rgba(255,255,255,.18)}
.fmis-chip.lt{background:rgba(255,255,255,.09)}
.fmis-user{margin-left:auto;width:14px;height:14px;border-radius:50%;background:var(--green-bright)}
.fmis-wrap{flex:1;display:flex;min-height:0}
.fmis-side{
  width:27%;flex:none;background:#0e3323;
  border-right:1px solid rgba(255,255,255,.06);
  padding:8px 7px;display:flex;flex-direction:column;gap:6px;
}
.fmis-side i{display:block;height:11px;border-radius:3px;background:rgba(255,255,255,.13)}
.fmis-side i.on{background:var(--green-bright)}
.fmis-main{flex:1;padding:9px;display:flex;flex-direction:column;gap:8px;min-width:0}
.fmis-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
.fmis-cards i{
  position:relative;display:block;height:27px;border-radius:5px;
  background:#fff;border:1px solid #e2ebe5;
  box-shadow:0 2px 5px rgba(16,40,28,.07);
}
.fmis-cards i::before{
  content:"";position:absolute;left:5px;top:5px;width:9px;height:9px;
  border-radius:3px;background:var(--green-600);
}
.fmis-cards i::after{
  content:"";position:absolute;left:5px;right:5px;bottom:5px;height:6px;
  border-radius:2px;background:#d8efe0;
}
.fmis-table{
  flex:1;display:flex;flex-direction:column;gap:5px;
  border-radius:5px;background:#fff;border:1px solid #e2ebe5;
  padding:7px;min-height:0;
}
.fmis-table b{flex:none;height:10px;border-radius:3px;background:#0e5c34}
.fmis-table i{display:block;height:7px;border-radius:2px;background:#e8f0ea}
.fmis-table i.hl{background:#cfe9da}

/* ---- NearbyHelp mock screenshot ---- */
.nhelp{position:absolute;inset:0;display:flex;flex-direction:column;background:#fff}
.nhelp-nav{height:24px;flex:none;display:flex;align-items:center;gap:6px;padding:0 9px;border-bottom:1px solid #e8eee9}
.nhelp-logo{font:800 8.5px var(--font);color:var(--green-600)}
.nhelp-nav i{width:16px;height:5px;border-radius:3px;background:#dfe7e1}
.nbtn{margin-left:auto;background:var(--green-600);color:#fff;font:700 7.5px var(--font);padding:3px 7px;border-radius:4px}
.nhelp-hero{flex:1;display:flex;gap:9px;padding:10px;min-height:0}
.nhelp-copy{width:44%;flex:none;display:flex;flex-direction:column;gap:6px;justify-content:center}
.nhelp-copy b{display:block}
.nhelp-copy .h{height:11px;width:82%;border-radius:3px;background:var(--green-600)}
.nhelp-copy .h2{height:9px;width:62%;border-radius:3px;background:#cfe8d8}
.nhelp-copy .p{height:5px;width:74%;border-radius:2px;background:#e4eae5}
.nrow{display:flex;gap:6px;margin-top:4px}
.ncta{width:36px;height:13px;border-radius:4px;background:var(--green-600)}
.ncta.o{background:#fff;border:1px solid #cfe0d6}
.nhelp-map{
  flex:1;position:relative;border-radius:6px;overflow:hidden;
  background:
    repeating-linear-gradient(48deg,transparent 0 16px,#ffffff 16px 19px),
    repeating-linear-gradient(-38deg,transparent 0 22px,rgba(255,255,255,.85) 22px 25px),
    linear-gradient(135deg,#e9f0dc,#d8e6c8);
}
.pin{
  position:absolute;width:12px;height:12px;
  border-radius:50% 50% 50% 0;transform:rotate(-45deg);
  border:1.5px solid #fff;box-shadow:0 2px 5px rgba(0,0,0,.28);
}
.pin.p1{background:#e5484d;left:24%;top:28%}
.pin.p2{background:var(--green-600);left:57%;top:52%}
.pin.p3{background:#3b82f6;left:74%;top:24%}
.you{
  position:absolute;left:44%;top:64%;width:9px;height:9px;border-radius:50%;
  background:#1a6ef0;border:2px solid #fff;
  box-shadow:0 0 0 3px rgba(59,130,246,.35);
}

/* ============ CERTIFICATES / EDUCATION / CONTACT ============ */

/* Legacy cert list (unused, kept for safety) */
.certs-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cert{
  display:flex;flex-direction:column;gap:3px;
  border:1px solid var(--line);border-radius:12px;padding:16px;
  transition:.25s;background:var(--card);
}
.cert:hover{
  border-color:#bfe0cc;background:#fbfdfc;
  transform:translateY(-3px);box-shadow:0 12px 24px rgba(13,43,26,.07);
}
.cthumb{
  position:relative;display:block;width:100%;height:86px;border-radius:8px;
  border:1px solid #cfe3d6;background:linear-gradient(#fff,#f3faf6);
  margin-bottom:10px;
}
.cthumb::before{
  content:"";position:absolute;inset:9px 12px;
  border:1px dashed #b6d9c4;border-radius:3px;
}
.cthumb::after{
  content:"";position:absolute;right:8px;bottom:7px;width:14px;height:14px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 32%,#f7d774,#d9a520);
  box-shadow:inset 0 0 0 2px #f6e7b1;
}
.cert-t{font:700 13.5px/1.45 var(--font)}
.cert-d{font:500 12.2px var(--font);color:var(--soft)}
.verify{
  display:inline-flex;align-items:center;gap:5px;
  font:800 12px var(--font);color:var(--green-600);
  transition:.2s;margin-top:10px;align-self:flex-start;
}
.verify .i{width:12px;height:12px}
.verify:hover{transform:translateX(2px)}

/* Education */
.edu-banner{
  display:flex;align-items:center;
  background:linear-gradient(120deg,var(--green-950),var(--green-800) 55%,var(--green-700));
  border-radius:16px;padding:22px 26px;margin-bottom:22px;box-shadow:var(--shadow);
}
.edu-banner-txt h2{font:800 32px/1.1 var(--font);letter-spacing:2.5px;text-transform:uppercase;color:#fff}
.edu-banner-txt p{display:flex;align-items:center;gap:10px;font:600 15px var(--font);color:var(--green-100);margin-top:4px}
.edu-banner-line{display:inline-block;width:90px;height:2px;background:var(--green-bright);border-radius:2px}

.edu-layout{display:grid;grid-template-columns:.94fr 1.06fr;gap:20px;align-items:start}
.edu-right{display:grid;gap:20px}
.edu-card{background:var(--card);border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.25s}
.edu-card:hover{border-color:#bfe0cc;box-shadow:0 12px 26px rgba(13,43,26,.1)}
.edu-card-head{
  display:flex;align-items:center;padding:13px 18px;
  background:linear-gradient(120deg,var(--green-850),var(--green-700));
}
.edu-card-head h3{font:700 17px var(--font);color:#fff;letter-spacing:.4px}
.edu-card-body{padding:12px 14px}

/* Academic Journey timeline */
.edu-timeline{
  position:relative;
  padding:22px 24px 26px 48px;
}
.edu-timeline::before{
  content:"";
  position:absolute;
  left:20px;
  top:0;
  bottom:0;
  width:2px;
  background:var(--green-600);
}
.edu-stage{
  position:relative;
  margin-top:32px;
}
.edu-stage:first-child{
  margin-top:0;
}
.edu-secondary-group{
  position:relative;
  margin-top:32px;
  padding-left:10px;
}
.edu-secondary-group::before{
  content:"";
  position:absolute;
  left:198px;
  top:11px;
  bottom:11px;
  width:2px;
  background:var(--green-600);
  opacity:.75;
}
.edu-secondary-group .edu-stage{margin-top:32px}
.edu-secondary-group .edu-stage:first-child{margin-top:0}
.edu-pill--secondary{
  position:relative;
  z-index:2;
}
.edu-pill--secondary::after{
  content:"";
  position:absolute;
  left:100%;
  top:50%;
  width:16px;
  height:2px;
  background:var(--green-600);
  opacity:.8;
  transform:translateY(-50%);
}
.edu-dot{
  position:absolute;
  left:-33px;
  top:4px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:var(--green-600);
  border:2px solid #fff;
  box-shadow:0 0 0 1px var(--green-600);
  z-index:2;
}
.edu-secondary-group .edu-dot{left:-43px}
.edu-row{
  position:relative;
  display:grid;
  grid-template-columns:160px minmax(0,1fr);
  align-items:stretch;
  gap:16px;
  padding-left:24px;
}
.edu-secondary-group .edu-row{grid-template-columns:180px minmax(0,1fr)}
.edu-row--unlabeled .edu-info{grid-column:2}
.edu-row--secondary-labeled::before,
.edu-row--unlabeled::before{
  content:"";
  position:absolute;
  left:188px;
  top:11px;
  width:18px;
  height:2px;
  background:var(--green-600);
  opacity:.8;
}
.edu-pill{
  font:700 11.5px var(--font);
  color:var(--green-800);
  background:var(--green-100);
  border:1px solid #bfe0cc;
  border-radius:999px;
  padding:2px 10px;
  white-space:nowrap;
  justify-self:start;
  align-self:start;
  margin-top:1px;
}
.edu-info{
  min-width:0;
}
.edu-info--with-image{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  align-items:start;
  gap:18px;
  width:100%;
}
.edu-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.edu-school-photo{
  display:flex;
  flex-direction:column;
  justify-self:stretch;
  align-self:start;
  width:100%;
  max-width:none;
  height:158px;
  flex:none;
  padding:0;
  text-align:left;
  font-family:var(--font);
  cursor:zoom-in;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--green-50);
  box-shadow:0 5px 14px rgba(13,43,26,.1);
  transition:transform .22s ease,box-shadow .22s ease;
}
.edu-school-photo:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(13,43,26,.16)}
.edu-school-photo:focus-visible{outline:3px solid var(--green-600);outline-offset:3px}
.edu-school-photo img{
  width:100%;
  height:124px;
  flex:none;
  object-fit:cover;
  display:block;
}
.edu-photo-hint{
  display:flex;
  align-items:center;
  justify-content:center;
  height:32px;
  flex:none;
  padding:3px 7px;
  color:var(--green-800);
  font:500 10.5px/1.35 var(--font);
  text-align:center;
}
.edu-info h4{
  font:700 16px/1.35 var(--font);
  color:var(--green-800);
  margin-bottom:5px;
}
.edu-info p{
  font:400 13.5px/1.55 var(--font);
  color:var(--muted);
  margin-top:4px;
}
.edu-grade{
  font:600 13px var(--font);
  color:var(--green-600);
}
.edu-years{
  font-weight:700;
  color:var(--green-800);
}

/* Academic Highlights */
.edu-high{list-style:none;padding:16px 18px;display:grid;gap:10px}
.edu-high li{display:flex;align-items:flex-start;gap:10px;font:400 14.5px/1.55 var(--font);color:#2c4133}
.edu-high li .i{width:17px;height:17px;flex:none;margin-top:3px;color:var(--green-600)}
.edu-high b{font-weight:700;color:var(--green-900)}

/* Educational Level Details table */
.edu-table{width:100%;border-collapse:collapse;font:400 14px/1.5 var(--font)}
.edu-table th{
  background:var(--green-800);color:#fff;font:700 14px var(--font);
  padding:11px 14px;text-align:left;letter-spacing:.3px;
}
.edu-table th:first-child{border-radius:8px 0 0 0}
.edu-table th:last-child{border-radius:0 8px 0 0}
.edu-table td{padding:11px 14px;border:1px solid var(--line);background:#fff;color:#2c4133;vertical-align:top}
.edu-table tbody tr:nth-child(even) td{background:var(--green-50)}
.edu-table td:first-child{font-weight:600;color:var(--green-800);white-space:nowrap}
.edu-table td:last-child{white-space:nowrap}

/* Note */
.edu-note{
  display:flex;align-items:flex-start;gap:12px;
  background:var(--green-100);border:1px solid #bfe0cc;border-radius:14px;padding:14px 16px;
}
.edu-note-ico{
  display:grid;place-items:center;width:38px;height:38px;flex:none;
  background:#fff;border-radius:50%;box-shadow:0 2px 6px rgba(13,43,26,.12);
}
.edu-note-ico .i{width:20px;height:20px;color:var(--green-700)}
.edu-note p{font:400 14px/1.6 var(--font);color:#33513f;font-style:italic}
.edu-note b{font-style:normal}

@media (max-width:1020px){.edu-layout{grid-template-columns:1fr}}
@media (max-width:640px){
  .edu-timeline{padding:18px 16px 22px 42px}
  .edu-row{grid-template-columns:minmax(0,1fr);gap:8px;padding-left:16px}
  .edu-secondary-group .edu-row{grid-template-columns:minmax(0,1fr)}
  .edu-row--unlabeled .edu-info{grid-column:1}
  .edu-row--unlabeled .edu-info,
  .edu-row--secondary-labeled .edu-info{padding-left:0}
  .edu-secondary-group::before,
  .edu-row--secondary-labeled::before,
  .edu-row--unlabeled::before{display:none}
  /* re-pin the timeline dots onto the vertical line (line sits at left:20px;
     .edu-timeline padding-left is 42px, so the offset must be -27px to land at x:15) */
  .edu-dot{left:-27px}
  .edu-secondary-group .edu-dot{left:-27px}
  .edu-stage{margin-top:26px}
  .edu-secondary-group{margin-top:26px;padding-left:0}
  .edu-secondary-group .edu-stage{margin-top:26px}
  .edu-secondary-group .edu-stage:first-child{margin-top:0}
  .edu-pill--secondary::after{display:none}
  .edu-info--with-image{
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    width:100%;
  }
  .edu-school-photo{width:100%;max-width:none;height:auto}
  .edu-school-photo img{height:clamp(150px,48vw,220px)}
  .edu-photo-hint{min-height:32px;height:auto}
  .edu-card-body{padding:10px}
  .edu-table,
  .edu-table tbody{display:block;width:100%}
  .edu-table thead{display:none}
  .edu-table tr{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:4px 12px;
    padding:12px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fff;
  }
  .edu-table tr + tr{margin-top:10px}
  .edu-table tbody tr:nth-child(even){background:var(--green-50)}
  .edu-table td{
    display:block;
    padding:0;
    border:0;
    background:transparent!important;
    white-space:normal;
  }
  .edu-table td:first-child{
    grid-column:1;
    white-space:normal;
    font-size:14px;
  }
  .edu-table td:last-child{
    grid-column:2;
    grid-row:1;
    white-space:nowrap;
    align-self:start;
    text-align:right;
    font-size:12px;
  }
  .edu-table td:nth-child(2){
    grid-column:1 / -1;
    color:var(--muted);
    font-size:13px;
    line-height:1.45;
    overflow-wrap:anywhere;
  }
  .school-photo-panel{width:96vw;height:88vh;padding:14px}
  .school-photo-panel .modal-x{right:8px;top:8px}
}

/* Contact — dark section with a subtle wave background */
#contact.page{
  color:#fff;
  min-height:0;
  padding:clamp(56px,8vh,88px) 0 clamp(78px,10vh,104px);
  background:
    radial-gradient(760px 480px at 86% 24%,rgba(43,198,95,.05),transparent 62%),
    linear-gradient(135deg,#04100a 0%,#051710 55%,#030b07 100%);
  overflow:hidden;
}
#contact.page::before,#contact.page::after{color:rgba(233,255,242,.55)}
.contact-bg{position:absolute;inset:0;z-index:0;pointer-events:none}
/* Ambient motion: the whole wave field sways sideways while each line bobs
   on its own rhythm, so the background never reads as a static texture. */
.contact-bg svg{width:calc(100% + 96px);height:100%;display:block;animation:waveSway 14s ease-in-out infinite alternate}
.contact-bg path{animation:waveBob 7s ease-in-out infinite alternate}
.contact-bg path:nth-child(2){animation-duration:9s;animation-delay:-2s}
.contact-bg path:nth-child(3){animation-duration:6s;animation-delay:-4s}
.contact-bg path:nth-child(4){animation-duration:8s;animation-delay:-1s}
.contact-bg path:nth-child(5){animation-duration:10s;animation-delay:-3s}
.contact-bg path:nth-child(6){animation-duration:7.5s;animation-delay:-5s}
.contact-bg path:nth-child(7){animation-duration:9.5s;animation-delay:-2.5s}
@keyframes waveSway{from{transform:translateX(0)}to{transform:translateX(-48px)}}
@keyframes waveBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}

.contact-grid{
  position:relative;z-index:1;
  display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,1fr);
  gap:clamp(32px,5vw,72px);align-items:center;
}
.contact-info{width:100%;max-width:680px}
.contact-title{font:800 44px/1.1 var(--font);letter-spacing:-.5px;color:#fff}
.contact-title span{color:var(--green-bright)}
.contact-lead{margin:12px 0 20px;max-width:460px;font:400 16px/1.7 var(--font);color:#a9beb2}

.c-row{
  display:flex;align-items:center;gap:14px;
  padding:10px 0;margin-bottom:6px;
  transition:transform .2s;
}
.c-row:hover{transform:translateX(4px)}
.c-ico{
  width:52px;height:52px;flex:none;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,rgba(255,255,255,.08),rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.14);
  color:var(--green-bright);
  box-shadow:0 10px 22px rgba(0,0,0,.35);
  transition:border-color .2s,transform .2s,background .2s,box-shadow .2s;
}
.c-ico .i{width:22px;height:22px;transition:transform .25s}
.c-ico--gh{color:#f2fbf5}
.c-meta b{display:block;font:700 15.5px/1.3 var(--font);color:#fff;transition:color .2s}
.c-meta small{display:block;margin-top:2px;font:400 13.5px/1.4 var(--font);color:#a7bcb0;word-break:break-word}
.c-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.c-action{
  display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 13px;
  border:1px solid rgba(43,198,95,.32);border-radius:8px;
  background:rgba(43,198,95,.08);color:#dff8e7;
  font:600 12px/1.2 var(--font);transition:background .2s,border-color .2s,color .2s;
}
.c-action:hover{border-color:var(--green-bright);background:rgba(43,198,95,.18);color:#fff}
.c-action:focus-visible{outline:2px solid var(--green-bright);outline-offset:3px}
.c-row:hover .c-ico{
  border-color:rgba(43,198,95,.28);
  background:linear-gradient(145deg,rgba(43,198,95,.12),rgba(43,198,95,.03));
  transform:translateY(-3px);
  box-shadow:0 14px 26px rgba(0,0,0,.4);
}
.c-row:hover .c-ico .i{transform:scale(1.15)}
.c-row:hover .c-meta b{color:var(--green-bright)}

/* Contact art — paper planes + envelope, gently floating */
.contact-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:400px}
.env{width:min(360px,92%);transform:rotate(4deg);animation:envFloat 6s ease-in-out infinite}
.plane{position:absolute;z-index:2;filter:drop-shadow(0 10px 18px rgba(0,0,0,.35))}
.plane--a{top:2%;right:3%;width:100px;transform:rotate(-6deg);animation:planeFlyA 7s ease-in-out infinite}
.plane--b{top:13%;right:31%;width:62px;transform:rotate(-16deg);animation:planeFlyB 4.5s ease-in-out infinite}
@keyframes envFloat{
  0%,100%{transform:rotate(4deg) translateY(0)}
  50%{transform:rotate(5.5deg) translateY(-10px)}
}
@keyframes planeFlyA{
  0%,100%{transform:rotate(-6deg) translate(0,0)}
  50%{transform:rotate(-2deg) translate(-12px,-12px)}
}
@keyframes planeFlyB{
  0%,100%{transform:rotate(-16deg) translate(0,0)}
  50%{transform:rotate(-9deg) translate(12px,-10px)}
}
@media (max-width:1240px){
  .contact-grid{grid-template-columns:minmax(0,1.1fr) minmax(300px,.9fr);gap:32px}
  .contact-info{
    display:flex;flex-direction:column;align-items:center;
    max-width:620px;margin-inline:auto;text-align:center;
  }
  .contact-lead{margin-inline:auto}
  .contact-info .c-row{width:min(100%,440px);text-align:left}
  .contact-art{min-height:320px}
  .env{width:min(320px,92%)}
  .plane--a{width:84px}
  .plane--b{width:52px}
}
@media (max-width:860px){
  #contact.page{padding:52px 0 82px}
  .contact-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .contact-info{max-width:620px}
  .contact-art{min-height:clamp(230px,58vw,340px)}
  .env{width:min(340px,78vw)}
  .plane--a{top:0;right:12%;width:72px}
  .plane--b{top:10%;right:35%;width:46px}
}
@media (max-width:520px){
  #contact.page{padding:42px 0 76px}
  .contact-title{font-size:32px}
  .contact-lead{margin-bottom:14px;font-size:14px}
  .contact-info .c-row{width:100%;padding:7px 0;margin-bottom:3px}
  .contact-art{min-height:230px}
  .env{width:min(290px,78vw)}
  .plane--a{right:7%;width:58px}
  .plane--b{right:29%;width:38px}
}

/* ============ PROJECT GALLERY ============ */
.p-head-wrap{flex-wrap:wrap}
.count-pill{
  font:700 12px var(--font);color:var(--green-700);
  background:#e4f4e9;border:1px solid #c9e7d4;
  padding:5px 12px;border-radius:999px;letter-spacing:.3px;
}
.proj-filters{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}
.fchip{
  border:1px solid #d5e2d8;background:var(--card);color:#54685c;
  font:700 12px var(--font);padding:7px 14px;border-radius:999px;
  cursor:pointer;transition:.2s;
}
.fchip:hover{border-color:#a9d5b8;color:var(--green-700);transform:translateY(-1px)}
.fchip.active{
  background:linear-gradient(180deg,var(--green-500),#149344);
  border-color:transparent;color:#fff;
  box-shadow:0 6px 14px rgba(23,146,68,.3);
}
.p-lead{font:400 14.5px/1.65 var(--font);color:var(--muted);margin:-10px 0 16px;max-width:760px}
.proj-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pcard{
  display:flex;align-items:stretch;gap:12px;text-align:left;width:100%;
  border:1px solid var(--line);border-radius:14px;padding:10px;
  background:var(--card);cursor:pointer;transition:.22s;min-height:132px;
  font-family:var(--font);
}
.pcard:hover{transform:translateY(-3px);border-color:#a9d5b8;box-shadow:0 14px 28px rgba(13,43,26,.12)}
.pcard-shot{
  width:134px;flex:none;border-radius:9px;overflow:hidden;
  background:#0b2f1d;border:1px solid #dfe9e2;
}
.pcard-shot img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.pcard-body{display:flex;flex-direction:column;min-width:0;padding:2px 0}
.pcard-type{font:700 11px var(--font);color:var(--green-600);letter-spacing:.5px;text-transform:uppercase}
.pcard-title{
  font:700 14.5px/1.35 var(--font);color:var(--ink);margin-top:4px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.pcard-tags{margin-top:auto;padding-top:6px;font:500 11px var(--font);color:#8ba092;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ============ CERTIFICATE GALLERY ============ */
.cert-tabs{display:flex;gap:4px;margin-left:auto;background:#e9f1e9;border:1px solid #dde8de;padding:4px;border-radius:999px}
.ctab{
  border:0;background:transparent;color:#54685c;cursor:pointer;
  font:700 12.5px var(--font);padding:7px 15px;border-radius:999px;transition:.2s;
}
.ctab b{font-weight:800;color:var(--green-600);margin-left:3px}
.ctab.active{background:var(--card);color:var(--ink);box-shadow:0 2px 8px rgba(13,43,26,.12)}
.cert-filters{display:flex;gap:6px;flex-wrap:wrap;margin:-6px 0 14px}
.cert-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ccard{
  display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);
  border-radius:12px;padding:7px;background:var(--card);cursor:pointer;transition:.22s;
  font-family:var(--font);min-width:0;
}
.ccard:hover{transform:translateY(-3px);border-color:#a9d5b8;box-shadow:0 14px 28px rgba(13,43,26,.12)}
.ccard-thumb{
  height:auto;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#f2f7f2;
  border:1px solid #e0ebe2;display:grid;place-items:center;
}
.ccard-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.ccard-title{
  font:700 12.5px/1.35 var(--font);margin-top:7px;color:var(--ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:34px;
}
.ccard-meta{display:flex;justify-content:space-between;gap:6px;margin-top:4px;font:500 10.5px var(--font);color:#8ba092;white-space:nowrap;overflow:hidden}
.ccard-meta span{overflow:hidden;text-overflow:ellipsis}
.ccard-cat{color:var(--green-600);font-weight:700}
.cert-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}
.cert-range{font:500 12.5px var(--font);color:#7c8d81}
.pager{display:flex;align-items:center;gap:14px}
.pager-btn{
  width:54px;height:54px;border-radius:16px;border:0;
  background:linear-gradient(180deg,var(--green-500),#149344);color:#fff;
  font:800 26px/1 var(--font);cursor:pointer;transition:.2s;
  display:grid;place-items:center;line-height:1;
  box-shadow:0 10px 22px rgba(23,146,68,.35);
}
.pager-btn:hover:not(:disabled){transform:translateY(-3px);filter:brightness(1.08);box-shadow:0 14px 26px rgba(23,146,68,.42)}
.pager-btn:focus-visible{outline:3px solid rgba(29,180,87,.5);outline-offset:2px}
.pager-btn:disabled{opacity:.28;cursor:default;box-shadow:none}
.pager-count{
  font:800 15px var(--font);color:var(--ink);min-width:60px;text-align:center;
  background:var(--card-soft);border:1px solid var(--line);
  padding:10px 14px;border-radius:12px;
}
.badge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.bcard{
  display:flex;flex-direction:column;align-items:center;text-align:center;gap:11px;
  border:1px solid var(--line);border-radius:14px;padding:20px 12px;background:var(--card);
  cursor:pointer;transition:.22s;font-family:var(--font);min-width:0;
}
.bcard:hover{transform:translateY(-3px);border-color:#a9d5b8;box-shadow:0 14px 28px rgba(13,43,26,.12)}
.bcard img{width:122px;height:122px;object-fit:contain;display:block}
.bcard span{font:700 11.5px/1.4 var(--font);color:#33463c;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* ============ DETAIL MODALS (solid panel, no glass) ============ */
.modal{position:fixed;inset:0;z-index:1000;display:none}
.modal.open{display:block}
.modal-backdrop{position:absolute;inset:0;background:rgba(4,18,10,.92)}
.modal.open .modal-backdrop{animation:fadeIn .3s ease}
.modal.open .modal-panel{animation:modalIn .3s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes modalIn{from{opacity:0;transform:translate(-50%,-50%) scale(.97)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
.modal-panel{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(1400px,92vw);height:min(92vh,960px);
  background:rgba(8,32,20,.97);
  border-radius:22px;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  color:#eaf6ee;
  display:grid;grid-template-columns:1.4fr .6fr;overflow:hidden;
}
.modal-x{
  position:absolute;right:16px;top:16px;z-index:5;width:42px;height:42px;border-radius:50%;
  border:1px solid rgba(255,255,255,.25);background:rgba(8,32,20,.85);color:#fff;cursor:pointer;display:grid;place-items:center;
  transition:.2s;
}
.modal-x:hover{background:var(--green-600);transform:rotate(90deg)}
.modal-x .i{width:18px;height:18px}
.pm-gallery{background:transparent;display:flex;flex-direction:column;min-height:0}
.pm-main{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:8px 12px 4px}
.pm-main img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:10px;box-shadow:0 20px 50px rgba(0,0,0,.45);background:#fff}
.pm-main img.pm-fade{animation:pmFade .4s ease}
@keyframes pmFade{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
.pm-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;
  border:1px solid rgba(255,255,255,.28);background:rgba(4,26,14,.55);color:#fff;
  font:400 26px/1 var(--font);cursor:pointer;display:grid;place-items:center;transition:.2s;
}
.pm-nav:hover{background:var(--green-600)}
.pm-nav.prev{left:24px}
.pm-nav.next{right:24px}
.pm-counter{position:absolute;right:24px;bottom:14px;background:rgba(0,0,0,.45);color:#e6f6ec;font:600 11.5px var(--font);padding:5px 10px;border-radius:999px}
.pm-thumbs{flex:none;display:flex;gap:6px;padding:6px 12px 10px;overflow-x:auto}
.pm-thumbs button{width:70px;height:48px;flex:none;border-radius:6px;overflow:hidden;border:2px solid transparent;background:rgba(255,255,255,.1);padding:0;cursor:pointer;opacity:.7;transition:.2s}
.pm-thumbs button.active{border-color:var(--green-bright);opacity:1}
.pm-thumbs img{width:100%;height:100%;object-fit:cover;display:block}
.pm-info{padding:24px 24px 28px;overflow-y:auto;min-height:0}
.pm-title{font:800 24px/1.3 var(--font);margin:8px 0 10px;color:#fff}
.pm-desc{font:400 15px/1.75 var(--font);color:#d2e7da}
.pm-tags{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 4px}
.pm-tags span{font:700 11.5px var(--font);color:#9beabb;background:rgba(43,198,95,.16);border:1px solid rgba(43,198,95,.4);padding:5px 10px;border-radius:999px}
.pm-block{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.16)}
.pm-block h4{font:800 12.5px var(--font);letter-spacing:.7px;text-transform:uppercase;color:var(--green-bright);margin-bottom:6px}
.pm-block p{font:400 14.5px/1.75 var(--font);color:#b9d6c4}
.pm-block ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px}
.pm-block li{font:400 14.5px/1.65 var(--font);color:#b9d6c4;padding-left:2px}

.cert-panel{grid-template-columns:1.55fr .45fr;background:transparent}
.cm-image{background:transparent;display:grid;place-items:center;padding:22px;min-height:0}
.cm-image img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px;box-shadow:0 16px 40px rgba(0,0,0,.45);background:#fff}
.cm-info{padding:34px 30px;overflow-y:auto;min-height:0;background:transparent}
.cm-org{font:600 15px var(--font);color:#dcf0e3;margin-top:12px}
.cm-date{font:500 13.5px var(--font);color:#a9cbb6;margin-top:4px}
.cm-info .btn{margin-top:18px}
.cm-note{font:400 12.5px/1.65 var(--font);color:#a9cbb6;margin-top:10px}
.school-photo-panel{
  display:flex;
  align-items:center;
  justify-content:center;
  width:96vw;
  height:94vh;
  height:94dvh;
  padding:48px 24px 24px;
  border:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}
.school-photo-full{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 24px 70px rgba(0,0,0,.55);
  background:transparent;
}
@media (max-width:640px){
  .school-photo-panel{
    width:100vw;
    height:100vh;
    height:100dvh;
    padding:58px 12px 12px;
    border-radius:0;
  }
  .school-photo-panel .modal-x{right:12px;top:10px}
}

/* ============ FOOTER ============ */
footer{color:#cfe3d8;background:linear-gradient(135deg,#0b3f26,#06281a 60%,#052415)}
.f-top{display:flex;align-items:center;justify-content:center;gap:24px;padding:28px 0;flex-wrap:wrap}
.f-brand{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center}
.f-mark{
  width:44px;height:44px;border-radius:12px;object-fit:cover;object-position:center 18%;
  display:block;background:var(--green-950);
  box-shadow:0 0 0 1px rgba(255,255,255,.06);
}
.f-brand b{display:block;color:#fff;font:700 16px var(--font)}
.f-brand span{display:block;font:500 12.5px var(--font);color:#8fbfa5;margin-top:1px}
.f-bottom{
  display:flex;align-items:center;justify-content:center;gap:8px 18px;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.08);
  padding:15px 0;text-align:center;font:400 13px var(--font);color:#93bda4;
}
.hearty{color:var(--green-bright)}
.hearty .i{width:13px;height:13px;display:inline-block;vertical-align:-2px}

/* ============ TOASTS ============ */
#toasts{
  position:fixed;right:18px;bottom:18px;z-index:300;
  display:flex;flex-direction:column;gap:10px;
}
.toast{
  background:#0e3520;color:#eafff2;padding:13px 17px;border-radius:12px;
  font:500 14px var(--font);box-shadow:0 14px 34px rgba(0,0,0,.35);
  max-width:340px;animation:pop .3s both;transition:.35s;
}
.toast.err{background:#6d1f1f}

/* ============ ANIMATIONS ============ */
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes pop{from{opacity:0;transform:translateY(10px)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}
/* Staggered reveal — animates opacity/transform only (compositor-friendly, no jank) */
.js .reveal{opacity:0}
.js .reveal.in{animation:fadeUp .65s cubic-bezier(.22,.61,.36,1) var(--d,0s) both}

/* ============ RESPONSIVE ============ */
@media (max-width:1060px){
  .about-grid{grid-template-columns:minmax(260px,320px) 1fr;gap:20px}
  .about-more-grid{grid-template-columns:1fr}
  .about-head h2{font-size:38px}
  .proj-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:860px){
  html{scroll-snap-type:none}
  .page{padding:48px 0 80px}
  .sk-band{grid-template-columns:1fr;gap:24px}
  .sk-pro{border-left:0;border-top:1px solid rgba(255,255,255,.12);padding:22px 0 0}
  .sk-chips{max-width:none}
  .certs-grid{grid-template-columns:1fr}
  .edu-banner{padding:18px 20px}
  .edu-banner-txt h2{font-size:24px}
  .contact-grid{grid-template-columns:1fr;gap:0}
  .contact-title{font-size:34px}
  .about-grid{grid-template-columns:1fr}
  .about-photo{max-width:380px;margin-inline:auto}
}
@media (max-width:780px){
  .xp-list{padding-left:34px}
  .xp-list::before{left:9px}
  .xp{grid-template-columns:56px minmax(0,1fr);gap:8px 12px;padding:12px}
  .xp-rail{left:-32px}
  .xp-mark{width:56px;height:48px}
  .xp-when{grid-column:2;justify-self:start;min-width:0;margin-top:2px}
  .projects-grid{grid-template-columns:1fr}
  .proj-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .badge-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .modal-panel{
    left:50%;
    top:50%;
    width:min(680px,calc(100vw - 24px));
    height:min(900px,calc(100vh - 24px));
    height:min(900px,calc(100dvh - 24px));
    max-height:none;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(220px,42vh) minmax(0,1fr);
    grid-template-rows:minmax(220px,42dvh) minmax(0,1fr);
    overflow:hidden;
    border-radius:18px;
  }
  .pm-gallery{
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    min-width:0;
    min-height:0;
  }
  .pm-main{
    height:auto;
    min-width:0;
    min-height:0;
    padding:48px 48px 8px;
  }
  .pm-main img{
    width:100%;
    height:100%;
    min-width:0;
    min-height:0;
    object-fit:contain;
  }
  .pm-thumbs{
    max-width:100%;
    padding:6px 12px 10px;
    touch-action:pan-x;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .pm-thumbs::-webkit-scrollbar{display:none}
  .pm-info{
    min-width:0;
    min-height:0;
    padding:20px 18px 26px;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    overflow-wrap:anywhere;
    -webkit-overflow-scrolling:touch;
  }
  .pm-title{overflow-wrap:anywhere}
  .pm-desc,.pm-block p,.pm-block li{overflow-wrap:anywhere}
  .pm-tags{min-width:0}
  .pm-tags span{max-width:100%;overflow-wrap:anywhere}
  .pm-block ol{padding-left:18px}
  .modal-panel .modal-x{right:10px;top:10px}
  .cert-panel{grid-template-columns:1fr}
  .cm-image{padding:18px;min-height:0}
  .cm-image img{max-height:46vh}
}
@media (max-width:1200px){
  .sv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .hero-name{font-size:48px;letter-spacing:-1.6px}
  .hero-tagline{font-size:20px}
  .hero-copy{width:70%}
  .hero-portrait{right:10px;width:48%}
  .hero-stat{padding-inline:14px;column-gap:9px}
}
@media(max-width:900px){
  .tech{grid-template-columns:1fr;gap:14px;align-items:start}
  .tech-copy .tech-lead{max-width:520px}
}
@media (max-width:640px){
  .sv-grid{grid-template-columns:1fr}
  .sk-extra{margin-top:36px;padding-top:26px}
  .tech{padding-top:0;border-top:0}
  .approach-title{font-size:25px}
  .ap-steps{grid-template-columns:1fr;gap:10px}
  .ap-arrow{transform:rotate(90deg)}
  .ap-step{padding:18px}
  .h-inner{height:68px;min-height:68px;flex-direction:row;justify-content:center;gap:8px;padding:0}
  .brand{position:absolute;left:50%;width:auto;justify-content:center;transform:translateX(-50%)}
  #backToTop{right:16px;bottom:calc(16px + env(safe-area-inset-bottom));width:46px;height:46px}
  .container{width:min(1800px,100% - 32px)}
  .page{padding:40px 0 76px}
  #home.page{padding:28px 0 76px}
  .hero-sheet{min-height:0;gap:18px}
  .hero-inner{display:flex;flex-direction:column;align-items:stretch;min-height:0}
  .hero-copy{
    display:flex;flex-direction:column;align-items:center;
    width:100%;max-width:none;padding-top:10px;text-align:center;
  }
  .role{margin-inline:auto}
  .hero-name{font-size:38px;letter-spacing:-1.2px}
  .hero-name-intro{font-size:22px}
  .hero-name-line{max-width:100%;text-align:center;text-wrap:balance}
  .hero-tagline{max-width:420px;margin-inline:auto;font-size:19px}
  .bio{max-width:460px;margin-inline:auto}
  .hero-actions{
    display:grid;grid-template-columns:minmax(0,1fr);
    width:100%;max-width:340px;margin-inline:auto;justify-content:center;gap:10px;
  }
  .hero-actions .btn{width:100%}
  .hero-portrait{
    position:relative;right:auto;bottom:auto;align-self:center;
    width:min(100%,420px);height:auto;aspect-ratio:1106 / 1422;max-height:none;
    margin-top:14px;opacity:1;
  }
  .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:-18px}
  .hero-stat{min-height:100px;padding:12px 15px}
  .hero-stat strong{font-size:29px}
  .hero-stat:nth-child(2){border-right:0}
  .hero-stat:nth-child(-n+2){border-bottom:1px solid rgba(176,231,193,.14)}
  .page::before{left:20px;bottom:22px}
  .page::after{right:20px;bottom:22px}
  .sk-rings{gap:24px 12px}
  .sk-pro{padding-top:18px}
  .sk-chips{padding:14px}
  .project{grid-template-columns:1fr}
  .shot{height:180px}
  .proj-filters,.cert-tabs{margin-left:0;width:100%}
  .p-lead{margin-top:-4px}
  .pm-title{font-size:20px}
  .pm-info{padding:18px 14px 24px}
  .pager-btn{width:48px;height:48px;font-size:22px}
}
@media (max-width:520px){
  .about-head h2{font-size:32px}
  .about-info{padding:26px 22px}
  .about-photo{max-width:340px;margin-inline:auto}
  .about-more-grid{grid-template-columns:1fr}
  .about-interests,.about-detail-card{padding:18px 16px}
  .about-interest-tags span{white-space:normal}
  .about-quote{flex-direction:column;gap:6px;padding:16px}
  .about-quote-break{display:none}
  .about-quote cite{margin-left:0}
  .sk-head h2{font-size:28px}
  .sk-rings{gap:24px 18px}
  .ring{width:74px}
  .ring-fig{width:62px;height:62px}
  .sk-chips{padding:16px}
  .proj-gallery{grid-template-columns:1fr}
  .p-head-wrap{gap:10px}
  .p-head-wrap h2{font-size:27px}
  .proj-filters{
    width:100%;
    margin:2px 0 0;
    justify-content:space-between;
    flex-wrap:nowrap;
    gap:6px;
  }
  .proj-filters .fchip{
    flex:1 1 auto;
    min-width:0;
    padding:8px 7px;
    text-align:center;
  }
  .proj-gallery{gap:10px}
  .pcard{
    min-height:0;
    flex-direction:column;
    gap:10px;
    padding:10px;
  }
  .pcard-shot{
    width:100%;
    max-width:none;
    min-width:0;
    height:clamp(170px,56vw,230px);
    min-height:0;
    flex:none;
  }
  .pcard-shot img{
    object-fit:contain;
    object-position:center;
    background:#fff;
  }
  .pcard-body{gap:2px}
  .pcard-type{overflow-wrap:anywhere}
  .pcard-title{
    font-size:14px;
    display:block;
    -webkit-line-clamp:unset;
    overflow:visible;
    overflow-wrap:anywhere;
    margin-top:3px;
  }
  .pcard-tags{
    margin-top:2px;
    padding-top:2px;
    white-space:normal;
    display:block;
    overflow:visible;
    overflow-wrap:anywhere;
    line-height:1.35;
  }
  .cert-grid{grid-template-columns:1fr}
  .badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bcard img{width:110px;height:110px}
  .f-top{justify-content:center;text-align:center}
  .f-bottom{flex-direction:column}
  .pm-thumbs{padding:8px 12px 14px}
  .modal-panel{
    width:calc(100vw - 16px);
    height:calc(100vh - 16px);
    height:calc(100dvh - 16px);
    grid-template-rows:minmax(190px,38vh) minmax(0,1fr);
    grid-template-rows:minmax(190px,38dvh) minmax(0,1fr);
    border-radius:14px;
  }
  .pm-main{padding:44px 40px 6px}
  .pm-nav{width:36px;height:36px;font-size:22px}
  .pm-nav.prev{left:8px}
  .pm-nav.next{right:8px}
  .pm-counter{right:10px;bottom:8px}
  .pm-info{padding:16px 14px 22px}
  .pm-title{font-size:19px}
  .pm-desc{font-size:14px;line-height:1.6}
  .pm-block{margin-top:14px;padding-top:12px}
  .pm-block h4{font-size:12px}
  .pm-block p,.pm-block li{font-size:13.5px;line-height:1.6}
}
@media (min-width:1200px){
  .xp-list{max-width:none}
  .cert-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media (max-height:880px) and (min-width:1061px){
  .page{padding:48px 0 76px}
  .page::before,.page::after{bottom:24px}
  .p-head{margin-bottom:18px}
  .p-lead{margin:-10px 0 12px}
  .proj-gallery{gap:10px}
  .pcard{min-height:124px}
  .pcard-shot{width:118px}
  .cert-filters{margin:-4px 0 10px}
  .cert-grid{gap:12px}
  .ccard{padding:6px}
  .ccard-thumb{aspect-ratio:4/3}
  .ccard-title{font-size:12px;min-height:32px;margin-top:6px}
  .cert-foot{margin-top:12px}
  .badge-grid{gap:12px}
  .bcard{padding:16px 10px}
  .bcard img{width:108px;height:108px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .js .reveal{opacity:1!important;transform:none!important}
  .tech-row{overflow-x:auto}
}


/* ============ WEBSITE STATS ============ */
#webstats.page{
  background:
    radial-gradient(900px 520px at 8% -8%,rgba(34,197,94,.10),transparent 62%),
    radial-gradient(760px 460px at 102% 18%,rgba(16,185,129,.08),transparent 60%),
    var(--bg-alt);
}
.ws-page .sheet{position:relative}
.ws-head{margin-bottom:26px}
.ws-eyebrow{
  display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;
  font:700 10.5px/1 var(--font);letter-spacing:2px;text-transform:uppercase;color:#15803d;
}
.ws-eyebrow-dot{
  width:7px;height:7px;border-radius:50%;background:#22c55e;
  box-shadow:0 0 0 4px rgba(34,197,94,.14);
  animation:ws-pulse 1.8s ease-in-out infinite;
}
.ws-head h2{font:800 44px/1.08 var(--font);letter-spacing:-1.1px;color:#0b3f26}
.ws-head h2 span{color:#16a34a}
.ws-head p{margin-top:9px;max-width:620px;font:400 15.5px/1.65 var(--font);color:#5a7162}
@keyframes ws-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.72)}}

.ws-grid{
  display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr);
  gap:20px;align-items:stretch;
}
.ws-card{
  display:flex;flex-direction:column;min-width:0;
  background:#fff;border:1px solid #d9e9de;border-radius:20px;overflow:hidden;
  box-shadow:0 22px 54px rgba(9,38,21,.13);
  transition:transform .25s,box-shadow .25s;
}
.ws-card:hover{transform:translateY(-2px);box-shadow:0 28px 64px rgba(9,38,21,.18)}
.ws-bar{
  position:relative;display:flex;align-items:center;gap:10px;padding:13px 16px;min-height:54px;
  background:linear-gradient(115deg,#083a20 0%,#0b4a2a 55%,#0f5c34 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.ws-bar::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.07),transparent 55%);
}
.ws-bar-ico{
  position:relative;z-index:1;display:grid;place-items:center;flex:none;
  width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.12);color:#d8ffe6;
}
.ws-bar-ico .i{width:17px;height:17px}
.ws-bar h3{position:relative;z-index:1;font:700 14.5px/1 var(--font);letter-spacing:.2px;color:#fff;white-space:nowrap}
.ws-live{
  position:relative;z-index:1;margin-left:auto;display:inline-flex;align-items:center;gap:7px;
  padding:6px 11px;border:1px solid rgba(255,255,255,.26);border-radius:999px;
  background:rgba(255,255,255,.10);
  font:700 9.5px/1 var(--font);letter-spacing:1.5px;text-transform:uppercase;color:#eafff2;
}
.ws-live-dot{
  width:6px;height:6px;border-radius:50%;background:#5ef08a;flex:none;
  box-shadow:0 0 0 3px rgba(94,240,138,.18),0 0 8px rgba(94,240,138,.8);
  animation:ws-pulse 1.6s ease-in-out infinite;
}

/* period dropdown */
.ws-period{
  position:relative;z-index:1;margin-left:auto;display:inline-flex;align-items:center;gap:7px;
  padding:6px 9px 6px 10px;border:1px solid rgba(255,255,255,.24);border-radius:999px;
  background:rgba(255,255,255,.10);color:#eafff2;cursor:pointer;
}
.ws-period .i{width:13px;height:13px;opacity:.85}
.ws-period select{
  appearance:none;-webkit-appearance:none;border:0;background:transparent;color:#fff;
  padding:0 2px;font:600 11.5px/1 var(--font);cursor:pointer;outline:none;
}
.ws-period select option{color:#0b3f26;background:#fff}
.ws-period-chev{width:12px!important;height:12px!important;opacity:.8!important}
.ws-period:focus-within{outline:2px solid rgba(94,240,138,.7);outline-offset:2px}

/* live feed */
.ws-feed-body{flex:1;display:flex;flex-direction:column;background:#fbfdfb}
.ws-list{
  list-style:none;margin:0;padding:2px 0;flex:0 0 auto;
  display:flex;flex-direction:column;background:#fbfdfb;
}
.ws-feed-empty{
  flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:4px;min-height:120px;padding:24px 20px;text-align:center;
  border-top:1px dashed #e2efe6;
  background:radial-gradient(circle at 50% 42%,rgba(34,197,94,.075),transparent 62%),#fbfdfb;
}
.ws-feed-empty.is-hidden{display:none}
.ws-feed-empty-ico{
  display:grid;place-items:center;width:44px;height:44px;margin-bottom:4px;border-radius:50%;
  border:1px solid #d3ecd9;background:#e9f8ee;color:#16a34a;
  box-shadow:0 0 0 8px rgba(34,197,94,.05);
  animation:ws-breathe 2.4s ease-in-out infinite;
}
.ws-feed-empty-ico .i{width:20px;height:20px}
@keyframes ws-breathe{
  0%,100%{transform:scale(1);box-shadow:0 0 0 8px rgba(34,197,94,.05)}
  50%{transform:scale(1.06);box-shadow:0 0 0 12px rgba(34,197,94,.03)}
}
.ws-feed-empty p{font:700 12px/1.3 var(--font);color:#3e5b49}
.ws-feed-empty small{max-width:290px;font:400 10.5px/1.45 var(--font);color:#8aa192}
.ws-row{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:11px;align-items:center;
  padding:11px 16px;border-bottom:1px solid #edf4ef;transition:background .2s;
}
.ws-row:hover{background:#f4faf6}
.ws-row:last-child{border-bottom:0}
.ws-row.is-new{animation:ws-row-in .55s cubic-bezier(.22,.61,.36,1) both}
@keyframes ws-row-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.ws-flag{
  display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;
  overflow:hidden;background:#eef7f0;border:1px solid #dcebe0;
  box-shadow:inset 0 0 0 2px #fff;
}
.ws-flag img{
  display:block;width:24px;height:16px;border-radius:2px;object-fit:contain;
  background:#fff;box-shadow:0 1px 2px rgba(15,43,27,.2);
}
.ws-flag .i{width:17px;height:17px;color:#8fb69d}
.ws-row-main{min-width:0}
.ws-row p{margin:0;font:400 12.8px/1.45 var(--font);color:#4d6457}
.ws-row p b{color:#102c1c;font-weight:700}
.ws-row p .ws-page{color:#15803d;font-weight:700}
.ws-cc{
  display:inline-block;margin-left:3px;padding:2px 5px;border-radius:5px;
  border:1px solid #ccebd6;background:#e7f7ec;color:#15803d;
  font:700 8.5px/1 var(--font);letter-spacing:.5px;vertical-align:1px;
}
.ws-time{display:inline-flex;align-items:center;gap:5px;margin-top:3px;font:500 10.8px/1 var(--font);color:#8aa192}
.ws-time .i{width:11px;height:11px;opacity:.8}
.ws-time time{font-variant-numeric:tabular-nums}
.ws-status{
  display:inline-flex;align-items:center;gap:5px;padding:5px 9px;border-radius:999px;
  border:1px solid #ccebd6;background:#e9f9ee;color:#15803d;
  font:600 10.5px/1 var(--font);white-space:nowrap;
}
.ws-status .i{width:12px;height:12px}
.ws-foot{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:10px 16px;background:#f4faf5;border-top:1px solid #e8f1eb;
  font:600 11px/1.4 var(--font);color:#5c7365;
}
.ws-foot-live{display:inline-flex;align-items:center;gap:7px}
.ws-foot-live .i{width:13px;height:13px;color:#16a34a}

/* stat cards */
.ws-stats-body{flex:1;display:flex;flex-direction:column;gap:14px;padding:16px;background:#fbfdfb}
.ws-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.ws-tile{
  position:relative;display:flex;flex-direction:column;min-width:0;
  padding:13px 12px 12px;border-radius:14px;border:1px solid #d9ecdf;
  background:linear-gradient(155deg,#f5fbf7 0%,#e9f6ee 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 4px 12px rgba(10,40,22,.04);
  transition:transform .2s,box-shadow .2s;
}
.ws-tile:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(10,40,22,.09)}
.ws-tile-ico{
  display:grid;place-items:center;width:30px;height:30px;margin-bottom:10px;
  border-radius:9px;background:#dff3e6;color:#15803d;
}
.ws-tile-ico .i{width:16px;height:16px}
.ws-tile b{
  font:800 clamp(18px,1.55vw,24px)/1 var(--font);letter-spacing:-.7px;
  color:#0b3f26;font-variant-numeric:tabular-nums;white-space:nowrap;
}
.ws-tile-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin-top:6px}
.ws-tile-label{font:600 10.5px/1.2 var(--font);color:#6b8174;white-space:nowrap}
.ws-trend{
  display:inline-flex;align-items:center;gap:1px;flex:none;align-self:flex-end;
  padding:4px 6px;border-radius:999px;border:1px solid #c9ebd3;background:#e2f7e8;
  font:700 9.5px/1 var(--font);color:#16a34a;
}
.ws-trend .i{width:9px;height:9px}
.ws-trend--live{gap:4px}
.ws-trend-dot{
  width:5px;height:5px;border-radius:50%;background:#16a34a;flex:none;
  animation:ws-pulse 1.6s ease-in-out infinite;
}

/* chart */
.ws-chart-card{
  flex:1;display:flex;flex-direction:column;padding:14px 14px 10px;
  border:1px solid #e1eee5;border-radius:16px;background:#fff;
  box-shadow:0 6px 18px rgba(10,40,22,.04);
}
.ws-chart-head{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.ws-chart-title{display:inline-flex;align-items:center;gap:8px;font:700 12.5px/1 var(--font);color:#163a26}
.ws-chart-title-ico{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#e7f7ec;color:#16a34a}
.ws-chart-title-ico .i{width:13px;height:13px}
.ws-tabs{
  margin-left:auto;display:inline-flex;align-items:center;gap:2px;padding:3px;
  border:1px solid #e4eee6;border-radius:9px;background:#f1f6f2;
}
.ws-tabs button{
  appearance:none;border:0;background:transparent;color:#708476;
  padding:6px 9px;border-radius:6px;font:600 10px/1 var(--font);cursor:pointer;transition:.2s;
}
.ws-tabs button:hover{color:#15803d}
.ws-tabs button.is-active{background:#0b4a2a;color:#fff;box-shadow:0 2px 6px rgba(11,74,42,.22)}
.ws-tabs button:focus-visible{outline:2px solid #22c55e;outline-offset:1px}

.ws-chart-wrap{position:relative;width:100%;flex:1;min-height:190px;margin-top:2px}
.ws-chart-svg{display:block;width:100%;height:auto;overflow:visible}
.ws-chart-svg text{font-family:var(--font);font-size:10.5px;fill:#8aa192}
.ws-chart-svg .ws-grid-line{stroke:#e7efe9;stroke-width:1}
.ws-chart-svg .ws-grid-line--v{stroke:#eff5f1}
.ws-chart-svg .ws-line{
  fill:none;stroke:#16a34a;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;
  filter:drop-shadow(0 3px 6px rgba(22,163,74,.16));
}
.ws-chart-svg .ws-dot{fill:#fff;stroke:#16a34a;stroke-width:2}
.ws-chart-svg .ws-dot.is-last{fill:#16a34a;stroke:#fff;stroke-width:2.5}
.ws-chart-svg .ws-dot.is-active{fill:#0b4a2a;stroke:#fff;stroke-width:3}
.ws-tip{
  position:absolute;left:0;top:0;z-index:3;pointer-events:none;
  padding:6px 10px;border-radius:8px;background:#0b4a2a;color:#fff;
  font:700 12px/1 var(--font);letter-spacing:.2px;white-space:nowrap;
  box-shadow:0 8px 18px rgba(6,32,18,.28);
  opacity:0;transition:opacity .15s,left .18s,top .18s,transform .18s;
}
.ws-tip::after{
  content:"";position:absolute;left:50%;bottom:-4px;width:8px;height:8px;
  border-radius:1px;background:#0b4a2a;transform:translateX(-50%) rotate(45deg);
}
.ws-tip.is-visible{opacity:1}

.ws-chart-foot{
  display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;
  padding-top:9px;border-top:1px solid #eef5f0;
  font:500 10px/1.3 var(--font);color:#7a8f82;
}
.ws-chart-live{display:inline-flex;align-items:center;gap:6px;min-width:0}
.ws-chart-live b{color:#15803d;font-weight:700;font-variant-numeric:tabular-nums}
.ws-ip{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ws-ip b{color:#2e5c40;font-weight:600;font-variant-numeric:tabular-nums}

@media (max-width:1300px) and (min-width:1101px){
  .ws-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px){
  .ws-grid{grid-template-columns:1fr}
  .ws-list{min-height:0}
}
@media (max-width:900px){
  .ws-head h2{font-size:38px}
  .ws-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:640px){
  .ws-head{margin-bottom:20px}
  .ws-head h2{font-size:32px}
  .ws-head p{font-size:14px}
  .ws-bar{padding:12px 13px;min-height:50px}
  .ws-bar h3{font-size:13.5px}
  .ws-live{font-size:8.5px;padding:5px 8px;letter-spacing:1.2px}
  .ws-period{padding:5px 8px}
  .ws-period select{font-size:10.5px}
  .ws-row{grid-template-columns:auto minmax(0,1fr) auto;padding:10px 12px;gap:8px}
  .ws-row p{font-size:12px}
  .ws-status{grid-column:auto;justify-self:end;align-self:start;margin-top:1px;padding:4px 7px;font-size:9.5px}
  .ws-status .i{width:11px;height:11px}
  .ws-flag{width:30px;height:30px}
  .ws-flag img{width:22px;height:15px}
  .ws-chart-wrap{min-height:0}
  .ws-stats-body{padding:12px;gap:12px}
  .ws-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .ws-tile{padding:11px 10px}
  .ws-tile b{font-size:20px}
  .ws-tile-label{font-size:9.5px}
  .ws-trend{font-size:8.5px;padding:3px 5px}
  .ws-chart-head{flex-wrap:wrap;gap:8px}
  .ws-tabs{margin-left:0}
  .ws-chart-svg text{font-size:16px}
  .ws-chart-svg .ws-line{stroke-width:3.2}
  .ws-chart-foot{flex-direction:column;align-items:flex-start;gap:5px}
  .ws-ip{white-space:normal}
  .ws-foot{font-size:10px;padding:9px 12px}
}
@media (max-width:420px){
  .ws-tile b{font-size:18px}
  .ws-tabs button{padding:5px 7px;font-size:9px}
}

/* ============ LOADER (ported from portfolio-template) ============ */
/* ============================================
   BOOT - the loading veil and what it holds back

   IntroOverlay paints a full-viewport loader (see loader.css). This file owns
   the other half of the handoff: while `html.is-intro` is set, the page below
   sits hidden and translated, then assembles with staggered fades when the
   class drops. `is-intro-head` holds only the real `.home__title`, which
   fades in on its own beat once the loader lifts.

   Anything new you add above the fold on Home must join the hold-back list
   below. Otherwise it shows through while the loader is still up.
   ============================================ */
.boot {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

/* ---------- What the loader holds back ----------
   The headline fades on its own beat: the loader lifts first, then the real
   headline cross-fades in while the siblings assemble around it. */
html.is-intro-head .home__title { opacity: 0; }
.home__title { transition: opacity 560ms var(--ease-out); }

html.is-intro .home__cta,
html.is-intro .home__lede,
html.is-intro .home__glass,
html.is-intro .nav,
html.is-intro .hprofile,
html.is-intro .hsocials,
html.is-intro .hsec,
html.is-intro .htiles,
html.is-intro .hproof,
html.is-intro .tabbar {
  opacity: 0;
  transform: translateY(14px);
}
/* The bar is fixed at the bottom; it rises into place instead. */
html.is-intro .tabbar { transform: translateY(24px); }

.home__cta,
.home__lede,
.home__glass,
.nav,
.hprofile,
.hsocials,
.hsec,
.htiles,
.hproof,
.tabbar {
  transition:
    opacity 620ms var(--ease-out),
    transform 760ms var(--ease-out);
}
.home__lede { transition-delay: 60ms; }
.home__glass { transition-delay: 150ms; }
.hsocials { transition-delay: 100ms; }
.hsec, .htiles, .hproof { transition-delay: 220ms; }
.tabbar { transition-delay: 260ms; }

/* The rail column assembles itself rather than fading in as a slab: each row
   arrives on its own beat, left to right, so the eye reads it as one hand
   dealing the profile out. */
html.is-intro .rail__inner > * {
  opacity: 0;
  transform: translateX(-16px);
}
.rail__inner > * {
  transition:
    opacity 560ms var(--ease-out),
    transform 700ms var(--ease-out);
}
.rail__inner > *:nth-child(1) { transition-delay: 40ms; }
.rail__inner > *:nth-child(2) { transition-delay: 95ms; }
.rail__inner > *:nth-child(3) { transition-delay: 140ms; }
.rail__inner > *:nth-child(4) { transition-delay: 190ms; }
.rail__inner > *:nth-child(5) { transition-delay: 240ms; }
.rail__inner > *:nth-child(6) { transition-delay: 300ms; }
.rail__inner > *:nth-child(7) { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  .boot { display: none; }
  html.is-intro-head .home__title,
  html.is-intro .home__cta,
  html.is-intro .home__lede,
  html.is-intro .home__glass,
  html.is-intro .nav,
    html.is-intro .hprofile,
  html.is-intro .hsocials,
  html.is-intro .hsec,
  html.is-intro .htiles,
  html.is-intro .hproof,
  html.is-intro .tabbar,
  html.is-intro .rail__inner > * {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   LOADER - system boot screen

   A dark tech-style veil that runs before the page assembles: welcome copy
   and a glowing name on the left, the portrait in a rotating HUD ring on the
   right, role lines top right, and a segmented progress track with a stage
   counter. Lit segments, the travelling glow head, the percent readout and
   the 01-08 stage counter all ride one rAF progress value (see IntroOverlay).

   Always dark, in both themes: a boot screen is a boot screen. The greens
   are literals, not tokens, so a future accent change cannot wash it out.
   Motion story: entrance rises (WAAPI, `[data-rise]`), rings rotate (CSS),
   particles and the dot-wave run on canvas. The global reduced-motion rule
   already freezes the CSS parts; reduced-motion visitors never mount this
   at all.
   ============================================ */
.boot {
  background: #020C09;
  overflow: hidden;
}
/* Pre-entrance park: WAAPI `fill: both` holds opacity 1 once each rise lands. */
.boot [data-rise] { opacity: 0; }
.boot.is-leaving { opacity: 0; transition: opacity 500ms ease; }
.boot.is-leaving .load__inner { transform: translateY(-12px); transition: transform 500ms ease; }

.load__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.load__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.load__glow--a {
  width: 48vmax;
  height: 48vmax;
  right: -12vmax;
  top: -14vmax;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.07), transparent 65%);
}
.load__glow--b {
  width: 40vmax;
  height: 40vmax;
  left: -10vmax;
  bottom: -12vmax;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.05), transparent 65%);
}

/* Faint dotted texture over the top-right quadrant. */
.load__dots {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 54%;
  background-image: radial-gradient(rgba(74, 222, 128, 0.06) 1px, transparent 1.5px);
  background-size: 20px 20px;
  mask-image: linear-gradient(200deg, black 30%, transparent 75%);
  -webkit-mask-image: linear-gradient(200deg, black 30%, transparent 75%);
}

/* Diagonal light beams behind the portrait. */
.load__beam {
  position: absolute;
  top: -20%;
  height: 140%;
  transform: rotate(24deg);
  background: linear-gradient(180deg, transparent, rgba(34, 197, 94, 0.05) 40%, rgba(34, 197, 94, 0.09) 60%, transparent);
  filter: blur(4px);
}
.load__beam--a { right: 16%; width: 220px; }
.load__beam--b { right: 29%; width: 120px; opacity: 0.7; }

/* Segmented HUD corner ornaments. */
.load__orn { position: absolute; width: 230px; height: 70px; z-index: 1; }
.load__orn--tl { top: 22px; left: 24px; }
.load__orn--br { bottom: 22px; right: 24px; }

.load__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 60px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.6vh, 28px);
}

.load__eyebrow {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5em;
  color: #9DB8AB;
}

.load__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) auto minmax(0, 0.94fr);
  grid-template-areas:
    "copy count portrait"
    "bar count portrait";
  column-gap: clamp(20px, 3vw, 54px);
  align-items: stretch;
}
.load__copy { grid-area: copy; min-width: 0; }
.load__barzone { grid-area: bar; align-self: start; max-width: 480px; padding-top: 26px; }
.load__count { grid-area: count; align-self: end; padding-bottom: 30px; }
.load__portrait { grid-area: portrait; grid-row: span 2; align-self: center; }

.load__hello {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  letter-spacing: 0.38em;
  color: #E7F2EB;
}

.load__name {
  margin: 0.14em 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 8.6vw, 150px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.load__name-a { display: block; color: #F2F8F4; }
.load__name-bline { display: block; }
.load__name-b {
  color: #22C55E;
}
.load__name-c { color: #F2F8F4; }

/* Short rule under the name. */
.load__rule {
  display: block;
  width: 76px;
  height: 5px;
  margin: 24px 0 20px;
  background: linear-gradient(90deg, #4ADE80, #22C55E);
  border-radius: 2px;
}

.load__tag { margin: 0; }
.load__tagline {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.18em;
  line-height: 2.1;
  text-transform: uppercase;
  color: #8FA89B;
}

/* ---------- Segmented progress track ----------
   The track is the bar: 24 slanted segments light left to right on the
   shared progress value, with a glow head travelling the same distance. */
.load__barrow { display: flex; align-items: center; gap: 14px; }
.load__track {
  position: relative;
  flex: 1;
  height: 28px;
  display: flex;
  gap: 4px;
  padding: 5px 9px;
  background: rgba(34, 197, 94, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.25);
  clip-path: polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
}
.load__seg { flex: 1; background: rgba(74, 222, 128, 0.12); transform: skewX(-14deg); }
.load__seg.is-on {
  background: linear-gradient(180deg, #4ADE80, #22C55E);
}
.load__head {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #4ADE80;
}
.load__pct {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 16px;
  font-weight: 700;
  color: #4ADE80;
  min-width: 3.5ch;
  font-variant-numeric: tabular-nums;
}

.load__caption {
  display: block;
  margin: 12px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: #7E968B;
}
.boot.is-done .load__caption { color: #4ADE80; }

.load__count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 4.6vw, 72px);
  line-height: 1;
  color: #4ADE80;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.load__count small { font-size: 0.5em; font-weight: 700; color: #4B6357; text-shadow: none; }

/* ---------- Portrait HUD ---------- */
.load__portrait {
  position: relative;
  width: min(580px, 34vw, 74vh);
  aspect-ratio: 1;
  margin-inline: auto;
}
.load__rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.load__ring { fill: none; transform-origin: 110px 110px; }
.load__ring--static { stroke: rgba(74, 222, 128, 0.22); stroke-width: 1; }
.load__ring--ticks {
  stroke: rgba(74, 222, 128, 0.55);
  stroke-width: 2;
  stroke-dasharray: 1 6;
  animation: load-spin 48s linear infinite;
}
.load__ring--arc {
  stroke: #4ADE80;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 150 391;
  animation: load-spin 14s linear infinite;
}
/* The arc's glow, painted as a plain wide stroke instead of a drop-shadow
   filter: the ring rotates every frame, and a filter would force an offscreen
   buffer per frame where a stroke just repaints. */
.load__ring--arcglow {
  stroke: #22C55E;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 150 391;
  opacity: 0.28;
  animation: load-spin 14s linear infinite;
}
.load__ring--arc2 {
  stroke: #22C55E;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 60 430;
  opacity: 0.8;
  animation: load-spin-rev 24s linear infinite;
}
@keyframes load-spin { to { transform: rotate(360deg); } }
@keyframes load-spin-rev { to { transform: rotate(-360deg); } }

.load__photowrap {
  position: absolute;
  inset: 11.5%;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(74, 222, 128, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(0, 0, 0, 0.5);
}
.load__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Full green grade: sepia pushed into the green hue, deepened and punchy,
     so skin, shirt and backdrop all read as one green duotone. */
  filter: sepia(0.9) saturate(2.6) hue-rotate(62deg) brightness(0.92) contrast(1.06);
}
/* Glitch channel copies: tinted, blended, and sliced in hard-cut bursts. */
.load__photo--ga,
.load__photo--gb { opacity: 0; mix-blend-mode: screen; }
.load__photo--ga {
  filter: sepia(1) saturate(3) hue-rotate(70deg);
  animation: load-glitch-a 4.2s steps(1, end) infinite;
}
.load__photo--gb {
  filter: sepia(1) saturate(4) hue-rotate(140deg);
  animation: load-glitch-b 4.2s steps(1, end) infinite;
}
@keyframes load-glitch-a {
  0%, 71% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  72% { opacity: 0.85; transform: translate(-7px, 2px); clip-path: inset(8% 0 62% 0); }
  74% { opacity: 0.85; transform: translate(6px, -1px); clip-path: inset(48% 0 22% 0); }
  76% { opacity: 0.85; transform: translate(-4px, 1px); clip-path: inset(70% 0 6% 0); }
  78%, 86% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  87% { opacity: 0.9; transform: translate(7px, 2px); clip-path: inset(28% 0 48% 0); }
  89% { opacity: 0.9; transform: translate(-6px, -2px); clip-path: inset(60% 0 12% 0); }
  91%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes load-glitch-b {
  0%, 73% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  74% { opacity: 0.8; transform: translate(6px, 1px); clip-path: inset(58% 0 18% 0); }
  76% { opacity: 0.8; transform: translate(-7px, -1px); clip-path: inset(14% 0 66% 0); }
  78%, 88% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
  89% { opacity: 0.85; transform: translate(-5px, 2px); clip-path: inset(38% 0 40% 0); }
  91% { opacity: 0.85; transform: translate(5px, -2px); clip-path: inset(76% 0 4% 0); }
  93%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 0 0); }
}
/* Scanline sweep, synced to the first burst. */
.load__scan {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 12%;
  background: linear-gradient(180deg, transparent, rgba(74, 222, 128, 0.5), transparent);
  opacity: 0;
  animation: load-scan 4.2s linear infinite;
}
@keyframes load-scan {
  0%, 71% { opacity: 0; top: -12%; }
  72% { opacity: 0.9; }
  80% { opacity: 0.9; top: 104%; }
  81%, 100% { opacity: 0; top: 104%; }
}
/* Breathing green halo behind the rings. */
.load__halo {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.04) 55%, transparent 70%);
  filter: blur(24px);
  animation: load-halo 2.6s ease-in-out infinite;
}
@keyframes load-halo {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.load__photowrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(160deg, rgba(34, 197, 94, 0.3), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(34, 197, 94, 0.32), transparent 60%);
}

/* ---------- Role stack, top right ---------- */
.load__roles {
  position: absolute;
  z-index: 1;
  top: clamp(48px, 9vh, 84px);
  right: clamp(28px, 5vw, 72px);
  margin: 0;
  padding: 0 0 0 16px;
  border-left: 1px solid rgba(74, 222, 128, 0.45);
  display: grid;
  gap: 12px;
  list-style: none;
}
.load__roles li {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: #7E968B;
}

@media (max-width: 899px) {
  .load__orn,
  .load__roles,
  .load__beam,
  .load__dots { display: none; }
  .load__inner { gap: 12px; }
  .load__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "copy"
      "bar"
      "count";
    gap: 10px;
  }
  .load__portrait { width: min(230px, 56vw, 30vh); }
  .load__copy { text-align: center; }
  .load__tag { max-width: 40ch; margin-inline: auto; }
  .load__rule { margin-inline: auto; }
  .load__name { font-size: clamp(40px, 12vw, 64px); }
  .load__barzone { max-width: 430px; width: 100%; margin-inline: auto; padding-top: 8px; }
  .load__count { justify-self: center; padding-bottom: 0; font-size: 44px; }
  .load__eyebrow { text-align: center; font-size: 13px; letter-spacing: 0.32em; }
  .load__hello { font-size: 14px; letter-spacing: 0.28em; }
  .load__tagline { font-size: 12px; letter-spacing: 0.14em; }
  .load__caption { font-size: 11px; letter-spacing: 0.2em; }
}

#schoolPhotoModal .school-photo-panel{
  width:96vw;
  height:94vh;
  height:94dvh;
  max-height:none;
  overflow:visible;
}

#schoolPhotoModal .school-photo-full{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  cursor:zoom-out;
}

@media (max-width:640px){
  #schoolPhotoModal .school-photo-panel{
    width:100vw;
    height:100vh;
    height:100dvh;
    max-height:none;
    padding:58px 12px 12px;
    border-radius:0;
  }
  #schoolPhotoModal .school-photo-panel .modal-x{right:12px;top:10px}
}

/* ============ AUTOMATION WORKFLOW ENHANCEMENTS ============ */
.aw-window{
  position:relative;
  margin-top:24px;
  overflow:hidden;
  border:1px solid rgba(206,226,214,.55);
  border-radius:20px;
  background-color:#061d14;
  background-image:radial-gradient(rgba(185,218,197,.12) .8px,transparent .8px);
  background-size:20px 20px;
}
.aw-bar{
  position:relative;
  display:flex;align-items:center;gap:8px;
  height:40px;padding:0 14px;
  border-bottom:1px solid rgba(206,226,214,.2);
  background:rgba(255,255,255,.035);
}
.aw-window::after{
  content:"";position:absolute;z-index:2;top:90px;left:8.2%;
  width:9px;height:9px;border-radius:50%;
  background:var(--green-bright);box-shadow:0 0 10px rgba(43,198,95,.65);
  pointer-events:none;
  animation:aw-factory-loop 8s linear infinite;
}
@keyframes aw-factory-loop{
  0%,9.375%{left:8.2%;top:90px;opacity:0}
  9.4%{left:13.5%;top:90px;opacity:1}
  14.9%{left:19.2%;top:90px;opacity:1}
  15%,24.375%{left:24.9%;top:90px;opacity:0}
  24.4%{left:30.3%;top:90px;opacity:1}
  29.9%{left:36%;top:90px;opacity:1}
  30%,39.375%{left:41.7%;top:90px;opacity:0}
  39.4%{left:47.1%;top:90px;opacity:1}
  44.9%{left:52.8%;top:90px;opacity:1}
  45%,54.375%{left:58.5%;top:90px;opacity:0}
  54.4%{left:63.9%;top:90px;opacity:1}
  59.9%{left:69.6%;top:90px;opacity:1}
  60%,69.375%{left:75.2%;top:90px;opacity:0}
  69.4%{left:80.7%;top:90px;opacity:1}
  74.9%{left:86.4%;top:90px;opacity:1}
  75%,84.375%{left:92%;top:90px;opacity:0}
  84.4%{left:92%;top:90px;opacity:1}
  87.5%{left:92%;top:calc(100% - 40px);opacity:1}
  97%{left:8.2%;top:calc(100% - 40px);opacity:1}
  99.99%{left:8.2%;top:calc(100% - 40px);opacity:0}
  100%{left:8.2%;top:90px;opacity:0}
}
.aw-dot{width:10px;height:10px;border-radius:50%}
.aw-dot:nth-child(1){background:#ff5f56}
.aw-dot:nth-child(2){background:#ffbd2e}
.aw-dot:nth-child(3){background:#27c93f}
.aw-title{
  position:absolute;left:50%;transform:translateX(-50%);
  margin:0;font:600 12px var(--font);color:#b6c8bd;letter-spacing:.2px;
}

.aw-stages{
  position:relative;
  display:grid;grid-template-columns:repeat(17,minmax(0,1fr));
  align-items:start;padding:22px 24px 0;
}
.aw-stage{
  position:relative;z-index:2;
  grid-column:span 2;min-width:0;
  display:flex;flex-direction:column;align-items:center;gap:7px;
  padding:0 6px;text-align:center;
}
.aw-mobile-route{
  position:absolute;inset:0;z-index:1;
  display:none;width:100%;height:100%;
  overflow:visible;pointer-events:none;
}
.aw-mobile-route path{
  fill:none;stroke:rgba(43,198,95,.48);stroke-width:.45;
  stroke-dasharray:1.5 1.5;vector-effect:non-scaling-stroke;
}
.aw-mobile-route circle{
  fill:var(--green-bright);
  filter:drop-shadow(0 0 2px rgba(43,198,95,.85));
}
.aw-ico{
  width:64px;height:64px;flex:none;border-radius:16px;
  display:grid;place-items:center;
  background:#f7faf7;border:1px solid rgba(255,255,255,.8);
  color:#123e2a;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.aw-ico .i{width:24px;height:24px}
.aw-stage .aw-ico{animation:aw-stage-highlight 8s linear infinite}
.aw-stage:nth-of-type(2) .aw-ico{animation-delay:1.2s}
.aw-stage:nth-of-type(3) .aw-ico{animation-delay:2.4s}
.aw-stage:nth-of-type(4) .aw-ico{animation-delay:3.6s}
.aw-stage:nth-of-type(5) .aw-ico{animation-delay:4.8s}
.aw-stage:nth-of-type(6) .aw-ico{animation-delay:6s}
@keyframes aw-stage-highlight{
  0%,9.375%{border-color:#2bc65f;box-shadow:0 0 18px rgba(43,198,95,.4)}
  9.376%,100%{border-color:rgba(255,255,255,.8);box-shadow:0 2px 8px rgba(0,0,0,.18)}
}
.aw-stage h3{font:700 14px/1.3 var(--font);color:#f4f8f5}
.aw-stage ul{
  width:100%;list-style:none;padding:0;margin:0;
  display:flex;flex-direction:column;gap:3px;
}
.aw-stage li{font:400 12px/1.5 var(--font);color:#aebdb4;text-align:center}

.aw-link{
  grid-column:span 1;position:relative;
  display:flex;align-items:center;justify-content:center;
  height:64px;padding:0 4px;
}
.aw-link::before{
  content:"";position:absolute;width:100%;height:1px;
  background:rgba(43,198,95,.38);
}
.aw-link .aw-dot{
  display:none;
}

.aw-feedback{
  position:relative;
  min-height:32px;margin:22px 24px 18px;
  display:flex;align-items:center;justify-content:center;
  color:var(--green-bright);font:700 11px var(--font);
}
.aw-farrow{
  position:absolute;inset:0;
  overflow:hidden;font-size:0;
}
.aw-farrow::before{
  content:"";position:absolute;left:7%;right:0;top:calc(50% - 1px);height:2px;
  background:repeating-linear-gradient(90deg,var(--green-bright) 0 7px,transparent 7px 14px);
  background-size:14px 2px;
  animation:aw-feedback-flow .7s linear infinite;
}
@keyframes aw-feedback-flow{to{background-position:-14px 0}}
.aw-farrow::after{
  content:"";position:absolute;left:7%;top:50%;
  width:0;height:0;transform:translateY(-50%);
  border-top:9px solid transparent;border-bottom:9px solid transparent;
  border-right:16px solid var(--green-bright);
}
.aw-feedback>span:last-child{
  position:relative;z-index:1;padding:3px 12px;
  border-radius:999px;background:#08251a;
}

@media(max-width:1000px){
  .aw-window::after{display:none}
  .aw-stages{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 8px;padding:22px 20px 0}
  .aw-mobile-route--three{display:block}
  .aw-stage .aw-ico{animation:none;transition:border-color .15s ease,box-shadow .15s ease}
  .aw-stage.is-flow-active .aw-ico{border-color:#2bc65f;box-shadow:0 0 18px rgba(43,198,95,.4)}
  .aw-stage{grid-column:auto}
  .aw-stage:nth-of-type(4){grid-column:3;grid-row:2}
  .aw-stage:nth-of-type(5){grid-column:2;grid-row:2}
  .aw-stage:nth-of-type(6){grid-column:1;grid-row:2}
  .aw-link{display:none}
}
@media(max-width:640px){
  .aw-stages{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 8px;padding:20px 12px 0}
  .aw-mobile-route--three{display:none}
  .aw-mobile-route--two{display:block}
  .aw-stage:nth-of-type(3){grid-column:2;grid-row:2}
  .aw-stage:nth-of-type(4){grid-column:1;grid-row:2}
  .aw-stage:nth-of-type(5){grid-column:1;grid-row:3}
  .aw-stage:nth-of-type(6){grid-column:2;grid-row:3}
  .aw-feedback{margin:18px 12px 14px}
  .aw-farrow::before,.aw-farrow::after{left:2%}
}
@media(prefers-reduced-motion:reduce){
  .aw-mobile-route circle{visibility:hidden}
}
