:root {
  --brand: #ff6a00;
  --brand-2: #ff8c1a;
  --brand-rgb: 255, 106, 0; /* <-- REQUIRED because you use rgba(var(--brand-rgb), ...) */

  --present-col: #0ed30e;
  --yin-white: #fff;
  --yin-black: #111;
  --yin-stroke: #222;

--hero-bg:#0b0f17;
--hero-surface:rgba(255,255,255,.08);
--hero-border:rgba(255,255,255,.18);
--text:rgba(255,255,255,.92);
--muted:rgba(255,255,255,.72);
--ink:#0e1117;
--bg:#0b0f17;
--bg-soft:#0e1420;

--glass: rgba(255,255,255,.06);
--glass-2: rgba(255,255,255,.08);
--stroke: rgba(255,255,255,.14);

--radius: 22px;
--bg:#0b0f17;
--glass-a:rgba(255,255,255,.08);
--brand:#ff6a00;
--brand-2:#ff8c1a;
--brand-rgb:255,106,0;

--glass-a:rgba(255,255,255,.08);
--glass-b:rgba(255,255,255,.05);
--stroke:rgba(255,255,255,.14);

--text:rgba(255,255,255,.92);
--muted:rgba(255,255,255,.70);

--done:#ff7a1a;
--active:#22c55e;
--next:#8b9bb4;

--radius:22px;
  --bg-0:#0b0f17;
  --bg-1:#070a10;

  --brand-rgb: 90,170,255;

  /* warm palette */
  --ember-a: 255,146,72;   /* amber */
  --ember-b: 255,190,120;  /* peach */
  --ember-c: 255,112,168;  /* soft pink */
  --ember-d: 130,170,255;  /* periwinkle */

  --noise-alpha: .028;
}

html, body { height: 100%; }

body{
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Apple Color Emoji","Segoe UI Emoji";
  color: rgba(255,255,255,.88);
  background-color: var(--bg-0);

  /* Continuous “atmosphere” across the whole doc */
  background-image:
    /* top atmosphere */
    radial-gradient(90vmax 65vmax at 12% 10%,
      rgba(var(--brand-rgb), .12) 0%,
      rgba(var(--brand-rgb), .06) 26%,
      transparent 64%),
    radial-gradient(80vmax 58vmax at 92% 12%,
      rgba(var(--ember-d), .05) 0%,
      transparent 66%),

    /* mid-page warmth */
    radial-gradient(95vmax 70vmax at 18% 55%,
      rgba(var(--ember-a), .10) 0%,
      rgba(var(--ember-a), .05) 30%,
      transparent 70%),
    radial-gradient(85vmax 60vmax at 80% 58%,
      rgba(var(--ember-b), .08) 0%,
      rgba(var(--ember-b), .04) 34%,
      transparent 72%),

    /* lower-page color shift */
    radial-gradient(100vmax 75vmax at 40% 95%,
      rgba(var(--ember-c), .07) 0%,
      rgba(var(--ember-c), .035) 30%,
      transparent 72%),
    radial-gradient(95vmax 70vmax at 92% 92%,
      rgba(var(--ember-d), .045) 0%,
      transparent 70%),

    /* base */
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);

  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* Cohesion: vignette + *very* subtle grain (no banding) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background-image:
    radial-gradient(120vmax 85vmax at 50% 25%,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.18) 55%,
      rgba(0,0,0,.55) 100%),
    radial-gradient(90vmax 50vmax at 50% 0%,
      rgba(0,0,0,.40) 0%,
      rgba(0,0,0,.10) 42%,
      rgba(0,0,0,0) 72%),
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,var(--noise-alpha)) 0px,
      rgba(255,255,255,0) 2px,
      rgba(0,0,0,0) 4px
    );

  mix-blend-mode: overlay;
  opacity: .20;
}

/* iOS Safari: fixed backgrounds can jitter */
@supports (-webkit-touch-callout: none){
  body{ background-attachment: scroll; }
  body::before{ position: absolute; }
}

/* Header / brand */
.brand-wordmark { letter-spacing: 0.04em; user-select: none; }
.brand-wordmark .deg { color: var(--brand); }

/* Navigation */
.nav-link { position: relative; font-weight: 500; }
.nav-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: .5rem; }
.nav-link.active { color: var(--brand) !important; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brand); transition: width .2s ease; }
.nav-link:hover::after { width: 100%; }

/* Hero */
.hero { min-height: 86vh; display: grid; place-items: center; position: relative; overflow: hidden; }
.glass { backdrop-filter: blur(12px); background: rgba(255,255,255,.6); border: 1px solid rgba(0,0,0,.06); box-shadow: 0 10px 30px rgba(0,0,0,.07); border-radius: 24px; }
.hero-card { padding: 3.2rem 2.2rem; max-width: 860px; }
/* .tagline { font-size: clamp(1.25rem, 3vw, 1.6rem); letter-spacing: .02em; margin: 0; }
    .tagline .emphasis-purpose{
        display: inline-block;
        position: relative;
        width: 7ch;
        height: 1.2em;
        overflow: hidden;
        vertical-align: bottom;
        color: #ff6600;
        font-weight: 600;
          } */
.motto {
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
}

  .rotate-words {
    display: inline-block;
    position: relative;
    width: 10ch;
    height: 1.2em;
    color: var(--brand);
    font-weight: 600;
    vertical-align: sub;
margin-bottom: 2px;
  }

  .rotate-words span {
    position: absolute;
    left: 0;
    top: 100%;
    opacity: 0;
    animation: rotateWords 12s linear infinite 0s;
  }

  .rotate-words span:nth-child(1) { animation-delay: 0s; }
  .rotate-words span:nth-child(2) { animation-delay: 3s; }
  .rotate-words span:nth-child(3) { animation-delay: 6s; }
  .rotate-words span:nth-child(4) { animation-delay: 9s; }

  @keyframes rotateWords {
    0%   { top: 100%; opacity: 0; }
    5%   { top: 0; opacity: 1; }
    25%  { top: 0; opacity: 1; }
    30%  { top: -100%; opacity: 0; }
    100% { top: -100%; opacity: 0; }
  }

/* Socials */
.socials { position: absolute; right: 1rem; bottom: 1rem; display: flex; gap: .5rem; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,.08); transition: transform .15s ease, background .2s; }
.socials a:hover { background: var(--brand); transform: translateY(-2px); }
.socials a:hover disabled{
  background-color: none;
}
.socials img { width: 24px; height: 24px; }

/* Sections */
section { scroll-margin-top: 90px; }
.section-heading { font-weight: 700; letter-spacing: .02em; }

/* About */
.skills { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { border: 1px solid rgba(0,0,0,.1); border-radius: 999px; padding: .45rem .9rem; background: #fff; font-weight: 500; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--brand); color: #111; border-color: transparent; }
.skill-panel { display: none; }
.skill-panel.active { display: block; }

/* Portfolio */
.card { border-radius: 1rem; }
.card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-img-top { aspect-ratio: 16/9; object-fit: cover; }



footer { border-top: 1px solid rgba(0,0,0,.08); }
.hero { position: relative; overflow: hidden; }


#fx-hero { z-index: 4; }

/* Ensure your hero card & socials sit above canvases */
.hero .glass, .hero .socials { position: relative; z-index: 10; }
.hero { position: relative; overflow: hidden; }  /* create the containing block */

#fx-hero {
position: absolute;
inset: 0;              /* fill the hero */
pointer-events: none;  /* never block clicks */
background: transparent;
z-index: 4;            /* below your .glass and .socials */
}
#yinYang {
position: fixed;
bottom: 10px;
left: 10px;
z-index: 50;
width: 25px;   /* visible CSS size */
height: 25px;
pointer-events: none;
background: transparent;
}

