/* ARMANDO / IDENTITY SYSTEM
   A timeless personal identity pass, not an event lanyard.
   Satin obsidian + machined cobalt, fine microtype, deliberate hierarchy. */

#view-home .portfolio-intro.profile-intro-with-id {
  position:relative;
  isolation:isolate;
  display:grid;
  grid-template-columns:minmax(320px,.82fr) minmax(0,1.35fr);
  align-items:center;
  gap:clamp(55px,7vw,130px);
  width:100%;
  max-width:1700px;
  min-height:clamp(760px,85svh,1050px);
  margin:0 auto;
  padding:clamp(110px,11vw,180px) clamp(25px,7vw,115px) clamp(112px,12vw,185px);
  background:transparent;
}
#view-home .portfolio-intro::before {
  content:"";
  position:absolute;
  z-index:-1;
  left:0;right:0;top:0;bottom:0;
  pointer-events:none;
  background:radial-gradient(ellipse 44% 50% at 20% 55%,rgba(16,65,190,.10),transparent 78%);
}
.profile-id-side {position:relative;isolation:isolate;min-width:0}
.profile-id-side>.eyebrow {
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:25px;
  color:#bed3f5;
  font:750 10px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.profile-id-side>.eyebrow::before {content:"";width:25px;height:1px;background:#4381ff}
.profile-id-scene {
  position:relative;
  isolation:isolate;
  width:min(100%,380px);
  min-height:635px;
  margin:0 auto;
  perspective:1100px;
}
.profile-id-scene::before {
  content:"";
  position:absolute;
  z-index:-1;
  inset:10% -12% 8%;
  pointer-events:none;
  border-radius:50%;
  filter:blur(37px);
  background:radial-gradient(ellipse at center,rgba(24,79,236,.30) 0%,rgba(8,44,156,.13) 39%,transparent 74%);
}
.profile-id-atmosphere {
  position:absolute;
  z-index:0;
  inset:9% 0 1%;
  pointer-events:none;
  opacity:.78;
  background:
    linear-gradient(90deg,transparent 0%,rgba(100,158,255,.21) 49.9%,transparent 50.2%),
    linear-gradient(0deg,transparent 0%,rgba(100,158,255,.16) 49.9%,transparent 50.2%);
  background-size:100% 100%;
  transform:rotate(-3deg) scale(.94);
}
.profile-id-strap,
.profile-id-strap-webbing,
.profile-id-clasp {display:none!important;}
.profile-id-swing {
  position:relative;
  top:auto;left:auto;right:auto;
  z-index:2;
  width:100%;
  margin:0;
  transform:none;
  animation:identityHover 8s ease-in-out infinite;
  transform-origin:50% 50%;
}
.profile-id-card {
  --id-rotate-x:0deg;--id-rotate-y:0deg;
  --id-shine-x:32%;--id-shine-y:17%;
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  width:100%;
  min-height:600px;
  height:auto;
  padding:0;
  border-radius:24px;
  border:1px solid rgba(168,196,245,.36);
  background:
    radial-gradient(ellipse 67% 39% at 9% 8%,rgba(25,61,151,.38),transparent 87%),
    linear-gradient(132deg,#111725 0%,#080d19 40%,#020710 100%);
  color:#f6f9ff;
  box-shadow:0 40px 100px rgba(1,8,35,.74),0 9px 40px rgba(2,26,121,.34),
    inset 0 1px 0 rgba(255,255,255,.17),inset 0 0 0 5px rgba(180,211,255,.027);
  transform:perspective(1200px) rotateZ(-3deg) rotateX(var(--id-rotate-x)) rotateY(var(--id-rotate-y));
  transform-style:preserve-3d;
  transition:transform .24s cubic-bezier(.2,.8,.2,1),box-shadow .24s ease;
  will-change:transform;
}
.profile-id-card::before {
  content:"";
  position:absolute;
  z-index:4;
  inset:0;
  pointer-events:none;
  background:linear-gradient(116deg,transparent 8%,rgba(218,233,255,.085) 24%,transparent 35%,transparent 74%,rgba(153,196,255,.045) 85%,transparent 100%);
}
.profile-id-card::after {
  content:"";
  position:absolute;
  z-index:6;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse at var(--id-shine-x) var(--id-shine-y),rgba(180,217,255,.22),transparent 50%);
  mix-blend-mode:screen;
}
.profile-id-scene:hover .profile-id-card {
  box-shadow:0 50px 115px rgba(1,8,35,.83),0 13px 56px rgba(5,39,151,.4),inset 0 1px 0 rgba(255,255,255,.22);
}
.profile-id-card-top {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:12px;
  height:89px;
  padding:22px 23px 17px;
  border-bottom:1px solid rgba(180,214,255,.19);
  background:transparent;
}
.profile-id-card-heading {display:flex;flex-direction:column;min-width:0;gap:6px}
.profile-id-card-heading strong {
  font:850 13px/1.05 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.055em;
  color:#fff;
  white-space:nowrap;
}
.profile-id-card-heading small {
  font:680 8px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.12em;
  color:#819ecb;
  white-space:nowrap;
}
.profile-id-monogram {
  display:block;
  flex:0 0 auto;
  width:42px;height:42px;
  border-radius:12px;
  border:1px solid rgba(190,218,255,.40);
  background:linear-gradient(138deg,rgba(19,59,161,.7),rgba(2,20,63,.95));
  overflow:hidden;
  box-shadow:0 5px 22px rgba(0,51,182,.22);
}
.profile-id-monogram img {display:block;width:100%;height:100%;object-fit:cover;}
.profile-id-top-mark {
  margin-left:auto;
  align-self:center;
  font:880 12px/1 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.045em;
  color:#7da3ef;
}
.profile-id-card-body {
  display:block;
  flex:none;
  padding:20px 21px 0;
  text-align:left;
}
.profile-id-photo {
  position:relative;
  display:block;
  width:100%;
  height:180px;
  overflow:hidden;
  border-radius:12px;
  border:1px solid rgba(147,187,255,.31);
  outline:0;
  background:
    radial-gradient(ellipse 78% 105% at 47% 88%,rgba(29,102,255,.5),transparent 82%),
    linear-gradient(124deg,#14285b 5%,#08122a 53%,#05112a 100%);
  box-shadow:inset 0 1px 0 rgba(188,218,255,.15);
}
.profile-id-photo::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(7,17,39,.22),transparent 52%,rgba(4,11,24,.64)),
    repeating-linear-gradient(180deg,transparent 0 6px,rgba(176,204,255,.018) 7px 8px);
}
.profile-id-photo img {
  position:relative;
  z-index:1;
  width:100%;height:100%;
  display:block;
  object-fit:contain;
  object-position:center 47%;
  filter:brightness(1.30) contrast(1.11) saturate(.85) drop-shadow(0 0 24px rgba(36,106,255,.5));
  transform:scale(1.07);
}
.profile-id-card-intro {padding:16px 2px 0;}
.profile-id-card-label {
  display:block;
  margin-bottom:7px;
  color:#81abff;
  font:760 8px/1.3 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.16em;
}
.profile-id-person-name {
  display:block;
  margin:0;
  color:#fff;
  font:920 clamp(29px,3.1vw,36px)/.94 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.072em;
  text-align:left;
  text-shadow:0 8px 22px rgba(0,25,80,.3);
}
.profile-id-person-role {
  display:block;
  margin-top:8px;
  color:#adbee5;
  font:780 9px/1.15 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.22em;
  text-align:left;
}
.profile-id-card-meta {
  display:block;
  flex:1 0 auto;
  margin:18px 23px 0;
  padding:13px 0 8px;
  border-top:1px solid rgba(176,204,255,.21);
}
.profile-id-meta-heading {
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin-bottom:9px;
  color:#788caf;
  font:820 8px/1.25 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.14em;
}
.profile-id-card-meta>span {
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
  padding:5px 0;
  color:#e2eaff;
  font:680 11px/1.22 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.012em;
}
.profile-id-card-meta>span>b {
  display:inline-block;
  margin:0;
  color:#4889ff;
  width:24px;
  font:840 10px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.04em;
}
.profile-id-card-footer {
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:51px;
  margin:0 22px;
  padding:9px 0 12px;
  border-top:1px solid rgba(176,204,255,.18);
}
.profile-id-card-serial {
  color:#a7b7d7;
  font:790 8px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.105em;
  white-space:nowrap;
}
.profile-id-barcode {
  display:block;
  flex:0 0 auto;
  width:60px;height:17px;
  opacity:.5;
  background:repeating-linear-gradient(90deg,#a2bbed 0 1px,transparent 1px 3px,#a2bbed 3px 4px,transparent 4px 6px,#a2bbed 6px 9px,transparent 9px 12px);
}
.profile-id-hologram {
  display:block;
  flex:0 0 auto;
  width:18px;height:18px;
  border:1px solid rgba(210,230,255,.8);
  border-radius:4px;
  background:conic-gradient(from 23deg,#4287ff,#cfd7ff,#5d68c4,#8abfff,#4287ff);
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
  filter:drop-shadow(0 0 8px rgba(75,136,255,.28));
}

/* The introduction must sound like capability, not a student bio. */
#view-home .portfolio-intro-copy {position:relative;min-width:0;}
#view-home .portfolio-intro-copy .intro-kicker {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 clamp(30px,4vw,64px);
  color:#c6d7f7;
  font:750 10px/1.4 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.18em;
}
#view-home .portfolio-intro-copy .intro-kicker::before {
  content:"";width:29px;height:2px;flex:none;background:#4386ff;box-shadow:0 0 15px rgba(68,130,255,.55);
}
#view-home .portfolio-intro-copy h2 {
  display:flex;
  flex-direction:column;
  width:100%;
  margin:0;
  color:#f8faff;
  font:910 clamp(49px,5.45vw,93px)/.96 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:-.075em;
  text-wrap:balance;
}
#view-home .portfolio-intro-copy h2 span {display:block;}
#view-home .portfolio-intro-copy h2 span:nth-child(2) {color:#829ac8;}
#view-home .portfolio-intro-copy h2 em {
  display:block;
  width:max-content;
  max-width:100%;
  margin-top:.12em;
  padding:.07em .08em .11em .045em;
  color:#fff;
  background:linear-gradient(115deg,#104cf7 0%,#1b70ff 80%,#509aff 100%);
  transform:rotate(-1.6deg) translateX(-.02em);
  border:1px solid rgba(171,210,255,.32);
  border-radius:4px;
  font:440 .85em/.98 Georgia,"Times New Roman",serif;
  text-transform:none;
  letter-spacing:-.061em;
  white-space:nowrap;
  box-shadow:0 16px 58px rgba(2,51,182,.22);
}
#view-home .portfolio-intro-copy .intro-lede {
  width:min(100%,610px);
  max-width:610px;
  margin:clamp(33px,3.4vw,49px) 0 0;
  color:#c5d0e5;
  font:550 clamp(16px,1.52vw,22px)/1.62 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:-.018em;
}
#view-home .portfolio-intro-copy .intro-cta-row {
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  margin-top:clamp(29px,3.3vw,47px);
}
#view-home .portfolio-intro-copy .portfolio-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:51px;
  padding:15px 22px;
  border-radius:999px;
  color:#fff;
  background:linear-gradient(115deg,#145aff,#1b6bff);
  border:1px solid rgba(155,199,255,.5);
  box-shadow:0 9px 27px rgba(6,61,203,.22);
  font:800 12px/1.3 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:0;
  text-transform:none;
  text-decoration:none;
  transition:transform .2s,background .2s;
}
#view-home .portfolio-intro-copy .portfolio-action:hover {transform:translateY(-2px);background:#3079ff;color:#fff;}
#view-home .portfolio-intro-copy .intro-secondary {
  padding:11px 0;
  border-bottom:1px solid rgba(194,216,255,.41);
  color:#dde8fd;
  font:760 12px/1.2 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  text-decoration:none;
}
#view-home .portfolio-intro-copy .intro-secondary:hover {color:#7ba9ff;}
#view-home .portfolio-intro-copy .intro-signature {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  max-width:610px;
  margin:clamp(44px,5vw,86px) 0 0;
  padding-top:17px;
  border-top:1px solid rgba(173,209,255,.24);
  color:#8396bc;
  font:760 9px/1.35 -apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  letter-spacing:.14em;
}
#view-home .portfolio-intro-copy .intro-signature span:last-child {color:#5894ff;font-size:24px;}

