:root{
  --bg:#080808;
  --panel:#0d0d0e;
  --soft:#151516;
  --text:#f2f2f2;
  --muted:#99999e;
  --line:#242426;
  --red:#ef293d;
  --red-deep:#870c19;
  --max:1440px;
}

*{
  box-sizing:border-box;
}
html{
  scroll-behavior:smooth;
  scroll-padding-top:88px;
}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x:hidden;
}
a{
  color:inherit;
  text-decoration:none;
}
button{
  font:inherit;
}
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.noise{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:80;
  opacity:.035;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}
.cursor-glow{
  position:fixed;
  width:420px;
  height:420px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(238,30,53,.07),transparent 65%);
  pointer-events:none;
  z-index:0;
  transform:translate(-50%,-50%);
}

.site-header{
  height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:var(--max);
  width:100%;
  margin:auto;
  padding:0 42px;
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  transition:transform .28s ease,opacity .28s ease,background .28s ease;
  opacity:1;
  background:rgba(8,8,8,.18);
  backdrop-filter:blur(10px);
}
.site-header.is-hidden{
  transform:translateY(-120%);
  opacity:0;
  pointer-events:none;
}

.site-header{
  max-width:none;
  height:76px;
  padding:0 clamp(24px,5vw,72px);
  background:linear-gradient(180deg,rgba(8,8,8,.96),rgba(8,8,8,.78));
  border-bottom:1px solid rgba(255,255,255,.075);
  box-shadow:0 12px 35px rgba(0,0,0,.18);
  backdrop-filter:blur(18px) saturate(125%);
  -webkit-backdrop-filter:blur(18px) saturate(125%);
  transition:transform .34s cubic-bezier(.22,.61,.36,1),opacity .25s ease,
             background .25s ease,border-color .25s ease;
  will-change:transform;
}
.site-header.is-scrolled{
  background:rgba(8,8,8,.9);
  border-bottom-color:rgba(239,41,61,.2);
  box-shadow:0 15px 40px rgba(0,0,0,.4);
}
.site-header .logo{
  flex:0 0 auto;
  color:#fff;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.045em;
}
.site-header .logo span{
  color:var(--red);
}
.site-header nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(20px,2.4vw,38px);
  margin:0 auto;
}
.site-header nav a{
  position:relative;
  padding:28px 0 25px;
  color:#aaaab0;
  font-size:11px;
  font-weight:750;
  line-height:1;
  letter-spacing:.13em;
  text-transform:uppercase;
  transition:color .22s ease;
}
.site-header nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:18px;
  height:2px;
  background:var(--red);
  transition:right .25s ease;
}
.site-header nav a:hover,
.site-header nav a.active{
  color:#fff;
}
.site-header nav a:hover::after,
.site-header nav a.active::after{
  right:0;
}
.site-header .contact-pill{
  flex:0 0 auto;
  padding:10px 15px;
  border:1px solid rgba(239,41,61,.55);
  border-radius:999px;
  color:#f1f1f3;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:background .22s ease,border-color .22s ease,color .22s ease;
}
.site-header .contact-pill:hover{
  background:var(--red);
  border-color:var(--red);
  color:#fff;
}
.menu-button{
  display:none;
}