/* Timelines */
.timeline-col {
position: relative;
padding-left: 3.5rem;    /* more space for large dots */
}
.timeline .item {
position: relative;
margin-bottom: 2rem;     /* space between milestones */
padding: .75rem 1rem .75rem 1rem;
border-radius: .75rem;
}
.timeline-col .vline {
position: absolute;
top: -0.5rem;
bottom: 10.5rem;
left: 1.5rem;                   /* center position for dots */
border-left: 3px dotted var(--brand);
opacity: 0.7;
}

.timeline .item .dot {
position: absolute;
left: -46.5px;     
top: 0.2rem;
width: 32px;
height: 32px;
background: var(--brand);
border: 3px solid #fff;
border-radius: 50%;
box-shadow: 0 4px 12px rgba(0,0,0,.18);
z-index: 2;
}
.timeline .item.present .dot {
background: var(--present-col);
}

.timeline .item time {
display: inline-block;
font-weight: 600;
letter-spacing: .02em;
margin-bottom: .15rem;
color: #c7c7c7;
}
.timeline .item h4 {
font-size: 1.1rem;
margin: 0 0 .3rem 0;
}
.timeline .item p {
margin: 0;
color: #555;
}
.timeline .c-span-present{
color: var(--present-col);
}

.iocb-icon{
width: 48px;         /* adjust size */
height: auto;
}
.czu-icon {
width: 75px;         /* adjust size */
height: auto;
filter: invert(50%) sepia(10%) saturate(6000%) hue-rotate(-35deg) brightness(80%) contrast(95%);
/* this filter makes a white/black logo become orange like --brand */
}
.toast-container { z-index: 1080; top: -2px !important; }
/* Container that holds the edge backgrounds behind the row */
/* Make the card itself transparent so the side art can show through */
/* ---------- Mobile-first (phones & small tablets) ---------- */
.contact-card{
position: relative;
border-radius: 20px;
overflow: hidden;
}

/* Card is solid on mobile */
.contact-card.glass{
background: #fff;          /* no translucency on phones */
backdrop-filter: none;
}

/* Hide edges on mobile */
.edge{ display: none; }

/* Center is solid on mobile */
.contact-center{
position: relative;
z-index: 1;
background: #fff;
border-left: 0;
border-right: 0;
}

/* No grain overlay on mobile */
.contact-card::after{ content: none; }