/* small, intentional motion; no novelty oscillating lanyard. */
@keyframes identityHover {
  0%,100% {transform:translateY(0)}
  50% {transform:translateY(-8px)}
}
@media(max-width:1180px){
  #view-home .portfolio-intro.profile-intro-with-id {
    grid-template-columns:minmax(285px,.83fr) minmax(0,1.23fr);
    gap:clamp(36px,5vw,70px);
  }
  #view-home .portfolio-intro-copy h2 {font-size:clamp(46px,5.2vw,77px);}
}
@media(max-width:900px){
  #view-home .portfolio-intro.profile-intro-with-id {
    grid-template-columns:minmax(0,1fr);
    min-height:0;
    gap:clamp(48px,7vw,75px);
    padding:clamp(92px,11vw,120px) clamp(25px,7vw,55px) clamp(105px,12vw,145px);
  }
  #view-home .portfolio-intro-copy {order:-1;}
  #view-home .profile-id-side {width:100%;max-width:550px;margin:0 auto;}
  .profile-id-scene {min-height:640px;width:min(100%,380px);margin:30px auto 0;}
  #view-home .portfolio-intro-copy h2 {font-size:clamp(52px,8.8vw,78px);}
}
@media(max-width:560px){
  #view-home .portfolio-intro.profile-intro-with-id {padding:89px 20px 115px;gap:53px;}
  #view-home .portfolio-intro-copy .intro-kicker {font-size:9px;margin-bottom:30px;}
  #view-home .portfolio-intro-copy h2 {font-size:clamp(36px,10vw,54px);letter-spacing:-.07em;line-height:1.02;}
  #view-home .portfolio-intro-copy h2 em {font-size:.81em;white-space:normal;max-width:100%;}
  #view-home .portfolio-intro-copy .intro-lede {font-size:16px;line-height:1.57;margin-top:29px;}
  #view-home .portfolio-intro-copy .intro-signature {margin-top:45px;font-size:8px;letter-spacing:.06em;}
  #view-home .portfolio-intro-copy .intro-cta-row {gap:18px;margin-top:27px;}
  .profile-id-scene {width:min(100%,342px);min-height:580px;}
  .profile-id-card {border-radius:22px;min-height:566px;transform:perspective(1200px) rotateZ(-2deg) rotateX(var(--id-rotate-x)) rotateY(var(--id-rotate-y));}
  .profile-id-card-top {padding:18px 18px 15px;height:78px;gap:10px;}
  .profile-id-card-heading strong {font-size:12px;}
  .profile-id-card-heading small {font-size:7px;}
  .profile-id-monogram {width:38px;height:38px;}
  .profile-id-card-body {padding:16px 18px 0;}
  .profile-id-photo {height:166px;}
  .profile-id-person-name {font-size:30px;}
  .profile-id-card-meta {margin:16px 18px 0;}
  .profile-id-card-meta>span {font-size:10px;padding:5px 0;}
  .profile-id-card-footer {margin:0 18px;}
}
@media(max-width:370px){
  .profile-id-card-meta>span {font-size:9px;}
  .profile-id-card-serial {font-size:7px;}
  .profile-id-barcode {width:45px;}
}
@media(prefers-reduced-motion:reduce){
  .profile-id-swing {animation:none!important;}
  .profile-id-card {transition:none!important;will-change:auto;}
}