.hero{
  min-height:900px;
  max-width:none;
  width:100%;
  margin:auto;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid #19191a;
  background:linear-gradient(90deg,rgba(0,0,0,.42),rgba(0,0,0,.14) 28%,rgba(0,0,0,.22) 100%),linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.28)),url("./assets/hero-scene.png") center center/cover no-repeat;
}
.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 60% 42%,rgba(255,18,38,.18),transparent 34%),linear-gradient(90deg,rgba(255,255,255,.01) 1px,transparent 1px);
  background-size:100% 100%,150px 100%;
  mask-image:linear-gradient(to right,transparent,black,transparent);
  opacity:.5;
}
.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 65% 42%,rgba(255,18,36,.28) 0%,rgba(180,0,18,.15) 22%,transparent 42%);
  pointer-events:none;
}
.hero-copy{
  position:relative;
  z-index:5;
  width:52%;
  padding:160px 0 70px max(6vw,70px);
}
.eyebrow,.section-index{
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.38em;
  font-size:12px;
  font-weight:600;
}
.hero h1,.section h2{
  font-size:clamp(64px,6.3vw,104px);
  line-height:.88;
  letter-spacing:-.07em;
  text-transform:uppercase;
  margin:28px 0 25px;
  font-weight:900;
}
.hero h1 span,.section h2 span{
  color:var(--red);
}
.hero-text{
  max-width:480px;
  color:#b5b5b9;
  font-size:17px;
  line-height:1.65;
}
.hero-actions{
  display:flex;
  align-items:center;
  margin-top:38px;
}
.round-arrow{
  width:76px;
  height:76px;
  border:1px solid var(--red);
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:28px;
  transition:.35s;
}
.round-arrow:hover{
  background:var(--red);
  transform:rotate(-45deg);
}
.text-link{
  font-size:13px;
  font-weight:700;
  text-transform:uppercase;
  margin-left:26px;
  display:flex;
  align-items:center;
  gap:18px;
}
.text-link i{
  display:block;
  width:70px;
  height:1px;
  background:linear-gradient(to right,#777,transparent);
}
.hero-proof{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  max-width:520px;
  margin-top:86px;
}
.hero-proof div{
  border-top:1px solid #444;
  padding-top:14px;
}
.hero-proof strong{
  font-size:12px;
  margin-right:13px;
}
.hero-proof span{
  color:#888;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.hero-visual{
  display:none;
}
.orb{
  position:absolute;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#f03946,#9d101d 55%,#3c0308);
  box-shadow:inset -30px -30px 70px rgba(0,0,0,.4),0 0 90px rgba(205,10,29,.1);
}
.orb-main{
  width:min(950px,72vw);
  height:min(950px,72vw);
  top:-30px;
  right:5%;
  filter:blur(2px) saturate(1.2);
  animation:orbPulse 9s ease-in-out infinite alternate;
}
.orb-small{
  width:260px;
  height:260px;
  bottom:20px;
  left:12%;
  opacity:.75;
  animation:orbFloat 12s ease-in-out infinite alternate;
}
.grid-sphere{
  position:absolute;
  width:620px;
  height:620px;
  right:5%;
  bottom:-230px;
  border-radius:50%;
  background-image:linear-gradient(rgba(239,41,61,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(239,41,61,.12) 1px,transparent 1px);
  background-size:26px 26px;
  transform:perspective(600px) rotateX(65deg);
  opacity:.25;
  animation:gridDrift 14s ease-in-out infinite alternate;
}
.side-words{
  position:absolute;
  z-index:6;
  right:2%;
  padding-left:18px;
  border-left:1px solid #6c6c70;
  display:flex;
  flex-direction:column;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:11px;
  line-height:1.75;
  color:#aaa;
}
.side-words span{
  display:block;
  transition:transform .3s ease,color .3s ease;
}
.side-words span:hover{
  color:#fff;
  transform:translateX(-4px);
}
.side-words-top{
  top:80px;
}
.side-words-bottom{
  bottom:70px;
  border-color:var(--red);
}
.scroll-cue{
  position:absolute;
  right:35px;
  bottom:30px;
  z-index:8;
  display:flex;
  align-items:center;
  gap:14px;
  transform:rotate(90deg);
  transform-origin:right bottom;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.18em;
  color:#777;
}
.scroll-cue i{
  width:55px;
  height:1px;
  background:#555;
}
@keyframes orbitPulse{
  0% { transform:scale(.98) translateY(0); }
  100% { transform:scale(1.04) translateY(-10px); }
}
@keyframes orbPulse{
  0% { transform:scale(.96); filter:blur(2px) saturate(1.1); }
  100% { transform:scale(1.06); filter:blur(1px) saturate(1.35); }
}
@keyframes orbFloat{
  0% { transform:translate(-6px,0px); }
  100% { transform:translate(8px,-10px); }
}
@keyframes gridDrift{
  0% { transform:perspective(600px) rotateX(65deg) translate3d(0,0,0); }
  100% { transform:perspective(600px) rotateX(65deg) translate3d(-10px,-8px,0); }
}
@keyframes imageFloat{
  0% { transform:translate3d(0,0,0) scale(1.01) rotate(-0.25deg); }
  50% { transform:translate3d(-7px,-9px,0) scale(1.025) rotate(0.2deg); }
  100% { transform:translate3d(7px,-14px,0) scale(1.035) rotate(0.15deg); }
}
@keyframes sceneGlow{
  0% { transform:scale(0.97) translateY(0); opacity:.8; }
  100% { transform:scale(1.04) translateY(-10px); opacity:1; }
}

.section{
  max-width:var(--max);
  margin:auto;
  padding:120px max(6vw,70px);
  position:relative;
}
.section-index{
  color:#bbb;
  letter-spacing:.25em;
}
.section-index:first-letter{
  color:var(--red);
}
.section h2{
  font-size:clamp(48px,5vw,76px);
  margin:26px 0 28px;
}
.about{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:90px;
}
.section-heading>p:not(.section-index){
  max-width:550px;
  color:var(--muted);
  font-size:16px;
  line-height:1.8;
}
.inline-link{
  display:inline-block;
  margin-top:18px;
  color:#ddd;
  border-bottom:1px solid var(--red);
  padding-bottom:7px;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.about-panel{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:center;
}
.terminal-card{
  border:1px solid #2b171a;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(155deg,#130d0e,#090909);
  box-shadow:0 24px 70px rgba(0,0,0,.5);
}
.terminal-bar{
  height:49px;
  border-bottom:1px solid #28181a;
  display:flex;
  align-items:center;
  padding:0 18px;
  gap:7px;
  color:#606064;
  font-family:monospace;
  font-size:11px;
}
.terminal-bar i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#3e292c;
}
.terminal-bar i:first-child{
  background:var(--red);
}
.terminal-bar span{
  margin-left:auto;
}
.terminal-body{
  padding:32px 28px;
  min-height:390px;
  font:14px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;
}
.terminal-body p{
  margin:0 0 7px;
}
.terminal-body b{
  color:var(--red);
}
.terminal-body .output{
  color:#89898e;
  margin:0 0 24px 17px;
}
.terminal-body .accent{
  color:#ddd;
}
.caret{
  color:var(--red);
  animation:blink 1s step-end infinite;
}
@keyframes blink{
50%{
  opacity:0;
}
}
.focus-list{
  display:grid;
  gap:14px;
}
.focus-list article{
  display:grid;
  grid-template-columns:38px 1fr;
  gap:14px;
  padding:20px 0;
  border-bottom:1px solid var(--line);
}
.focus-list article>span{
  color:var(--red);
  font-size:11px;
  padding-top:3px;
}
.focus-list h3{
  margin:0 0 5px;
  font-size:15px;
}
.focus-list p{
  margin:0;
  color:#777;
  font-size:12px;
  line-height:1.5;
}

.projects{
  max-width:none;
  background:#0b0b0c;
  padding-left:max(6vw,calc((100vw - 1260px)/2));
  padding-right:max(6vw,calc((100vw - 1260px)/2));
}
.section-top{
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:80px;
  align-items:end;
  margin-bottom:55px;
}
.section-top>p{
  color:var(--muted);
  line-height:1.7;
  max-width:420px;
  padding-bottom:8px;
}
.project-grid{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr;
  gap:18px;
}
.project-card{
  min-height:500px;
  border:1px solid var(--line);
  padding:32px;
  position:relative;
  overflow:hidden;
  background:linear-gradient(150deg,#111112,#0b0b0c);
  transition:transform .35s,border-color .35s;
}
.project-card:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 18% 18%,rgba(239,41,61,.16),transparent 28%),radial-gradient(circle at 75% 15%,rgba(239,41,61,.12),transparent 26%),radial-gradient(circle at 50% 100%,rgba(239,41,61,.08),transparent 38%);
  pointer-events:none;
  z-index:0;
}
.project-card > *{
  position:relative;
  z-index:1;
}
.project-card:hover{
  transform:translateY(-8px);
  border-color:#6b222b;
}
.project-featured{
  background:radial-gradient(circle at 80% 12%,rgba(239,41,61,.18),transparent 26%),linear-gradient(145deg,#170c0e,#0b0b0c);
}
.project-number{
  position:absolute;
  right:25px;
  top:25px;
  font-size:11px;
  color:#555;
}
.project-tag{
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:10px;
  margin-bottom:75px;
}
.project-card h3{
  font-size:34px;
  line-height:1.05;
  text-transform:uppercase;
  letter-spacing:-.04em;
  margin:0 0 22px;
}
.project-card p{
  color:#89898e;
  line-height:1.7;
  font-size:14px;
}
.project-card ul{
  list-style:none;
  padding:0;
  margin:25px 0;
}
.project-card li{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#b3b3b5;
  padding:9px 0;
  border-bottom:1px solid #202022;
}
.project-card li:before{
  content:"+";
  color:var(--red);
  margin-right:9px;
}
.project-card>a{
  position:absolute;
  left:32px;
  bottom:28px;
  color:#ddd;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.project-mark{
  position:absolute;
  right:-18px;
  bottom:18px;
  font-size:32px;
  font-weight:900;
  color:#211416;
  transform:rotate(-90deg);
  transform-origin:right bottom;
}
.project-mark span{
  color:var(--red);
}

.certifications{
  display:grid;
  grid-template-columns:.75fr 1.25fr;
  gap:90px;
}
.cert-intro>p:last-child{
  color:var(--muted);
  max-width:320px;
  line-height:1.7;
}
.cert-list article{
  display:grid;
  grid-template-columns:150px 1fr 35px;
  gap:25px;
  align-items:center;
  padding:30px 0;
  border-top:1px solid var(--line);
}
.cert-list article:last-child{
  border-bottom:1px solid var(--line);
}
.cert-list h3{
  font-size:25px;
  margin:0 0 7px;
}
.cert-list p{
  color:#7d7d82;
  margin:0;
  font-size:13px;
}
.cert-list article>span{
  color:#555;
  font-size:12px;
}
.cert-status{
  justify-self:start;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.11em;
  padding:8px 10px;
  border:1px solid #313135;
  border-radius:2px;
}
.cert-status.complete{
  color:#eee;
  border-color:#5e2229;
}
.cert-status.progress{
  color:var(--red);
}

.notes{
  max-width:none;
  background:#0b0b0c;
  padding-left:max(6vw,calc((100vw - 1260px)/2));
  padding-right:max(6vw,calc((100vw - 1260px)/2));
}
.notes-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.notes-card{
  min-height:340px;
  display:flex;
  flex-direction:column;
  background:#111112;
  border:1px solid var(--line);
  padding:30px;
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
.notes-card:hover{
  transform:translateY(-3px);
  border-color:var(--red);
  box-shadow:0 12px 30px rgba(0,0,0,.18);
}
.notes-card:hover .notes-card-icon{
  box-shadow:0 0 16px rgba(239,41,61,.28);
}
.notes-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom:44px;
}
.notes-card-icon{
  font-size:23px;
  line-height:1.3;
  margin:50px 0 32px;
}
.notes-card-icon{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  color:var(--red);
  border:1px solid #72232d;
}
.notes-card-icon svg{
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-width:1.4;
}
.notes-card-number{
  color:#555;
  font-size:11px;
  letter-spacing:.1em;
}
.notes-card h3{
  margin:0 0 16px;
  font-size:23px;
  line-height:1.12;
  text-transform:uppercase;
  letter-spacing:-.03em;
}
.notes-card>p{
  margin:0;
  color:#8b8b90;
  font-size:13px;
  line-height:1.7;
  max-width:34em;
}
.notes-card-footer{
  margin-top:auto;
  padding-top:20px;
  border-top:1px solid #2a2a2c;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.notes-card-footer span{
  color:var(--red);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:10px;
}
.notes-card-footer strong{
  color:#c5c5c8;
  font-size:12px;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.03em;
}
.notes h2 span{
  color:var(--red);
}
.contact{
  text-align:center;
}
.contact .section-index,
.contact h2,
.contact>p:not(.section-index){
  text-align:center;
}
.contact>p:not(.section-index){
  margin-left:auto;
  margin-right:auto;
}
.contact h2{
  position:relative;
  z-index:2;
}
.contact>p:not(.section-index){
  color:var(--muted);
  font-size:16px;
  max-width:590px;
  line-height:1.7;
  position:relative;
  z-index:2;
}
.contact-orb{
  position:absolute;
  width:min(460px,calc(100% - 48px));
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,#521018 0%,#1a090c 45%,transparent 70%);
  filter:blur(5px);
  opacity:.6;
}
.contact-cta{
  position:relative;
  z-index:2;
  margin-top:32px;
  width:min(100%,430px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 26px;
  border:1px solid #603139;
  border-radius:99px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  transition:.3s;
}
.contact-cta b{
  font-size:20px;
  color:var(--red);
}
.contact-cta:hover{
  background:var(--red);
  border-color:var(--red);
}
.contact-cta:hover b{
  color:#fff;
}
footer{
  height:110px;
  max-width:var(--max);
  margin:auto;
  padding:0 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  color:#777;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
footer .logo{
  color:#fff;
}
footer>a:last-child:hover{
  color:var(--red);
}

.reveal.reveal-pending{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .75s ease,transform .75s ease;
}
.reveal.reveal-pending.visible{
  opacity:1;
  transform:none;
}

@media(max-width:1100px){
.site-header{
  padding:0 24px;
}
.site-header nav{
  gap:22px;
}
.hero{
  min-height:820px;
}
.hero-copy{
  padding-left:45px;
  width:58%;
}
.hero-visual{
  left:44%;
}
.hero-visual img{
  right:-15%;
  opacity:.78;
}
.side-words{
  display:none;
}
.section{
  padding:90px 45px;
}
.about{
  grid-template-columns:1fr;
}
.about-panel{
  max-width:850px;
}
.project-grid{
  grid-template-columns:1fr 1fr;
}
.project-featured{
  grid-column:span 2;
}
.certifications{
  grid-template-columns:1fr;
}
.notes-grid{
  grid-template-columns:1fr 1fr;
}
.notes-grid article:last-child{
  grid-column:auto;
}
}

@media(max-width:760px){
html{
  scroll-padding-top:70px;
}
.cursor-glow{
  display:none;
}
.site-header{
  height:70px;
  position:fixed;
  background:rgba(8,8,8,.9);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #1c1c1d;
}
.logo{
  font-size:25px;
}
.contact-pill{
  display:none;
}
.menu-button{
  display:block;
  position:relative;
  z-index:3;
}
.site-header nav{
  position:fixed;
  inset:70px 0 auto;
  background:#0a0a0b;
  padding:15px 24px 28px;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  border-bottom:1px solid #28282a;
  transform:translateY(-130%);
  transition:.35s;
  z-index:-1;
}
.site-header nav.open{
  transform:none;
}
.site-header nav a{
  padding:15px 0;
  font-size:14px;
}
.site-header nav a:after{
  bottom:7px;
}
.hero{
  min-height:840px;
  padding-top:70px;
}
.hero-copy{
  width:100%;
  padding:75px 24px 30px;
}
.hero h1{
  font-size:clamp(53px,16vw,78px);
  position:relative;
  z-index:6;
}
.eyebrow{
  font-size:10px;
}
.hero-text{
  font-size:15px;
  max-width:90%;
  position:relative;
  z-index:7;
}
.hero-actions{
  position:relative;
  z-index:8;
}
.round-arrow{
  width:62px;
  height:62px;
}
.text-link i{
  width:28px;
}
.hero-proof{
  margin-top:55px;
  gap:10px;
  position:relative;
  z-index:8;
}
.hero-proof div{
  display:flex;
  flex-direction:column;
  gap:7px;
}
.hero-proof span{
  font-size:9px;
}
.hero-visual{
  inset:auto -80px 0 22%;
  height:520px;
}
.hero-visual:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:5;
  background:linear-gradient(to bottom,rgba(8,8,8,.8),transparent 32%,rgba(8,8,8,.15));
}
.hero-visual img{
  height:520px;
  right:-10px;
  bottom:-5px;
  opacity:.7;
}
.orb-main{
  width:360px;
  height:360px;
  right:0;
  top:70px;
}
.orb-small,.grid-sphere,.scroll-cue{
  display:none;
}
.section{
  padding:80px 24px;
}
.section h2{
  font-size:48px;
}
.about-panel{
  grid-template-columns:1fr;
}
.terminal-body{
  min-height:340px;
}
.section-top{
  grid-template-columns:1fr;
  gap:10px;
}
.project-grid{
  grid-template-columns:1fr;
}
.project-featured{
  grid-column:auto;
}
.project-card{
  min-height:460px;
}
.cert-list article{
  grid-template-columns:1fr 34px;
  gap:10px;
}
.cert-status{
  grid-column:1;
}
.cert-list article>span{
  grid-column:2;
  grid-row:1;
}
.notes-grid{
  grid-template-columns:1fr;
}
.notes-grid article:last-child{
  grid-column:auto;
}
.notes-grid article{
  min-height:230px;
}
.notes-grid h3{
  margin-top:35px;
}
.contact{
  min-height:600px;
}
footer{
  height:auto;
  min-height:180px;
  padding:35px 24px;
  flex-direction:column;
  gap:20px;
  text-align:center;
}
}

@media(prefers-reduced-motion:reduce){
html{
  scroll-behavior:auto;
}
.reveal.reveal-pending{
  opacity:1;
  transform:none;
  transition:none;
}
.caret{
  animation:none;
}
.round-arrow,.project-card,.notes-card,.site-header{
  transition:none;
}
}

.life-score{
  margin:15px 0 0;
  color:#7f7f84;
  font:600 12px/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.life-score span{
  color:var(--red);
  font-size:16px;
}
.hero-actions{
  margin-top:32px;
}
.hero-visual{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-right:2%;
}
.hero-visual img{
  position:relative;
  width:min(760px,60vw);
  height:auto;
  max-height:none;
  right:auto;
  bottom:auto;
  filter:drop-shadow(-16px 24px 46px #000);
  mask-image:linear-gradient(90deg,transparent 0,#000 12%,#000 100%);
}
.hero-visual .orb,.hero-visual .grid-sphere,.hero-visual .side-words{
  display:none;
}
.section-heading blockquote{
  margin:28px 0 0;
  padding:0 0 0 20px;
  border-left:2px solid var(--red);
  color:#dedee0;
  font-size:17px;
  line-height:1.65;
}
.section-heading blockquote cite{
  display:block;
  margin-top:8px;
  color:#777;
  font-size:11px;
  font-style:normal;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.cert-list article{
  display:block;
  padding:0;
}
.cert-row{
  display:grid;
  grid-template-columns:150px 1fr 35px;
  gap:25px;
  align-items:center;
  padding:30px 0;
}
.cert-row>span{
  color:#555;
  font-size:12px;
}
.cert-list a.cert-row{
  transition:background .25s,padding .25s;
}
.cert-list a.cert-row:hover{
  background:#100c0d;
  padding-left:14px;
  padding-right:14px;
}
.progress-track{
  height:3px;
  margin-top:14px;
  background:#232326;
  position:relative;
  overflow:visible;
}
.progress-track i{
  display:block;
  height:100%;
  background:var(--red);
  box-shadow:0 0 12px rgba(239,41,61,.6);
}
.progress-track span{
  position:absolute;
  left:100%;
  top:50%;
  transform:translate(8px,-50%);
  color:#777;
  font-size:11px;
  line-height:1;
  white-space:nowrap;
}
.semester-track{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:6px;
  margin-top:14px;
}
.semester-segment{
  display:grid;
  gap:6px;
  justify-items:stretch;
}
.semester-segment>span{
  color:#777;
  font-size:10px;
  line-height:1;
  text-align:center;
  white-space:nowrap;
}
.semester-track i{
  display:block;
  height:5px;
  background:#29292c;
  border:1px solid #3a3a3d;
  transition:background .25s ease,box-shadow .25s ease;
}
.semester-track i.is-complete{
  background:var(--red);
  border-color:var(--red);
  box-shadow:0 0 12px rgba(239,41,61,.6);
}
.social-links{
  position:relative;
  z-index:2;
  margin:32px auto 0;
  width:min(100%,620px);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.social-links>a,.social-links>div{
  min-height:76px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 20px;
  border:1px solid #603139;
  border-radius:4px;
  text-transform:uppercase;
  letter-spacing:.1em;
  font-size:11px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
  box-shadow:0 0 0 rgba(239,41,61,0);
  position:relative;
  overflow:hidden;
}
.social-links>a:before{
  content:"";
  position:absolute;
  inset:0 auto 0 -120%;
  width:70%;
  background:linear-gradient(105deg,transparent,rgba(255,255,255,.22),transparent);
  transform:skewX(-18deg);
  transition:left .5s ease;
  pointer-events:none;
}
.social-label{
  display:flex;
  align-items:center;
  gap:10px;
}
.social-label svg{
  width:20px;
  height:20px;
  fill:currentColor;
  flex-shrink:0;
  transition:transform .25s ease;
}
.social-label svg.github-mark{
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.social-links b{
  color:var(--red);
  font-size:13px;
}
.social-links>a:hover{
  background:var(--red);
  border-color:var(--red);
  transform:translateY(-7px) scale(1.025);
  box-shadow:0 14px 32px rgba(239,41,61,.3),0 0 18px rgba(239,41,61,.18);
}
.social-links>a:hover:before{
  left:135%;
}
.social-links>a:hover .social-label svg{
  transform:translateX(3px) rotate(-8deg) scale(1.12);
}
.social-links>a:hover b{
  color:white;
  transform:translateX(4px);
}
.social-links>div{
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:8px;
}
.social-links>div b{
  text-transform:none;
  letter-spacing:.05em;
}

@media(max-width:1100px){
.hero-visual{
  left:46%;
  padding-right:0;
}
.hero-visual img{
  width:720px;
  max-width:none;
  opacity:.78;
}
.cert-row{
  grid-template-columns:150px 1fr 35px;
}
}

@media(max-width:760px){
.life-score{
  position:relative;
  z-index:7;
}
.hero-visual{
  inset:auto -150px 0 -30px;
  height:500px;
  justify-content:center;
  padding:0;
}
.hero-visual img{
  width:760px;
  max-width:none;
  height:auto;
  right:auto;
  bottom:auto;
  opacity:.5;
  mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 88%,transparent 100%);
}
.cert-row{
  grid-template-columns:1fr 34px;
  gap:10px;
}
.cert-row .cert-status{
  grid-column:1;
}
.cert-row>span{
  grid-column:2;
  grid-row:1;
}
.social-links{
  grid-template-columns:1fr;
}
.social-links>a,.social-links>div{
  min-height:64px;
}
.social-links>div{
  flex-direction:row;
  align-items:center;
  justify-content:space-between;
}
}

.htb-achievements{grid-column:1/-1;margin-top:clamp(55px,7vw,105px);padding-top:38px;border-top:1px solid var(--line);min-width:0}
.htb-achievements-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:30px}
.htb-eyebrow{color:var(--red);font-size:11px;font-weight:800;letter-spacing:.19em;margin:0 0 15px}
.htb-achievements-head h3{font-size:clamp(29px,4vw,54px);line-height:1.05;letter-spacing:-.055em;margin:0;font-weight:800}
.htb-achievements-head h3 em{font-style:normal;color:var(--red)}
.htb-achievements-head>p{max-width:350px;color:var(--muted);font-size:14px;line-height:1.75;margin:0}
.htb-badge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.htb-badge{min-width:0;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;background:linear-gradient(145deg,#151516,#0d0d0e 70%);border:1px solid #28282b;border-radius:13px;padding:24px;min-height:285px;transition:border-color .25s,transform .25s,box-shadow .25s}
.htb-badge:before{content:'';position:absolute;top:0;left:0;width:44px;height:2px;background:var(--red);opacity:.8;transition:width .25s}
.htb-badge:hover{border-color:#77303a;transform:translateY(-5px);box-shadow:0 14px 35px #0006}
.htb-badge:hover:before{width:100%}
.htb-badge-art{width:104px;height:104px;display:grid;place-items:center;margin:-4px 0 13px;position:relative}
.htb-badge-art:before{content:'';position:absolute;inset:13px;border-radius:50%;background:radial-gradient(circle,#ef293d20,transparent 75%);filter:blur(12px)}
.htb-badge-art img{position:relative;display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 12px #0009);transition:transform .3s}
.htb-badge:hover img{transform:scale(1.08)}
.htb-badge-copy{flex:1}.htb-badge-module{display:block;font-size:10px;line-height:1.5;font-weight:750;letter-spacing:.11em;text-transform:uppercase;color:var(--red);margin-bottom:9px}
.htb-badge h4{font-size:18px;letter-spacing:-.025em;line-height:1.3;margin:0 0 10px;color:var(--text)}
.htb-badge p{font-size:13px;line-height:1.65;color:var(--muted);margin:0 0 18px}
.htb-badge-done{border-top:1px solid #29292c;padding-top:13px;align-self:stretch;font-size:10px;letter-spacing:.14em;font-weight:800;color:#c3c3c7}
.htb-badge-footnote{font-size:11px;color:var(--muted);margin:19px 0 0}
@media(max-width:1050px){.htb-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.htb-achievements-head{display:block}.htb-achievements-head>p{margin-top:18px}.htb-badge-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.htb-badge{padding:16px;min-height:265px}.htb-badge-art{width:82px;height:82px}.htb-badge h4{font-size:16px}}
@media(max-width:480px){.htb-badge-grid{grid-template-columns:1fr}.htb-badge{min-height:0}.htb-badge-art{width:98px;height:98px}}
@media(prefers-reduced-motion:reduce){.htb-badge,.htb-badge img{transition:none}.htb-badge:hover{transform:none}}

.progress-100{width:100%}
.progress-20{width:20%}
.progress-10{width:10%}
a:focus-visible,button:focus-visible{outline:2px solid var(--red);outline-offset:5px}
.site-header:focus-within{transform:none;opacity:1;pointer-events:auto}
@media(max-width:760px){
  .menu-button{width:44px;height:44px;padding:10px;background:transparent;border:1px solid var(--line);border-radius:4px;color:var(--text);cursor:pointer}
  .menu-button>span:not(.sr-only){display:block;height:2px;margin:4px 0;background:currentColor}
  .site-header nav{visibility:hidden;pointer-events:none;max-height:calc(100dvh - 70px);overflow-y:auto}
  .site-header nav.open{visibility:visible;pointer-events:auto}
}