/* ---------- Desktop / large screens (≥992px) ---------- */
@media (min-width: 992px){

/* Card becomes transparent; edges show through */
.contact-card.glass{
background: transparent !important;
backdrop-filter: none;
}

/* Show the edge layers */
.edge{
display:block;
position: absolute;
top: 0; bottom: 0;
width: 16.6667%;              /* equals col-lg-2 */
z-index: 0;
pointer-events: none;
background: linear-gradient(180deg,#fff 0%, #f6f7f9 55%, #eceef2 100%);
}
.edge--left{
left: 0;
background:
  linear-gradient(180deg,#fff 0%, #f6f7f9 55%, #eceef2 100%),
  radial-gradient(40% 32% at -10% 0%, rgba(255,106,0,.12), transparent 65%);
}
.edge--right{
right: 0;
background:
  linear-gradient(180deg,#fff 0%, #f6f7f9 55%, #eceef2 100%),
  radial-gradient(34% 28% at 110% -8%, rgba(38,201,64,.10), transparent 60%);
}

/* Subtle glass for the center */
.contact-center{
background: rgba(255,255,255,.52);
-webkit-backdrop-filter: blur(8px) saturate(120%);
backdrop-filter: blur(8px) saturate(120%);
border-left: 1px solid rgba(0,0,0,.08);
border-right: 1px solid rgba(0,0,0,.08);
}

/* Optional soft grain over the whole card (desktop only) */
.contact-card::after{
content:"";
position:absolute; inset:0; z-index:0; pointer-events:none;
opacity:.16; mix-blend-mode:multiply;
background-image:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0.02'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
}
/* Inputs, textareas, selects */
.contact-form .form-control:focus,
.contact-form .form-select:focus,
.contact-form textarea:focus {
border-color: var(--brand) !important;
outline: 0;
/* modern browsers with color-mix */
box-shadow:
0 0 0 .25rem color-mix(in srgb, var(--brand) 22%, transparent) !important;
/* fallback for others */
box-shadow:
0 0 0 .25rem rgba(var(--brand-rgb), .18) !important;
caret-color: var(--brand);
}

/* Floating label color when focused */
.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-select:focus ~ label,
.contact-form .form-floating > textarea.form-control:focus ~ label {
color: var(--brand);
opacity: .95;
}

/* Checkbox/radio (if you add them later) */
.contact-form .form-check-input:focus {
border-color: var(--brand);
box-shadow:
0 0 0 .25rem rgba(var(--brand-rgb), .18) !important;
}
.contact-form .form-check-input:checked {
background-color: var(--brand);
border-color: var(--brand);
}

/* Optional: brand-colored focus ring on the submit button too */
/* smooth color/outline/scale changes */
#submit-btn {
transition: background-color .25s ease, border-color .25s ease,
          box-shadow .25s ease, color .2s ease, transform .15s ease;
}

/* inactive (default) */
.btn-inactive{
background: #e9ecef;
border-color: #e9ecef;
color: #6c757d;
cursor: not-allowed;
box-shadow: none;
}

/* your active/orange button (already have this) */
.btn-brand{
background: var(--brand);
border-color: var(--brand);
color: #111;
}
.btn-brand:hover,.btn-brand-only-hover:hover{ background: var(--brand-2); border-color: var(--brand-2); }

/* one-shot “pop” when the button activates or after sending */
@keyframes btnPop { 0%{transform:scale(1)} 50%{transform:scale(1.03)} 100%{transform:scale(1)} }
.pop-once{ animation: btnPop .22s ease; }
.letter-spacing-1 { letter-spacing: .08em; }
.object-fit-cover { object-fit: cover; width: 100%; height: 100%; }
.project-card:not(.expanded) .card-hover { transition: transform .25s ease, box-shadow .25s ease; }
.project-card:not(.expanded) .card-hover:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 .75rem 1.5rem rgba(0,0,0,.12)!important; }
.project-card.expanded .card-hover .preview-gif,
.project-card.expanded .card-hover .demo-badge{
display: block;
}
.badge { font-size: .7rem; padding: .35em .6em; opacity: .9; }
.preview-gif,
.demo-badge {
display: none;
}

/* show gif & badge, hide static preview on hover */
.project-card:not(.expanded) .card-hover:hover .preview-img {
display: none;
}
.card-hover:hover .preview-gif,
.card-hover:hover .demo-badge {
display: block;
}

/* smooth fade if you like */
.preview-img, .preview-gif {
transition: opacity .3s ease;
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
}

.project-card { transition: none; }                /* <- stop transform/position animation on wrapper */
.project-card.expanded {                           /* just place it; no motion */
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: min(var(--expanded-width, 85vw), 900px);
max-height: 80vh;
z-index: 1001;
overflow: auto;
}

/* Close button */
.project-card .card-close {
position: absolute;
top: 8px; right: 8px;
width: 32px; height: 32px;
border: 0; border-radius: 999px;
background: rgba(0,0,0,.55);
color: #fff; font-size: 18px; line-height: 32px;
display: none; cursor: pointer;
}
.project-card.expanded .card-close { display: inline-block; }
.project-card .card-expand {
position: absolute;
top: 8px; right: 8px;
width: 32px; height: 32px;
border: 0; border-radius: 999px;
background: rgba(0,0,0,.55);
color: #fff; font-size: 18px; line-height: 32px;
display: none; cursor: pointer;
}
.project-card.expanded .card-expand { display: none;}
.project-card:not(.expanded) .card-hover:hover .card-expand{
display: inline-block;
}
/* Backdrop */
.card-backdrop {
position: fixed; inset: 0;
background: rgba(0,0,0,.35);
opacity: 0; pointer-events: none;
transition: opacity .2s ease;
z-index: 1000;
}
.card-backdrop.visible {
opacity: 1; pointer-events: auto;
}

/* Prevent body scroll when a card is open */
body.no-scroll { overflow: hidden; }

/* NEW  HERO */
.hero{
position:relative;
overflow:hidden;
/* background:
radial-gradient(900px 450px at 18% 20%, rgba(var(--brand-rgb), .20), transparent 55%),
radial-gradient(650px 380px at 88% 18%, rgba(120,160,255,.13), transparent 60%),
linear-gradient(180deg, #0b0f17 0%, #080b12 100%); */
color:var(--text);
min-height:calc(100vh - 72px);
padding:5.5rem 0 4rem;
}

.hero-inner{
position:relative;
z-index:2;
display:flex;
align-items:center;
justify-content:center;
}

/* CARD */
.hero-content{
width:min(980px, 100%);
padding:2rem 2.2rem;
border-radius:26px;
background:
linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
border:1px solid var(--border);
box-shadow:
0 24px 70px rgba(0,0,0,.55),
inset 0 1px 0 rgba(255,255,255,.10);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
position:relative;
}

/* subtle brand glow on the card edge */
.hero-content::before{
content:"";
position:absolute;
inset:-2px;
border-radius:28px;
background: radial-gradient(500px 220px at 28% 25%, rgba(var(--brand-rgb), .20), transparent 60%);
z-index:-1;
filter: blur(10px);
opacity:.8;
}

/* TYPOGRAPHY */
.hero-eyebrow{
margin:0 0 .55rem;
font-size:.85rem;
letter-spacing:.12em;
text-transform:uppercase;
color:rgba(255,255,255,.58);
}

.hero-title{
margin:0 0 .75rem;
font-size:clamp(2.05rem, 4vw, 3.2rem);
line-height:1.06;
font-weight:900;
}

.accent{
background:linear-gradient(90deg, var(--brand), var(--brand-2));
-webkit-background-clip:text;
background-clip:text;
color:transparent;
}

.hero-subtitle{
margin:0 0 1.15rem;
font-size:clamp(1rem, 1.45vw, 1.12rem);
color:var(--muted);
max-width:72ch;
}

/* PILLS (lighter + less visual weight) */
.hero-highlights{
display:flex;
flex-wrap:wrap;
gap:.55rem;
margin:0 0 1.25rem;
}

.pill{
padding:.42rem .68rem;
border-radius:999px;
border:1px solid rgba(255,255,255,.12);
background:rgba(255,255,255,.04);
font-size:.90rem;
color:rgba(255,255,255,.78);
}

/* ACTIONS (clear hierarchy) */
.hero-actions{
display:flex;
gap:.65rem;
flex-wrap:wrap;
align-items:center;
margin:0 0 .85rem;
}

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:.72rem 1.05rem;
border-radius:14px;
font-weight:800;
text-decoration:none;
border:1px solid transparent;
transition:transform .08s ease, background .15s ease, border-color .15s ease, filter .15s ease;
user-select:none;
}

.btn:active{ transform: translateY(1px); }

/* primary: more premium */
.btn-brand{
background:linear-gradient(90deg, var(--brand), var(--brand-2));
color:#fff;
border-color: rgba(255,255,255,.10);
box-shadow:
0 14px 34px rgba(var(--brand-rgb), .22),
inset 0 1px 0 rgba(255,255,255,.16);
}
.btn-brand:hover{ filter:brightness(.97); color:#fff; }

/* secondary: calmer */
.btn-ghost{
background: rgba(255,255,255,.06);
border-color: rgba(255,255,255,.16);
color: rgba(255,255,255,.88);
}
.btn-ghost:hover{ background: rgba(255,255,255,.085); color:#fff; }

/* tertiary: link-like */
.btn-linkish{
padding:.72rem .35rem;
background: transparent;
border-color: transparent;
color: rgba(255,255,255,.72);
font-weight:750;
}
.btn-linkish:hover{ color:#fff; text-decoration: underline; }

/* SOCIALS (smaller, lighter, aligned) */
.socials--inline{
display:flex;
gap:.5rem;
align-items:center;
margin-top:.1rem;
justify-content: end;
}

.socials--inline a{
filter: invert();
width:36px;
height:36px;
border-radius:12px;
display:inline-flex;
align-items:center;
justify-content:center;
background: rgba(255,255,255,.045);
border: 1px solid rgba(0,0,0,0.5);
/* transition: transform .08s ease, background .15s ease, border-color .15s ease; */
}

.socials--inline a:hover{
background: rgba(255,255,255,.07);
border-color: rgba(0,0,0,1);
transform: translateY(-1px);
}

.socials--inline img{
width:18px;
height:18px;
opacity:.9;
}

/* CANVAS */
#fx-hero{
position:absolute;
inset:0;
width:100%;
height:100%;
z-index:1;
pointer-events:none;
opacity:.25; /* less distracting */
}

/* MOBILE */
@media (max-width: 575.98px){
.hero{ padding:4.6rem 0 3.2rem; }
.hero-content{ padding:1.55rem 1.2rem; border-radius:20px; }
.btn{ width:100%; }
.btn-linkish{ width:auto; }
}

.socials--inline { align-self: flex-start; }

/* NEW ABOUT */
.about-section{
background:
  radial-gradient(900px 420px at 15% 15%, rgba(var(--brand-rgb), .10), transparent 60%),
  radial-gradient(650px 360px at 85% 20%, rgba(120,160,255,.08), transparent 60%),
  linear-gradient(180deg, #0b0f17 0%, #090d14 100%);
color: rgba(255,255,255,.92);
}

.kicker{
text-transform: uppercase;
letter-spacing: .14em;
font-size: .82rem;
color: rgba(255,255,255,.62);
margin: 0;
}

.section-title{
font-weight: 900;
font-size: clamp(1.7rem, 3vw, 2.35rem);
line-height: 1.1;
margin: 0;
}

.section-subtitle{
margin-top: .65rem;
color: rgba(255,255,255,.72);
max-width: 80ch;
margin-left: auto;
margin-right: auto;
}

.card-glass{
border-radius: var(--radius);
background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
border: 1px solid var(--stroke);
box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.10);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
position: relative;
overflow: hidden;
}

.card-glass::before{
content:"";
position:absolute;
inset:-2px;
border-radius: calc(var(--radius) + 2px);
background: radial-gradient(520px 240px at 28% 20%, rgba(var(--brand-rgb), .14), transparent 60%);
filter: blur(12px);
opacity: .8;
z-index: 0;
}

.card-glass > *{ position: relative; z-index: 1; }

.card-title{
font-weight: 850;
font-size: 1.15rem;
letter-spacing: .01em;
}

.card-lead{
color: rgba(255,255,255,.74);
line-height: 1.55;
}

.about-top{
display:flex;
gap:1rem;
align-items:flex-start;
justify-content:space-between;
}

.edu-badge{
min-width: 220px;
padding: .8rem .9rem;
border-radius: 16px;
background: rgba(255,255,255,.05);
border: 1px solid rgba(255,255,255,.14);
}

.edu-badge__title{
font-weight: 850;
line-height: 1.15;
}
.edu-badge__meta{
margin-top: .2rem;
font-size: .92rem;
color: rgba(255,255,255,.70);
}

.about-grid{
display:grid;
grid-template-columns: 1fr 1fr;
gap: .85rem;
}

.about-item{
display:flex;
gap:.7rem;
padding: .9rem .95rem;
border-radius: 18px;
background: rgba(255,255,255,.04);
border: 1px solid rgba(255,255,255,.10);
}

.about-icon{
width: 34px;
height: 34px;
border-radius: 12px;
display:flex;
align-items:center;
justify-content:center;
background: rgba(var(--brand-rgb), .16);
border: 1px solid rgba(var(--brand-rgb), .25);
flex: 0 0 auto;
}

.about-item__title{
font-weight: 800;
line-height: 1.2;
margin-bottom: .15rem;
}

.about-item__text{
color: rgba(255,255,255,.70);
font-size: .96rem;
line-height: 1.4;
}

.about-cta{
padding-top: 1rem;
border-top: 1px solid rgba(255,255,255,.12);
color: rgba(255,255,255,.72);
}

.cta-link{
color: #fff;
font-weight: 850;
text-decoration: none;
border-bottom: 1px solid rgba(var(--brand-rgb), .55);
}
.cta-link:hover{ color:#fff; border-bottom-color: rgba(var(--brand-rgb), .95); }

/* Skills stack */
.skills-stack{
display:flex;
flex-direction:column;
gap:.75rem;
}

.skill-row{
padding: .85rem .95rem;
border-radius: 18px;
background: rgba(255,255,255,.04);
border: 1px solid rgba(255,255,255,.10);
}

.skill-label{
font-weight: 850;
margin-bottom: .15rem;
}

.skill-meta{
color: rgba(255,255,255,.70);
font-size: .96rem;
line-height: 1.4;
}

.tool-chips{
display:flex;
flex-wrap:wrap;
gap:.5rem;
}

.chip2{
padding:.42rem .65rem;
border-radius: 999px;
background: rgba(255,255,255,.05);
border: 1px solid rgba(255,255,255,.12);
color: rgba(255,255,255,.80);
font-size:.9rem;
font-weight: 700;
}

/* Responsive */
@media (max-width: 991.98px){
.about-top{ flex-direction:column; }
.edu-badge{ width: 100%; min-width: 0; }
.about-grid{ grid-template-columns: 1fr; }
}

/* ABOUT 2 — controlled contrast like hero */
.about2{
  /* background:
    radial-gradient(900px 420px at 15% 15%, rgba(var(--brand-rgb), .10), transparent 60%),
    radial-gradient(650px 360px at 85% 20%, rgba(120,160,255,.08), transparent 60%),
    linear-gradient(180deg, #0b0f17 0%, #090d14 100%); */
  color: rgba(255,255,255,.92);
}

.about2-card{
  border-radius: var(--radius);
}

.about2-top{
  display:flex;
  gap:1rem;
  align-items:flex-start;
  justify-content:space-between;
}

.about2-badge{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
}

/* Grid of value points */
.about2-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}

.about2-item{
  display:flex;
  gap:.8rem;
  padding: .95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.about2-icon{
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  flex: 0 0 auto;
}

.about2-icon svg{ width: 20px; height: 20px; }

.about2-item--accent{
  border-color: rgba(var(--brand-rgb), .22);
}

.about2-icon--accent{
  color: #fff;
  background: rgba(var(--brand-rgb), .16);
  border-color: rgba(var(--brand-rgb), .26);
}

.about2-title{
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: .15rem;
}

.about2-text{
  color: rgba(255,255,255,.72);
  font-size: .96rem;
  line-height: 1.35;
}

.about2-cta{
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.74);
}

.about2-accent{
  color: var(--brand);
  font-weight: 900;
}

.about2-link{
  color:#fff;
  font-weight: 900;
  text-decoration:none;
  border-bottom: 1px solid rgba(var(--brand-rgb), .55);
}
.about2-link:hover{ border-bottom-color: rgba(var(--brand-rgb), .95); }

/* Skills column */
.about2-skillsHead{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  margin-bottom: .9rem;
}

.about2-mini{
  font-size: .82rem;
  color: rgba(255,255,255,.62);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about2-skills{
  display:flex;
  flex-direction:column;
  gap:.65rem;
}

.about2-skill{
  padding: .85rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.about2-skillTop{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  margin-bottom:.2rem;
}

.about2-skillLabel{
  font-weight: 900;
}

.about2-skillMeta{
  color: rgba(255,255,255,.72);
  font-size: .96rem;
  line-height: 1.35;
}

.about2-dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}
.about2-dot--accent{
  background: rgba(var(--brand-rgb), .95);
  box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .12);
}

/* Responsive */
@media (max-width: 991.98px){
  .about2-top{ flex-direction:column; }
  .about2-grid{ grid-template-columns: 1fr; }
}
/* Right column: grouped skills */
.about2-skillGroups{
  display:flex;
  flex-direction:column;
  gap:.75rem;
}

.about2-skillGroup{
  padding: .9rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.about2-groupHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  margin-bottom: .55rem;
}

.about2-groupTitle{
  font-weight: 900;
  letter-spacing: .02em;
  color: rgba(255,255,255,.88);
}

/* compact rows inside group */
.about2-skillRow{
  padding: .55rem .0rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.about2-skillRow:first-of-type{ border-top: 0; padding-top: .1rem; }
.about2-skillRow:last-of-type{ padding-bottom: .1rem; }

.about2-skillRow .about2-skillLabel{
  font-weight: 900;
  margin-bottom: .1rem;
}

.about2-skillRow .about2-skillMeta{
  color: rgba(255,255,255,.70);
  font-size: .95rem;
  line-height: 1.35;
}

/* keep your existing dot styles; accent only for the top group */
.about2-groupLeft{
  display:flex;
  flex-direction:column;
  gap:.18rem;
}

.about2-groupHint{
  font-size:.86rem;
  color: rgba(255,255,255,.60);
  font-weight:700;
}

/* Base group (secondary) */
.about2-skillGroup{
  padding: .9rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.10);
}

/* Featured group (only this gets orange emphasis) */
.about2-skillGroup--featured{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.035));
  border-color: rgba(var(--brand-rgb), .22);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

.about2-skillGroup--featured .about2-groupTitle{
  color: rgba(255,255,255,.94);
}

.about2-skillGroup--featured .about2-groupHint{
  color: rgba(255,255,255,.70);
}

/* keep rows compact */
.about2-skillRow{
  padding: .55rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.about2-skillRow:first-of-type{ border-top:0; padding-top:.15rem; }
.about2-skillRow:last-of-type{ padding-bottom:.15rem; }

/* About RIGHT: tabbed, less “box-in-box”, more premium */
.about3-card{ border-radius: var(--radius); }

.about3-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.9rem;
}

.about3-tabs{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin-bottom: .95rem;
}

.about3-tab{
  padding:.5rem .75rem;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
  font-weight: 900;
  cursor:pointer;
  transition: background .15s ease, border-color .15s ease, transform .08s ease;
}
.about3-tab:active{ transform: translateY(1px); }

.about3-tab.is-active{
  background: rgba(var(--brand-rgb), .14);
  border-color: rgba(var(--brand-rgb), .24);
  color: rgba(255,255,255,.92);
}

.about3-panels{ position:relative; }

.about3-panel{
  display:none;
  padding: .9rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.10);
}
.about3-panel.is-active{ display:block; }

.about3-kicker{
  display:flex;
  gap:.6rem;
  align-items:flex-start;
  color: rgba(255,255,255,.75);
  margin-bottom:.75rem;
}

.about3-dot{
  width:9px;height:9px;
  border-radius:999px;
  background: rgba(255,255,255,.35);
  margin-top:.35rem;
  flex:0 0 auto;
}
.about3-dot--accent{
  background: rgba(var(--brand-rgb), .95);
  box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .12);
}

