*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#090a0e;color:#f4f5f7;font-family:Manrope,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}.ambient{position:fixed;width:480px;height:480px;border-radius:50%;filter:blur(120px);opacity:.12;pointer-events:none;z-index:-1}.ambient-one{background:#285be8;top:-220px;left:-160px}.ambient-two{background:#14b8a6;right:-260px;top:650px}a{color:inherit;text-decoration:none}.topbar{height:76px;max-width:1240px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff10;position:sticky;top:0;z-index:20;background:#090a0edb;backdrop-filter:blur(18px)}.brand{font-weight:800;font-size:23px;letter-spacing:-2px}.brand span{color:#70e1c0}.topbar nav{display:flex;align-items:center;gap:30px}.topbar nav a{font-size:12px;color:#a8abb5;transition:.2s}.topbar nav a:hover{color:#fff}.topbar nav .nav-contact{border:1px solid #ffffff28;padding:10px 15px;border-radius:30px;color:#fff}.menu{display:none;background:none;color:white;border:0;font-size:22px}.page{max-width:1240px;margin:auto;padding:28px}.tile{border:1px solid #ffffff12;background:linear-gradient(145deg,#171922,#11131a);border-radius:23px;overflow:hidden;position:relative}.hero-grid{display:grid;grid-template-columns:1.25fr .85fr;grid-template-rows:410px 245px 230px;gap:15px}.hero{grid-column:1;grid-row:1/3;padding:30px 36px 25px;background:radial-gradient(ellipse at 75% 35%,#24386c75,transparent 42%),linear-gradient(145deg,#171b29,#101219 72%)}.tile-top,.hero-foot,.project-top{display:flex;justify-content:space-between;align-items:center}.eyebrow,.mono{font-family:"DM Mono",monospace;font-size:9px;letter-spacing:1.4px;color:#8c91a2}.eyebrow i,.live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6de0b7;margin-right:7px;box-shadow:0 0 10px #6de0b7}.hero-copy{padding-top:66px}.hello{color:#b7bdca;font-size:14px;margin:0 0 18px}.wave{color:#71e2c0;margin-left:5px}.hero h1{font-size:clamp(49px,5.8vw,76px);line-height:1.02;letter-spacing:-5px;margin:0;font-weight:800}.gradient{background:linear-gradient(95deg,#80e7c2,#6da8ff 75%);-webkit-background-clip:text;background-clip:text;color:transparent}.subhead{font-size:12px;color:#c7cbd5;margin:23px 0 10px}.subhead b{color:#6cdbb8;margin:0 5px}.summary{font-size:13px;line-height:1.8;color:#8e94a3;max-width:470px}.hero-actions{display:flex;align-items:center;gap:23px;margin-top:25px}.button{display:inline-flex;gap:22px;align-items:center;border-radius:30px;padding:13px 18px;font-size:11px;font-weight:700}.primary{background:#f3f5f7;color:#101116}.primary:hover{background:#75e2bf}.text-link{font-size:11px;color:#c7cbd5}.hero-foot{position:absolute;bottom:25px;left:36px;right:36px;border-top:1px solid #ffffff12;padding-top:15px;font:9px "DM Mono",monospace;letter-spacing:1.2px;color:#6f7585}.profile{grid-column:2;grid-row:1;padding:18px;display:grid;grid-template-columns:145px 1fr;gap:18px;align-items:center;background:radial-gradient(circle at 50% 28%,#264d6370,transparent 48%),linear-gradient(145deg,#18232b,#11151b)}.portrait-wrap{height:100%;min-height:190px;position:relative;border-radius:15px;overflow:hidden;background:#c5c7ca}.portrait-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 28%;display:block;filter:saturate(.86)}.portrait-tag{position:absolute;bottom:8px;left:7px;right:7px;text-align:center;font:7px "DM Mono",monospace;letter-spacing:.7px;color:#fff;background:#10131bbd;padding:7px 3px;border-radius:20px}.profile h2{font-size:19px;line-height:1.25;letter-spacing:-.8px;margin:10px 0}.dim{color:#777e8e}.profile p,.now p{font-size:10px;line-height:1.7;color:#9299a7;margin:0}.corner-mark{position:absolute;right:16px;bottom:13px;color:#73dfbf;font-size:18px}.stat{grid-column:2;grid-row:2;padding:23px;background:linear-gradient(145deg,#1b1c29,#13141b)}.stat strong{display:block;font-size:65px;letter-spacing:-6px;line-height:1;margin-top:18px}.stat strong span{color:#78e1c0;font-size:36px}.stat p{font-size:11px;line-height:1.6;color:#9297a5;max-width:280px;margin:7px 0 15px}.mini-bars{display:flex;gap:4px;align-items:end;height:20px;margin-bottom:9px}.mini-bars i{width:6px;border-radius:3px;background:linear-gradient(#75e2bf,#477d9a)}.mini-bars i:nth-child(3n+1){height:60%}.mini-bars i:nth-child(3n+2){height:95%}.mini-bars i:nth-child(3n){height:75%}.tiny{font-size:8px}.now{grid-column:1/-1;grid-row:3;padding:24px 30px;background:radial-gradient(circle at 90% 0%,#1a594a55,transparent 55%),#131a1a}.live{font:8px "DM Mono",monospace;color:#77dfbd;letter-spacing:1px}.now h2{font-size:27px;line-height:1.1;letter-spacing:-1.3px;margin:17px 0 8px}.green{color:#75dfbd}.company-line{display:flex;align-items:center;gap:10px;margin-top:12px;font-size:11px;font-weight:700}.company-mark{width:27px;height:27px;border-radius:8px;background:#e4e9e6;color:#17251f;display:grid;place-items:center;font-size:15px}.company-line small{display:block;font-size:9px;color:#8b9b95;font-weight:400;margin-top:2px}.arrow{margin-left:auto;color:#80dfc1}.section-block{padding:76px 5px 0}.section-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff15;padding:0 0 15px;margin-bottom:28px}.section-head .eyebrow{color:#80dfc1}.section-head .mono{font-size:8px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:12px 0 25px}.about-grid h2{font-size:38px;letter-spacing:-2px;line-height:1.15;margin:0}.about-grid p{font-size:12px;line-height:1.9;color:#969ba8;margin:0 0 12px}.about-points{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.about-points div{padding:17px;border:1px solid #ffffff13;border-radius:15px;background:#11131a}.about-points b{display:block;font:10px "DM Mono";color:#77dfbd;margin-bottom:13px}.about-points span{display:block;font-size:12px;font-weight:700}.about-points small{display:block;color:#858b9a;font-size:9px;margin-top:6px}.experience-card{padding:27px;display:grid;grid-template-columns:145px 1fr;gap:22px}.exp-date{display:flex;flex-direction:column;gap:12px;color:#78ddbd}.exp-date strong{font-size:70px;line-height:1;letter-spacing:-6px;color:#ffffff18}.exp-date small{font:8px "DM Mono";color:#707787}.exp-title{display:flex;justify-content:space-between;gap:15px}.exp-title h3{font-size:20px;letter-spacing:-.7px;margin:0}.exp-title h3 span{color:#858b9a;font-weight:500}.exp-title p{font-size:11px;color:#8d93a1;margin:7px 0}.exp-badge{font:8px "DM Mono";letter-spacing:1px;color:#8e96a5;border:1px solid #ffffff1c;border-radius:30px;padding:8px 10px;height:max-content;white-space:nowrap}.workstream{border-top:1px solid #ffffff12;margin-top:20px;padding-top:15px;display:flex;justify-content:space-between;gap:10px;align-items:center}.workstream h4{font-size:12px;margin:0}.workstream span{font:8px "DM Mono";color:#80dfc1}.workstream.second{margin-top:7px}.exp-content ul{padding-left:16px;margin:12px 0 17px;color:#a6aab5;font-size:11px;line-height:1.9}.chips{display:flex;gap:7px;flex-wrap:wrap}.chips span{font:9px "DM Mono";color:#b3bac6;background:#ffffff08;border:1px solid #ffffff13;padding:7px 9px;border-radius:20px}.section-intro{font-size:12px;line-height:1.8;color:#9ba1af;max-width:750px;margin:-8px 0 22px}.projects-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.project{min-height:265px;padding:22px;display:flex;flex-direction:column;justify-content:space-between}.project-python{background:radial-gradient(circle at 80% 20%,#254b6d65,transparent 45%),#151b25}.project-web{background:radial-gradient(circle at 90% 10%,#5d4a9866,transparent 45%),#1c1929}.project-reelo{background:radial-gradient(circle at 85% 20%,#744b7650,transparent 45%),#211922}.project-pipeline{background:radial-gradient(circle at 85% 20%,#246a5c55,transparent 45%),#14201f}.project-top{align-items:flex-start}.project-icon{font-size:25px;color:#83e5c6}.project h3{font-size:25px;letter-spacing:-1.2px;line-height:1.15;margin:23px 0 8px}.project p{font-size:11px;line-height:1.8;color:#9da3b1;max-width:430px;margin:0}.project-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px}.project-bottom a{font-size:10px;color:#81e2c1;white-space:nowrap}.footnote{font-size:9px;line-height:1.7;color:#737987;margin:12px 2px 0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.metric{padding:22px}.metric strong{display:block;font-size:65px;letter-spacing:-6px;line-height:1.1;margin-top:16px;white-space:nowrap}.metric strong span{font-size:30px;color:#77dfbd}.metric p{font-size:10px;line-height:1.7;color:#969ba8;min-height:52px}.metric-line{height:4px;background:#ffffff12;border-radius:4px;margin-top:15px;overflow:hidden}.metric-line i{display:block;height:100%;background:linear-gradient(90deg,#4c9b9c,#7ce2c0);border-radius:4px}.stack-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.stack-card{padding:22px;min-height:175px}.stack-icon{font-size:22px;color:#7ee2c2}.stack-card h3{font-size:15px;margin:14px 0}.stack-card .chips{gap:6px}.stack-note{font-size:9px;line-height:1.7;color:#858b9a;margin:13px 0 0}.credentials-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.credential{padding:22px;min-height:175px}.credential h3{font-size:17px;line-height:1.35;letter-spacing:-.5px;margin:15px 0 8px}.credential p{font-size:10px;line-height:1.8;color:#969ba8;margin:0}.credential-mark{display:inline-block;margin-top:13px;font:9px "DM Mono";color:#7de1c0;border:1px solid #ffffff1b;border-radius:20px;padding:7px 10px}.contact-tile{margin:80px 0 28px;padding:40px;display:flex;justify-content:space-between;align-items:end;min-height:300px;background:radial-gradient(circle at 80% 40%,#284b6a75,transparent 42%),linear-gradient(120deg,#191e2a,#13151d)}.contact-tile h2{font-size:48px;line-height:1.05;letter-spacing:-3px;margin:20px 0 10px}.contact-tile p{font-size:11px;color:#9da3b0;max-width:380px;line-height:1.8}.contact-actions{display:flex;flex-direction:column;align-items:flex-start;gap:15px;z-index:1}.contact-actions>a:not(.button){font-size:11px;color:#c4c9d3}.contact-orbit{position:absolute;right:35%;top:22%;font-size:90px;font-weight:800;color:#ffffff06;letter-spacing:-10px;pointer-events:none}.contact-orbit span{color:#75dfbd}.contact-tile .eyebrow{color:#7ee2c2}footer{max-width:1240px;margin:auto;padding:20px 28px 30px;display:flex;justify-content:space-between;align-items:center;color:#697080;font:8px "DM Mono";letter-spacing:1px}footer .brand{color:#fff;font:800 19px Manrope;letter-spacing:-2px}
@media(max-width:850px){.page{padding:18px}.hero-grid{grid-template-columns:1fr 1fr;grid-template-rows:390px 225px 215px}.hero{grid-column:1;grid-row:1/3;padding:25px}.hero h1{font-size:clamp(43px,6vw,62px);letter-spacing:-4px}.profile{grid-column:2;grid-row:1;grid-template-columns:1fr;grid-template-rows:150px auto}.portrait-wrap{min-height:150px}.stat{grid-column:2;grid-row:2}.now{grid-column:1/-1;grid-row:3}.section-block{padding-top:60px}.experience-card{grid-template-columns:1fr}.exp-date{flex-direction:row;align-items:center}.exp-date strong{font-size:35px}.stack-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.topbar{height:65px;padding:0 20px}.menu{display:block}.topbar nav{display:none;position:absolute;top:64px;left:0;right:0;background:#11131a;padding:22px;flex-direction:column;align-items:flex-start;border-bottom:1px solid #ffffff1a}.topbar nav.open{display:flex}.page{padding:12px}.hero-grid{grid-template-columns:1fr;grid-template-rows:auto}.hero{grid-column:1;grid-row:auto;min-height:480px;padding:22px}.hero-copy{padding-top:60px}.hero h1{font-size:52px;letter-spacing:-4px}.hero-foot{left:22px;right:22px;font-size:7px}.profile{grid-column:1;grid-row:auto;grid-template-columns:125px 1fr;grid-template-rows:190px;min-height:220px}.portrait-wrap{min-height:190px}.profile h2{font-size:18px}.stat{grid-column:1;grid-row:auto;min-height:205px}.now{grid-column:1;grid-row:auto;min-height:215px}.about-grid{grid-template-columns:1fr;gap:18px}.about-grid h2{font-size:31px}.about-points,.projects-grid,.metrics,.stack-grid,.credentials-grid{grid-template-columns:1fr}.section-head .mono{display:none}.exp-title{flex-direction:column}.exp-title h3{font-size:18px}.workstream{align-items:flex-start;flex-direction:column}.project{min-height:245px}.metric strong{font-size:65px}.contact-tile{padding:26px;display:block;min-height:390px;margin-top:60px}.contact-tile h2{font-size:42px}.contact-actions{margin-top:28px}.contact-orbit{right:10%;top:35%;font-size:70px}footer{padding:18px;gap:12px;flex-wrap:wrap}footer span:nth-child(2){order:3;width:100%}}


/* Refinements: balanced hero footer, cleaner portrait card and right-aligned employer details */
.hero{display:flex;flex-direction:column}
.hero-copy{padding-top:54px}
.hero-foot{position:static;margin-top:auto;left:auto;right:auto;bottom:auto;width:100%;flex-shrink:0;padding-top:14px;gap:14px}
.profile{grid-template-columns:minmax(0,1fr) 132px;grid-template-rows:1fr;gap:16px;padding:20px;align-items:center}
.profile-copy{grid-column:1;grid-row:1;min-width:0}
.profile-copy h2{font-size:21px;line-height:1.22}
.profile-copy p{max-width:250px;font-size:10px}
.profile-note{display:block;margin-top:16px;font:7px "DM Mono",monospace;letter-spacing:.65px;color:#77dfbd;white-space:nowrap}
.profile-note b{color:#758092;margin:0 3px}
.portrait-wrap{grid-column:2;grid-row:1;width:132px;height:176px;min-height:0;align-self:center;border-radius:16px;overflow:hidden;background:#c5c7ca}
.portrait-wrap img{width:100%;height:100%;object-fit:cover;object-position:center 27%;display:block}
.portrait-tag{display:none}
.profile .corner-mark{right:14px;bottom:10px;font-size:16px}
.now{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:25px;align-items:center}
.now-main{min-width:0}
.now h2{font-size:clamp(23px,2.7vw,31px);max-width:660px;line-height:1.16}
.company-panel{display:flex;align-items:center;gap:12px;padding:18px;background:#ffffff08;border:1px solid #ffffff12;border-radius:16px;min-width:0}
.company-panel .company-mark{width:42px;height:42px;border-radius:12px;font-size:21px;flex:0 0 auto}
.company-panel strong{display:block;font-size:13px;color:#f3f5f7;margin-bottom:4px}
.company-panel small{display:block;font-size:9px;line-height:1.6;color:#9aa2ad}
.company-panel .arrow{margin-left:auto;align-self:flex-start}
@media(max-width:850px){
  .profile{grid-template-columns:minmax(0,1fr) 115px}
  .portrait-wrap{width:115px;height:155px}
  .now{grid-template-columns:minmax(0,1fr) 205px}
  .now h2{font-size:24px}
}
@media(max-width:580px){
  .hero{display:flex;flex-direction:column}
  .hero-copy{padding-top:48px}
  .hero-foot{position:static;margin-top:auto;display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding-top:14px;gap:8px;font-size:7px}
  .profile{grid-template-columns:minmax(0,1fr) 112px;grid-template-rows:1fr;min-height:210px;padding:16px;gap:12px}
  .portrait-wrap{width:112px;height:150px;min-height:0}
  .profile-copy h2{font-size:17px}
  .profile-copy p{font-size:9px}
  .profile-note{font-size:6px;letter-spacing:.2px}
  .now{display:flex;flex-direction:column;align-items:stretch;gap:18px}
  .now h2{font-size:25px}
  .company-panel{width:100%}
}


/* Final content/layout refinement */
.hero-foot{display:none!important}
.hero{padding-bottom:32px}
.profile{grid-template-columns:minmax(0,1fr) 165px;gap:8px;overflow:hidden;background:radial-gradient(circle at 82% 45%,#24485a35,transparent 48%),linear-gradient(145deg,#171f27,#11151b)}
.portrait-wrap{width:165px;height:220px;min-height:0;background:transparent;border-radius:0;overflow:visible;align-self:end;display:flex;align-items:flex-end}
.portrait-wrap img{width:100%;height:100%;object-fit:contain;object-position:center bottom;border-radius:0;filter:drop-shadow(0 8px 20px #0005)}
.profile-copy{position:relative;z-index:1}
.profile-copy p{max-width:280px}
.profile .corner-mark{z-index:2}
.stat strong{font-size:78px}
.now{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:17px;padding:28px 30px}
.now-main{width:100%}
.now .tile-top{max-width:100%;margin-bottom:2px}
.now h2{font-size:clamp(29px,3.4vw,40px);line-height:1.12;max-width:850px;margin:10px 0}
.now-main>p{font-size:12px;color:#aeb5bf;margin:0}
.company-panel{width:100%;max-width:none;display:flex;align-items:center;gap:12px;padding:13px 16px;background:#ffffff08;border:1px solid #ffffff12;border-radius:13px}
.company-panel .company-mark{width:36px;height:36px;border-radius:10px;font-size:18px}
.company-panel strong{font-size:15px;margin-bottom:2px}
.company-panel small{display:inline-block;font-size:11px;margin-right:18px}
.project-ai{background:radial-gradient(circle at 85% 20%,#285b6655,transparent 45%),#172126}
.project-team{background:radial-gradient(circle at 85% 20%,#4b4a7950,transparent 45%),#1b1b28}
.project-team h3{font-size:22px}
@media(max-width:850px){
  .profile{grid-template-columns:minmax(0,1fr) 130px}
  .portrait-wrap{width:130px;height:185px}
  .now{gap:14px}
  .now h2{font-size:30px}
}
@media(max-width:580px){
  .hero-foot{display:none!important}
  .profile{grid-template-columns:minmax(0,1fr) 118px;min-height:220px;padding:16px}
  .portrait-wrap{width:118px;height:170px;min-height:0}
  .profile-copy p{font-size:9px}
  .profile-note{white-space:normal}
  .now{display:flex;flex-direction:column;align-items:stretch;gap:15px;padding:22px}
  .now h2{font-size:27px}
  .company-panel small{display:block;margin-right:0}
}


/* V4 layout corrections: compact profile tile, transparent portrait, balanced current-role split */
.hero-grid{grid-template-rows:410px 245px 230px}
.profile{
  height:270px;
  align-self:center;
  grid-template-columns:minmax(0,1fr) 150px;
  grid-template-rows:1fr;
  gap:10px;
  padding:18px 20px;
  background:linear-gradient(145deg,#17232b 0%,#11171c 78%);
  overflow:hidden;
}
.profile-copy{align-self:center}
.profile-copy .eyebrow{display:block;margin-bottom:10px}
.profile-copy h2{font-size:22px;margin:0 0 10px}
.profile-copy p{font-size:10px;line-height:1.65;max-width:260px;margin:0}
.profile-note{font-size:7px;margin-top:13px}
.portrait-wrap{
  width:150px;height:205px;min-height:0;
  align-self:center;justify-self:end;
  background:transparent;border-radius:0;overflow:visible;
}
.portrait-wrap img{
  width:100%;height:100%;object-fit:contain;object-position:center bottom;
  border-radius:0;filter:drop-shadow(0 8px 16px #0005);
}
.profile .corner-mark{right:13px;bottom:10px}
.now{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,36%);
  align-items:center;
  gap:34px;
  padding:27px 30px;
  min-height:230px;
}
.now-main{min-width:0}
.now .tile-top{margin-bottom:13px}
.now h2{font-size:clamp(30px,3.2vw,40px);line-height:1.12;letter-spacing:-1.7px;margin:0 0 10px;max-width:700px}
.now-main>p{font-size:13px;color:#aeb5bf;margin:0}
.company-panel{
  width:100%;min-height:112px;
  display:flex;align-items:center;gap:15px;
  padding:22px 20px;
  background:#ffffff09;border:1px solid #ffffff18;border-radius:16px;
}
.company-panel .company-mark{width:48px;height:48px;border-radius:13px;font-size:22px;flex:0 0 auto}
.company-details{min-width:0}
.company-details strong{display:block;font-size:18px;line-height:1.3;color:#f3f5f7;margin-bottom:5px}
.company-details span{display:block;font-size:12px;line-height:1.65;color:#a6aeb9}
.company-panel .arrow{display:none}
@media(max-width:850px){
  .profile{height:245px;grid-template-columns:minmax(0,1fr) 125px}
  .portrait-wrap{width:125px;height:180px}
  .now{grid-template-columns:minmax(0,1fr) 250px;gap:20px}
  .now h2{font-size:30px}
  .company-panel{padding:17px 14px}
}
@media(max-width:580px){
  .hero-grid{grid-template-rows:auto}
  .profile{height:230px;min-height:0;grid-template-columns:minmax(0,1fr) 112px;padding:16px;gap:8px}
  .portrait-wrap{width:112px;height:165px}
  .profile-copy h2{font-size:17px}
  .profile-copy p{font-size:9px}
  .profile-note{font-size:6px;white-space:normal}
  .now{display:grid;grid-template-columns:1fr;gap:18px;padding:22px;min-height:0}
  .now h2{font-size:27px}
  .company-panel{min-height:90px}
  .company-details strong{font-size:16px}
  .company-details span{font-size:11px}
}


/* V5: natural skin tones + align the employer card directly under its status label */
.company-side{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  gap:18px;
  min-width:0;
}
.company-side>.live{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding-left:4px;
  font-size:9px;
}
.company-side .company-panel{
  margin:0;
  width:100%;
  min-height:112px;
}
@media(max-width:580px){
  .company-side{gap:12px}
  .company-side>.live{font-size:8px}
  .company-side .company-panel{min-height:90px}
}


/* V6: use the full right-hand grid cell so the profile card doesn't float in empty space */
@media(min-width:851px){
  .profile{
    height:100%;
    min-height:0;
    align-self:stretch;
    grid-template-columns:minmax(0,1fr) 172px;
    padding:26px 24px;
    gap:18px;
  }
  .profile-copy{max-width:100%}
  .profile-copy h2{font-size:24px}
  .profile-copy p{font-size:11px;max-width:290px;line-height:1.75}
  .profile-note{font-size:8px;letter-spacing:.55px}
  .portrait-wrap{width:172px;height:238px;align-self:center}
}
@media(min-width:851px) and (max-width:1050px){
  .profile{grid-template-columns:minmax(0,1fr) 140px;padding:20px;gap:12px}
  .portrait-wrap{width:140px;height:205px}
  .profile-copy h2{font-size:21px}
  .profile-copy p{font-size:10px}
  .profile-note{font-size:7px}
}


/* V7: requested vertical profile card — portrait first, introduction directly underneath */
@media(min-width:581px){
  .profile{
    height:100%;
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:18px 26px 22px;
    text-align:center;
    background:linear-gradient(155deg,#17232b 0%,#11171c 82%);
  }
  .profile .portrait-wrap{
    order:0;
    width:138px;
    height:154px;
    min-height:0;
    flex:0 0 154px;
    align-self:center;
    justify-self:auto;
    overflow:visible;
    border-radius:0;
    background:transparent;
  }
  .profile .portrait-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center bottom;
    border-radius:0;
    filter:drop-shadow(0 7px 13px #0004);
  }
  .profile .profile-copy{
    order:1;
    width:100%;
    min-width:0;
    text-align:center;
  }
  .profile-copy .eyebrow{margin:0 0 6px}
  .profile-copy h2{font-size:21px;line-height:1.18;margin:0 0 7px}
  .profile-copy p{font-size:10px;line-height:1.6;max-width:340px;margin:0 auto}
  .profile-note{font-size:7px;letter-spacing:.55px;margin-top:9px;white-space:normal}
  .profile .corner-mark{right:14px;bottom:10px}
}
@media(max-width:580px){
  .profile{
    height:auto;
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:20px 18px 24px;
    text-align:center;
  }
  .profile .portrait-wrap{
    order:0;
    width:126px;
    height:140px;
    min-height:0;
    flex:0 0 140px;
    align-self:center;
    overflow:visible;
    border-radius:0;
    background:transparent;
  }
  .profile .portrait-wrap img{
    width:100%;height:100%;object-fit:contain;object-position:center bottom;
    border-radius:0;filter:drop-shadow(0 6px 12px #0004)
  }
  .profile .profile-copy{order:1;width:100%;text-align:center}
  .profile-copy .eyebrow{margin:0 0 6px}
  .profile-copy h2{font-size:19px;margin:0 0 7px}
  .profile-copy p{font-size:10px;max-width:320px;margin:0 auto;line-height:1.65}
  .profile-note{font-size:7px;white-space:normal;margin-top:9px}
}


/* V8: larger, more prominent portrait; compact the copy beneath it */
@media(min-width:851px){
  .profile{
    height:100%;
    min-height:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:3px;
    padding:14px 24px 20px;
    text-align:center;
  }
  .profile .portrait-wrap{
    order:0;
    width:228px;
    height:242px;
    min-height:0;
    flex:0 0 242px;
    align-self:center;
    overflow:visible;
    background:transparent;
  }
  .profile .portrait-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center bottom;
    filter:drop-shadow(0 8px 15px #0004);
  }
  .profile .profile-copy{
    order:1;
    width:100%;
    text-align:center;
  }
  .profile-copy .eyebrow{margin:0 0 5px}
  .profile-copy h2{font-size:21px;line-height:1.12;margin:0 0 5px}
  .profile-copy p{font-size:10px;line-height:1.45;max-width:360px;margin:0 auto}
  .profile-note{font-size:7px;margin-top:7px}
}
@media(min-width:851px) and (max-width:1050px){
  .profile .portrait-wrap{width:200px;height:220px;flex-basis:220px}
  .profile-copy h2{font-size:19px}
  .profile-copy p{font-size:9px}
}
@media(max-width:580px){
  .profile{
    gap:4px;
    padding:14px 16px 22px;
  }
  .profile .portrait-wrap{
    width:190px;
    height:205px;
    flex-basis:205px;
  }
  .profile-copy h2{font-size:19px}
  .profile-copy p{font-size:10px;line-height:1.55}
}


/* V9: stronger About-card hierarchy — larger portrait and readable supporting copy */
@media(min-width:851px){
  .profile{
    height:100%;
    min-height:0;
    padding:12px 24px 19px;
    gap:2px;
    justify-content:flex-start;
  }
  .profile .portrait-wrap{
    width:250px;
    height:222px;
    min-height:0;
    flex:0 0 222px;
    margin:0 auto;
    overflow:visible;
    background:transparent;
  }
  .profile .portrait-wrap img{
    width:100%;
    height:100%;
    object-fit:contain;
    object-position:center bottom;
    filter:drop-shadow(0 7px 13px #0003);
  }
  .profile-copy{width:100%;text-align:center}
  .profile-copy .eyebrow{font-size:10px;letter-spacing:1.6px;margin:0 0 7px}
  .profile-copy h2{font-size:25px;line-height:1.16;letter-spacing:-1px;margin:0 0 8px}
  .profile-copy p{font-size:12px;line-height:1.6;max-width:390px;margin:0 auto}
  .profile-note{font-size:9px;letter-spacing:.75px;margin-top:11px}
}
@media(min-width:851px) and (max-width:1050px){
  .profile .portrait-wrap{width:220px;height:205px;flex-basis:205px}
  .profile-copy h2{font-size:22px}
  .profile-copy p{font-size:11px}
  .profile-note{font-size:8px}
}
@media(max-width:850px){
  .profile{
    gap:4px;
    padding:16px 18px 22px;
  }
  .profile .portrait-wrap{
    width:220px;
    height:205px;
    min-height:0;
    flex:0 0 205px;
    margin:0 auto;
    background:transparent;
    overflow:visible;
  }
  .profile .portrait-wrap img{width:100%;height:100%;object-fit:contain;object-position:center bottom}
  .profile-copy .eyebrow{font-size:10px;margin-bottom:7px}
  .profile-copy h2{font-size:23px;line-height:1.15;margin:0 0 7px}
  .profile-copy p{font-size:11px;line-height:1.6;max-width:360px;margin:0 auto}
  .profile-note{font-size:8px;letter-spacing:.55px;margin-top:9px}
}
@media(max-width:580px){
  .profile .portrait-wrap{width:190px;height:180px;flex-basis:180px}
  .profile-copy h2{font-size:21px}
  .profile-copy p{font-size:11px}
  .profile-note{font-size:8px}
}