.about3-list{
  display:flex;
  flex-direction:column;
}

.about3-item{
  padding:.65rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.about3-item:first-child{ border-top:0; padding-top:.1rem; }
.about3-item:last-child{ padding-bottom:.1rem; }

.about3-itemTitle{
  font-weight: 900;
  margin-bottom:.12rem;
}

.about3-itemMeta{
  color: rgba(255,255,255,.70);
  font-size:.95rem;
  line-height:1.35;
}

/* Chips accent support */
.chip2--accent{
  background: rgba(var(--brand-rgb), .14);
  border-color: rgba(var(--brand-rgb), .24);
  color: rgba(255,255,255,.92);
}





/*NEW PATHS AND PROGRESS*/
.path-section{
/* background:
  radial-gradient(900px 420px at 15% 15%, rgba(var(--brand-rgb), .10), transparent 60%),
  radial-gradient(650px 360px at 85% 20%, rgba(120,160,255,.08), transparent 60%),
  linear-gradient(180deg, #0b0f17 0%, #090d14 100%); */
color:var(--text);
}

.kicker{
text-transform:uppercase;
letter-spacing:.14em;
font-size:.82rem;
color:rgba(255,255,255,.62);
margin:0;
}

.section-title{
font-weight:900;
font-size:clamp(1.7rem, 3vw, 2.35rem);
line-height:1.1;
}

.section-subtitle{
margin-top:.65rem;
color:rgba(255,255,255,.72);
max-width:80ch;
margin-left:auto;
margin-right:auto;
}

.card-glass{
border-radius:var(--radius);
background:linear-gradient(180deg, var(--glass-a), var(--glass-b));
border:1px solid var(--stroke);
box-shadow:0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.10);
backdrop-filter:blur(12px);
-webkit-backdrop-filter:blur(12px);
position:relative;
overflow:hidden;
}

.card-glass::before{
content:"";
position:absolute;
inset:-2px;
border-radius:calc(var(--radius) + 2px);
background:radial-gradient(520px 240px at 28% 20%, rgba(var(--brand-rgb), .12), transparent 60%);
filter:blur(12px);
opacity:.85;
z-index:0;
}
.card-glass > *{ position:relative; z-index:1; }

.card-head{ margin-bottom: 1.1rem; }
.card-title{ font-weight:850; font-size:1.15rem; margin:0; }
.card-hint{ color:rgba(255,255,255,.70); font-size:.95rem; }

/* TIMELINE (Fix dot placement by anchoring dot to card top) */
.tline{
list-style:none;
margin:0;
padding:0;
position:relative;
}

/* vertical line */
.tline::before{
content:"";
position:absolute;
left: 12px;
top: 6px;
bottom: 6px;
width: 2px;
background: rgba(255,255,255,.14);
border-radius: 999px;
}

.tline-item{
position:relative;
padding-left: 42px;   /* space for dot + line */
margin-bottom: 14px;
}
.tline-item:last-child{ margin-bottom:0; }

.tline-card{
background: rgba(255,255,255,.04);
border: 1px solid rgba(255,255,255,.10);
border-radius: 18px;
padding: 1rem 1.05rem;
}

/* dot aligned to the top edge of the card (fixes “weirdly placed”) */
.tline-dot{
position:absolute;
left: 2px;
top: 16px; /* aligns with card content top consistently */
width: 22px;
height: 22px;
border-radius: 999px;
background: rgba(255,255,255,.06);
border: 2px solid rgba(255,255,255,.18);
box-shadow: 0 10px 20px rgba(0,0,0,.35);
}

.tline-item.done .tline-dot{
border-color: rgba(255,122,26,.95);
background: rgba(255,122,26,.22);
box-shadow: 0 10px 22px rgba(255,122,26,.16);
}
/* Planned (neutral / blue-gray) */
.tline-item.planned .tline-dot{
border-color: rgba(93, 156, 255, 0.9);
background: rgba(139,155,180,.18);
box-shadow: 0 10px 22px rgba(139,155,180,.10);
}

/* Badge */
.badge-planned{
border-color: rgba(93, 156, 255, 0.35);
color: rgba(93, 156, 255, 0.86);
}

/* Optional: make planned card slightly different */
.planned-card{
border-color: rgba(139,155,180,.20);
background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.03));
}

.tline-item.active .tline-dot{
border-color: rgba(34,197,94,.95);
background: rgba(34,197,94,.22);
box-shadow: 0 10px 22px rgba(34,197,94,.16);
}

/* NEXT: dashed line segment behind this card */
/* .tline-item.next::after{
content:"";
position:absolute;
left: 12px;
top: 6px;
bottom: 6px;
width: 2px;
border-left: 2px dashed rgba(139,155,180,.45);
} */

.tline-item.next .tline-dot{
border-color: rgba(93, 156, 255,.85);
background: rgba(139,155,180,.18);
box-shadow: 0 10px 22px rgba(139,155,180,.10);
}

/* Card header line */
.tline-top{
display:flex;
justify-content:space-between;
gap:1rem;
align-items:flex-start;
margin-bottom:.55rem;
}

.tline-time{
color:rgba(255,255,255,.70);
font-size:.92rem;
display:flex;
gap:.5rem;
flex-wrap:wrap;
align-items:center;
}

.tline-title{
font-weight:900;
font-size:1.05rem;
margin: .15rem 0 .12rem;
}

.tline-sub{
color:rgba(255,255,255,.74);
font-size:.96rem;
margin-bottom:.35rem;
}

/* Bullets: short + scan-friendly */
.tline-bullets{
margin: .35rem 0 0;
padding-left: 1.05rem;
color: rgba(255,255,255,.76);
line-height: 1.45;
}
.tline-bullets li{ margin: .22rem 0; }

/* Logos */
.tline-logo{
width:40px; height:40px;
border-radius:14px;
display:inline-flex;
align-items:center;
justify-content:center;
background: rgba(255,255,255,.04);
border: 1px solid rgba(255,255,255,.12);
flex:0 0 auto;
}
.tline-logo img{ width:28px; height:28px; object-fit:contain; opacity:.95; }

/* Badges */
.badge{
font-size:.80rem;
font-weight:850;
padding:.18rem .55rem;
border-radius:999px;
border:1px solid rgba(255,255,255,.12);
background: rgba(255,255,255,.05);
}
.badge-done{ border-color: rgba(255,122,26,.35); color: rgba(255,220,200,.92); }
.badge-active{ border-color: rgba(34,197,94,.35); color: rgba(210,255,225,.92); }
.badge-next{ border-color: rgba(93, 156, 255,.35); color: rgba(93, 156, 255,.86); }

/* Next card */
.next-card{
background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.035));
border-color: rgba(139,155,180,.22);
}

.next-tags{
display:flex;
flex-wrap:wrap;
gap:.5rem;
margin-top:.55rem;
}
.chip{
padding:.38rem .62rem;
border-radius:999px;
background: rgba(255,255,255,.05);
border: 1px solid rgba(255,255,255,.12);
color: rgba(255,255,255,.80);
font-size:.9rem;
font-weight:700;
}

.next-cta{
margin-top:.85rem;
display:flex;
gap:.6rem;
flex-wrap:wrap;
}

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:.68rem 1rem;
border-radius:14px;
font-weight:800;
text-decoration:none;
border:1px solid transparent;
transition:transform .08s ease, background .15s ease, border-color .15s ease, filter .15s ease;
user-select:none;
color:#fff;
}
.btn:active{ transform: translateY(1px); }

.btn-brand{
background: linear-gradient(90deg, var(--brand), var(--brand-2));
border-color: rgba(255,255,255,.10);
box-shadow: 0 14px 34px rgba(var(--brand-rgb), .16), inset 0 1px 0 rgba(255,255,255,.14);
}
.btn-ghost{
background: rgba(255,255,255,.06);
border-color: rgba(255,255,255,.16);
}

@media (max-width: 575.98px){
.tline-top{ flex-direction:column; }
.tline-dot{ top: 18px; }
}



/*NEW PORTFOLIO*/
.pf{
  /* background:
    radial-gradient(900px 420px at 15% 15%, rgba(var(--brand-rgb), .10), transparent 60%),
    radial-gradient(650px 360px at 85% 20%, rgba(120,160,255,.08), transparent 60%),
    linear-gradient(180deg, #0b0f17 0%, #090d14 100%); */
  color: rgba(255,255,255,.92);
}

.pf .kicker{
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  color: rgba(255,255,255,.62);
  margin: 0;
}

.pf .section-title{
  font-weight: 900;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.pf .section-subtitle{
  margin-top: .65rem;
  color: rgba(255,255,255,.72);
  max-width: 85ch;
  margin-left: auto;
  margin-right: auto;
}

.pf-proof{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:.85rem;
}
.pf-proof__item{
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  padding:.95rem 1rem;
}
.pf-proof__k{ font-weight: 900; margin-bottom:.25rem; }
.pf-proof__v{ color: rgba(255,255,255,.72); line-height:1.4; }

.pf-card{
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  padding: 1.1rem 1.1rem 1rem;
  overflow:hidden;
}

.pf-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1rem;
  margin-bottom:.8rem;
}
.pf-title{ margin:0; font-weight: 900; font-size: 1.15rem; }
.pf-sub{ margin:.25rem 0 0; color: rgba(255,255,255,.72); }

.pf-pill{
  border-radius: 999px;
  padding:.28rem .65rem;
  font-size:.8rem;
  font-weight: 900;
  border: 1px solid rgba(var(--brand-rgb), .30);
  background: rgba(var(--brand-rgb), .16);
  color: rgba(255,255,255,.92);
  white-space:nowrap;
}
.pf-pill--alt{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
}
.pf-pill--data{
  border-color: rgba(93,156,255,.35);
  background: rgba(93,156,255,.16);
}

.pf-bullets{
  margin:0;
  padding-left: 1.1rem;
  color: rgba(255,255,255,.78);
  line-height:1.5;
}
.pf-bullets li{ margin:.35rem 0; }

.pf-stack{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-top:.9rem;
}
.tag{
  padding:.35rem .6rem;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.80);
  font-size:.85rem;
  font-weight: 800;
}

.pf-actions{ margin-top: 1rem; display:flex; gap:.6rem; flex-wrap:wrap; }

.pf-samples__head{
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.25rem;
  margin-bottom: .35rem;
}
.pf-samples__title{ font-weight: 900; }
.pf-samples__sub{ color: rgba(255,255,255,.72); }

.sample-card{
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.sample-badge{
  position:absolute; top:.6rem; left:.6rem;
  border-radius:999px;
  padding:.25rem .6rem;
  font-size:.78rem;
  font-weight: 900;
  background: rgba(var(--brand-rgb), .18);
  border:1px solid rgba(var(--brand-rgb), .30);
  color:#fff;
}
.sample-badge--muted{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.82);
}

@media (max-width: 991.98px){
  .pf-proof{ grid-template-columns: 1fr; }
}
.pf-bullets--tight { padding-left: 1.05rem; }
.pf-bullets--tight li { margin: .22rem 0; }
.pf-sub { max-width: 60ch; }

/* optional: slightly smaller tags */
.tag { font-size: .82rem; padding: .32rem .55rem; }

/* UI Samples — compact, recruiter-scan friendly */
.ui-samples{ --ui-radius:18px; --ui-stroke:rgba(255,255,255,.14); }

.ui-card{
  border-radius: var(--ui-radius);
  overflow:hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  border: 1px solid var(--ui-stroke);
  box-shadow: 0 18px 55px rgba(0,0,0,.45);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  display:flex; flex-direction:column;
}
.ui-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.20);
  box-shadow: 0 26px 75px rgba(0,0,0,.60);
}

/* Stack images in the media area */
.ui-media { position: relative; display:block; overflow:hidden; }
.ui-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition: opacity .18s ease, transform .22s ease, filter .22s ease;
}

/* default: show static */
.ui-img--static{ opacity: 1; }
.ui-img--anim{ opacity: 0; }

/* hover/focus: swap to animated */
.ui-media:hover .ui-img--static,
.ui-media:focus-visible .ui-img--static{
  opacity: 0;
}
.ui-media:hover .ui-img--anim,
.ui-media:focus-visible .ui-img--anim{
  opacity: 1;
}

/* optional: subtle zoom for polish */
.ui-media:hover .ui-img,
.ui-media:focus-visible .ui-img{
  transform: scale(1.05);
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .ui-img{ transition:none; }
  .ui-media:hover .ui-img--static,
  .ui-media:focus-visible .ui-img--static{ opacity:1; }
  .ui-media:hover .ui-img--anim,
  .ui-media:focus-visible .ui-img--anim{ opacity:0; }
}
.ui-media img{
  width:100%; height:100%;
  object-fit:cover;
  transform: scale(1.01);
  transition: transform .22s ease, filter .22s ease;
  filter: saturate(1.05) contrast(1.05);
}
.ui-card:hover .ui-media img{ transform: scale(1.06); filter: saturate(1.1) contrast(1.1); }

.ui-flag{
  position:absolute; top:.65rem; left:.65rem;
  display:inline-flex; align-items:center;
  padding:.28rem .60rem;
  border-radius:999px;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.02em;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}
.ui-flag--live{
  border-color: rgba(var(--brand-rgb), .35);
  background: rgba(var(--brand-rgb), .18);
}
.ui-flag--soon{
  border-color: rgba(93,156,255,.38);
  background: rgba(93,156,255,.16);
}

.ui-cta{
  position:absolute; right:.65rem; bottom:.65rem;
  display:inline-flex; gap:.45rem; align-items:center;
  padding:.45rem .7rem;
  border-radius:14px;
  font-weight:900;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  opacity:0; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
}
.ui-card:hover .ui-cta{ opacity:1; transform: translateY(0); }

.ui-body{ padding: 1rem 1rem 1.05rem; display:flex; flex-direction:column; gap:.65rem; flex:1; }
.ui-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:.75rem; }
.ui-title{ margin:0; font-size:1.05rem; font-weight:900; color:rgba(255,255,255,.95); }
.ui-time{ font-size:.82rem; font-weight:850; color:rgba(255,255,255,.62); padding-top:.15rem; white-space:nowrap; }

.ui-desc{ margin:0; color:rgba(255,255,255,.72); line-height:1.45; }

.ui-tags{ display:flex; flex-wrap:wrap; gap:.45rem; }
.ui-tag{
  padding:.32rem .55rem;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.80);
  font-size:.82rem;
  font-weight:800;
}

.ui-actions{ margin-top:auto; display:flex; gap:.55rem; flex-wrap:wrap; }
.ui-btn{ padding:.62rem .95rem; border-radius:14px; font-weight:900; }

.ui-card--soon .ui-media--disabled{ pointer-events:none; }
.ui-card--soon .ui-media img{ filter: grayscale(1) contrast(1.05) brightness(.9); opacity:.92; }
.ui-media{
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px 18px 0 0;      /* match card top */
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.15);
}
@supports not (aspect-ratio: 16 / 9){
  .ui-media::before{
    content:"";
    display:block;
    padding-top:56.25%; /* 16:9 */
  }
}
.ui-media .ui-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.01);
  transition: opacity .18s ease, transform .22s ease, filter .22s ease;
  will-change: opacity, transform;
}

/* default */
.ui-media .ui-img--static{ opacity: 1; }
.ui-media .ui-img--anim{ opacity: 0; }

/* swap on hover/focus */
.ui-media:hover .ui-img--static,
.ui-media:focus-visible .ui-img--static{ opacity: 0; }

.ui-media:hover .ui-img--anim,
.ui-media:focus-visible .ui-img--anim{ opacity: 1; }

/* subtle zoom */
.ui-media:hover .ui-img,
.ui-media:focus-visible .ui-img{ transform: scale(1.05); }

.ui-card:hover .ui-media .ui-img--static{ opacity: 0; }
.ui-card:hover .ui-media .ui-img--anim{ opacity: 1; }
.ui-card:hover .ui-media .ui-img{ transform: scale(1.05); }

@media (prefers-reduced-motion: reduce){
  .ui-media .ui-img{ transition:none; }
  .ui-card:hover .ui-media .ui-img--static,
  .ui-media:hover .ui-img--static{ opacity: 1; }
  .ui-card:hover .ui-media .ui-img--anim,
  .ui-media:hover .ui-img--anim{ opacity: 0; }
}

.ui-media{
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:16/9;
  border-radius:18px 18px 0 0;
}

.ui-media .ui-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:opacity .18s ease;
}

.ui-img--static{ opacity:1; }
.ui-img--anim{ opacity:0; pointer-events:none; }

.ui-card:hover .ui-img--static,
.ui-media:hover .ui-img--static{ opacity:0; }

.ui-card:hover .ui-img--anim,
.ui-media:hover .ui-img--anim{ opacity:1; }


/* CONTACT — unified with site dark-glass + orange brand
   Requires: --brand and --brand-rgb defined globally.
*/

#contact.contact-unified{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 5rem 0;
  color: rgba(255,255,255,.92);

  /* Match your site’s dark backdrop, with brand glow */
  background:
    radial-gradient(900px 520px at 14% 12%, rgba(var(--brand-rgb), .16), transparent 62%),
    radial-gradient(760px 520px at 88% 18%, rgba(var(--brand-rgb), .10), transparent 60%),
    linear-gradient(180deg, #070a10 0%, #060910 100%);
}

/* subtle vignette like the rest of the page */
#contact.contact-unified::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background: radial-gradient(1400px 900px at 50% 35%, transparent 55%, rgba(0,0,0,.55) 100%);
}

/* kill any older contact-hero backgrounds */
#contact.contact-unified.contact-hero{ background: transparent; }

/* OUTER CARD — same “glass panel” feel as your other sections */
#contact.contact-unified .contact-shell{
  position: relative;
  border-radius: 24px;
  overflow: hidden;

  background: rgba(14, 18, 28, .70);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);

  box-shadow:
    0 18px 60px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.04) inset;
}

/* brand ring like your orange “completed/current” markers */
#contact.contact-unified .contact-shell::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  padding: 1px;

  background: linear-gradient(135deg,
    rgba(var(--brand-rgb), .38),
    rgba(255,255,255,.10),
    rgba(var(--brand-rgb), .20)
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: .40;
}

/* LEFT PANEL — dark, with gentle brand warmth */
#contact.contact-unified .contact-aside{
  color: rgba(255,255,255,.92);
  background:
    radial-gradient(900px 520px at 18% 18%, rgba(255,255,255,.07), transparent 58%),
    radial-gradient(700px 520px at 75% 120%, rgba(var(--brand-rgb), .18), transparent 60%),
    linear-gradient(135deg, #0b1220 0%, #0e1526 55%, #070b14 100%);
  border-right: 1px solid rgba(255,255,255,.08);
}

#contact.contact-unified .contact-badge{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:grid;
  place-items:center;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 18px rgba(0,0,0,.30);

  /* orange accent */
  color: rgba(var(--brand-rgb), .92);
}

/* type matches your other cards */
#contact.contact-unified .contact-kicker{ opacity:.85; }
#contact.contact-unified .contact-title{
  font-size: 1.7rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
#contact.contact-unified .contact-sub{
  color: rgba(255,255,255,.76);
  line-height: 1.6;
}

/* meta panel — same style as your “skill chips / info boxes” */
#contact.contact-unified .contact-meta{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
}
#contact.contact-unified .meta-label{ color: rgba(255,255,255,.58); }
#contact.contact-unified .meta-link,
#contact.contact-unified .meta-text{ color: rgba(255,255,255,.90); }

/* social pills */
#contact.contact-unified .contact-pill{
  border-radius: 999px;
  border-color: rgba(255,255,255,.22) !important;
  color: rgba(255,255,255,.92) !important;
}
#contact.contact-unified .contact-pill:hover{
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.32) !important;
}

/* RIGHT PANEL — keep light for readability but still “designed” */
#contact.contact-unified .contact-formwrap{
  background: rgba(255,255,255,.96);
  color: rgba(15,23,42,.92);
}

/* labels */
#contact.contact-unified .contact-formwrap .form-label{
  color: rgba(15,23,42,.78);
  font-weight: 650;
}

/* inputs — match your rounded, soft UI */
#contact.contact-unified .contact-input{
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.99);
  transition: box-shadow .18s ease, border-color .18s ease;
}
#contact.contact-unified .contact-input:focus{
  border-color: rgba(var(--brand-rgb), .55);
  box-shadow: 0 0 0 .25rem rgba(var(--brand-rgb), .18);
}

/* divider */
#contact.contact-unified .contact-divider{
  height: 1px;
  background: rgba(15,23,42,.10);
  border-radius: 999px;
}

/* brand link */
#contact.contact-unified .link-primary{
  color: rgb(var(--brand-rgb)) !important;
}

/* CTA button — orange gradient, modern */
#contact.contact-unified .contact-submit{
  border-radius: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg,
    rgba(var(--brand-rgb), 1) 0%,
    rgba(var(--brand-rgb), .86) 100%);
  box-shadow: 0 16px 34px rgba(var(--brand-rgb), .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#contact.contact-unified .contact-submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(var(--brand-rgb), .28);
}
#contact.contact-unified .contact-submit:active{
  transform: translateY(0);
  filter: brightness(.98);
}

#contact.contact-unified .contact-privacy{
  color: rgba(15,23,42,.55);
}

/* mobile */
@media (max-width: 991.98px){
  #contact.contact-unified{ padding: 4rem 0; }
  #contact.contact-unified .contact-aside{
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}
/* LEFT POLISH — drop under your current contact CSS */

.contact-aside{
  position: relative;
}

/* subtle “brand glow” in the corner */
.contact-aside::after{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background: radial-gradient(520px 320px at 18% 10%, rgba(var(--brand-rgb, 255,122,24), .18), transparent 62%);
  opacity:.9;
}

/* kicker + title spacing */
.contact-kicker{
  font-size: .92rem;
  letter-spacing: .02em;
  opacity: .82;
}
.contact-title{
  line-height: 1.1;
}

/* mini pills under heading */
.contact-pillmini{
  display:inline-flex;
  align-items:center;
  padding: .28rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 650;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.contact-pillmini--brand{
  color: rgba(255,255,255,.92);
  border-color: rgba(var(--brand-rgb, 255,122,24), .30);
  background: rgba(var(--brand-rgb, 255,122,24), .14);
}

/* meta block becomes “stacked rows” */
.contact-meta--polish{
  display: grid;
  gap: 10px;
  padding: 14px;
}

.meta-row{
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.meta-ico{
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(var(--brand-rgb, 255,122,24), .95);
  font-size: .9rem;
  line-height: 1;
}

.meta-col{
  display: grid;
  gap: 2px;
}

/* links feel more “designed” */
.meta-link{
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.28);
}
.meta-link:hover{
  border-bottom-color: rgba(var(--brand-rgb, 255,122,24), .75);
}

/* keep note readable but subtle */
.contact-note{
  color: rgba(255,255,255,.68);
}

/* on small screens: reduce decoration */
@media (max-width: 991.98px){
  .contact-aside::after{ opacity:.6; }
}

/* CONTACT — Ember theme (orange) */
:root{
  /* tune these if you want a different orange */
  --ember-1: 255, 122, 24;  /* orange */
  --ember-2: 255, 64, 32;   /* red-orange */
  --ember-3: 255, 196, 110; /* warm highlight */
}

#contact.contact-ember{
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 5rem 0;

  /* premium dark background with warm glows
  background:
    radial-gradient(900px 520px at 15% 12%, rgba(var(--ember-1), .18), transparent 62%),
    radial-gradient(760px 520px at 90% 18%, rgba(var(--ember-2), .12), transparent 60%),
    radial-gradient(900px 620px at 50% 110%, rgba(255,255,255,.04), transparent 60%),
    linear-gradient(180deg, #070a10 0%, #060910 100%); */
  color: rgba(255,255,255,.92);
}

/* soft vignette so edges feel intentional */
#contact.contact-ember::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  /* background:
    radial-gradient(1400px 800px at 50% 40%, transparent 55%, rgba(0,0,0,.55) 100%); */
  pointer-events:none;
}

/* outer card */
#contact .contact-shell{
  border-radius: 26px;
  background: rgba(14, 18, 28, .72);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  overflow: hidden;
  box-shadow:
    0 22px 70px rgba(0,0,0,.55),
    0 1px 0 rgba(255,255,255,.04) inset;
}

/* subtle ember ring */
#contact .contact-shell::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: inherit;
  pointer-events:none;
  background: linear-gradient(135deg,
    rgba(var(--ember-1), .35),
    rgba(var(--ember-2), .25),
    rgba(255,255,255,.10)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  opacity: .45;
}

/* left panel */
#contact .contact-aside{
  color: rgba(255,255,255,.92);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));
  box-shadow: 0 22px 60px rgba(0,0,0,.45);
  border-right: 1px solid rgba(255,255,255,.12);
}

/* badge */
#contact .contact-badge{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 18px rgba(0,0,0,.30);
}

/* typography */
#contact .contact-kicker{ opacity:.86; }
#contact .contact-title{
  font-size: 1.7rem;
  font-weight: 850;
  letter-spacing: -0.03em;
}
#contact .contact-sub{ color: rgba(255,255,255,.78); line-height: 1.6; }

#contact .contact-meta{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
}
#contact .meta-label{ color: rgba(255,255,255,.60); }
#contact .meta-link, #contact .meta-text{ color: rgba(255,255,255,.90); }

/* pills */
#contact .contact-pill{
  border-radius: 999px;
  border-color: rgba(255,255,255,.22) !important;
  color: rgba(255,255,255,.92) !important;
}
#contact .contact-pill:hover{
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.32) !important;
}

/* right panel: bright but soft */
#contact .contact-formwrap{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.08));
  color: rgba(255,255,255,.92)
}

/* labels */
#contact .contact-formwrap .form-label{
  color: rgba(255,255,255,.92);
  font-weight: 650;
}

/* inputs: modern “soft” */
#contact .contact-input{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  color: rgba(255,255,255,.78); ;
  background: rgba(255,255,255,.04);
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
#contact .contact-input:focus{
  border-color: rgba(var(--ember-1), .55);
  box-shadow: 0 0 0 .25rem rgba(var(--ember-1), .18);
}

/* counter */
#contact .contact-counter{
  color: rgba(255,255,255,.92)
}

/* divider */
#contact .contact-divider{ height:1px; background: rgba(15,23,42,.10); border-radius: 999px; }

/* ember link */
#contact .link-ember{
  color: rgb(var(--ember-2));
  text-decoration: none;
  font-weight: 650;
}
#contact .link-ember:hover{ text-decoration: underline; }

/* button: ember gradient + subtle motion */
#contact .contact-submit{
  border-radius: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(var(--ember-1),1) 0%, rgba(var(--ember-2),1) 100%);
  box-shadow: 0 16px 34px rgba(var(--ember-2), .22);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
#contact .contact-submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(var(--ember-2), .28);
}
#contact .contact-submit:active{
  transform: translateY(0);
  filter: brightness(.98);
}

/* spinner inside button */
#contact .btn-spinner{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: rgba(255,255,255,1);
  display: inline-block;
  margin-left: .6rem;
  animation: emberSpin .7s linear infinite;
  vertical-align: -3px;
}
@keyframes emberSpin { to { transform: rotate(360deg); } }

/* helper text */
#contact .contact-privacy{ color: rgba(255,255,255,.92); }

/* mobile: keep split clean */
@media (max-width: 991.98px){
  #contact.contact-ember{ padding: 4rem 0; }
  #contact .contact-aside{
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
}

#contact .contact-input::placeholder{
  color: rgba(255,255,255,.78);
  opacity: 1;
}

/* FOOTER — dark glass, matches your orange brand */
.site-footer{
  padding: 3.5rem 0;
  background: transparent;
  /* background:
    radial-gradient(900px 420px at 15% 15%, rgba(var(--brand-rgb), .10), transparent 60%),
    radial-gradient(650px 360px at 85% 20%, rgba(120,160,255,.08), transparent 60%),
    linear-gradient(180deg, #0b0f17 0%, #090d14 100%); */

}

.footer-card{
  border-radius: 22px;
  padding: 1.6rem 1.6rem;
  background: rgba(14, 18, 28, .70);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  color: rgba(255,255,255,.92);
  position: relative;
  overflow: hidden;
}

/* subtle brand glow */
.footer-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background:
    radial-gradient(700px 420px at 12% 20%, rgba(var(--brand-rgb), .14), transparent 60%),
    radial-gradient(700px 420px at 88% 20%, rgba(var(--brand-rgb), .10), transparent 60%);
  opacity: .9;
}

.footer-brand{
  display: inline-flex;
  align-items: baseline;
  gap: .05rem;
  text-decoration: none;
}

.footer-mark{
  font-weight: 900;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,.92);
  /* font-size: 1.25rem; */
}

.footer-tagline{
  margin-top: .5rem;
  color: rgba(255,255,255,.72);
  max-width: 48ch;
  line-height: 1.55;
}

.footer-title{
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin: .25rem 0 .75rem;
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .45rem;
}

.footer-link{
  color: rgba(255,255,255,.86);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,.22);
  width: fit-content;
}

.footer-link:hover{
  border-bottom-color: rgba(var(--brand-rgb), .75);
  color: rgba(255,255,255,.95);
}

.footer-link--brand{
  border-bottom-style: solid;
  border-bottom-color: rgba(var(--brand-rgb), .60);
  color: rgb(var(--brand-rgb));
  font-weight: 700;
}

.footer-cta{
  display:flex;
  align-items:center;
  flex-wrap: wrap;
  gap: .6rem;
  color: rgba(255,255,255,.70);
}

.footer-dot{ opacity: .5; }

.footer-divider{
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 1.25rem 0 1rem;
  border-radius: 999px;
}

.footer-bottom{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-muted{
  color: rgba(255,255,255,.62);
}

.footer-top{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .25rem;
  text-decoration: none;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .45rem .75rem;
  width: fit-content;
  background: rgba(255,255,255,.05);
}

.footer-top:hover{
  border-color: rgba(var(--brand-rgb), .35);
}

.tline-toggle {
  width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  text-align: left;
}

.tline-toggle span:first-child {
  font-weight: 700;
}

.tline-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.tline-item.open .tline-arrow {
  transform: rotate(180deg);
}

.tline-collapse {
  margin-top: 0.75rem;
}