/* =========================================================
   Ankita Das — Portfolio
   Palette: yellow + white
   ========================================================= */

:root {
  /* Brand */
  --yellow-50:  #FFFBEB;
  --yellow-100: #FFF4C2;
  --yellow-200: #FFE783;
  --yellow-300: #FFD84D;
  --yellow:     #FFC800;
  --yellow-600: #E6AF00;
  --yellow-700: #B88800;

  /* Neutrals */
  --ink:   #14181F;
  --ink-2: #232A35;
  --body:  #4A5464;
  --muted: #7C8798;
  --line:  #ECEEF2;
  --line-2:#E1E5EB;
  --white: #FFFFFF;
  --paper: #FCFCFA;

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(20, 24, 31, .05), 0 4px 14px rgba(20, 24, 31, .05);
  --shadow:    0 2px 6px rgba(20, 24, 31, .05), 0 18px 40px -12px rgba(20, 24, 31, .14);
  --shadow-lg: 0 30px 70px -25px rgba(20, 24, 31, .28);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;

  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

::selection { background: var(--yellow-200); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }

.section { padding: clamp(5rem, 9vw, 8rem) 0; position: relative; }
.section--tint { background: linear-gradient(180deg, var(--yellow-50) 0%, #FFFDF6 100%); }
.section--dark { background: var(--ink); color: #C7CEDA; }

.section__head { max-width: 680px; margin-bottom: 3.25rem; }
.section__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--ink);
}
.section__sub { margin-top: .9rem; color: var(--muted); font-size: 1.02rem; }

.highlight {
  color: var(--ink);
  background-image: linear-gradient(180deg, transparent 62%, var(--yellow-200) 62%);
  padding: 0 .06em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow-700);
  background: var(--yellow-100);
  border: 1px solid var(--yellow-200);
  padding: .42rem .85rem; border-radius: 999px;
  margin-bottom: 1.15rem;
}
.eyebrow--dark { background: rgba(20,24,31,.08); border-color: rgba(20,24,31,.14); color: var(--ink-2); }

.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #16A34A;
  box-shadow: 0 0 0 0 rgba(22,163,74,.6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(22,163,74,0); }
  100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: -.01em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--primary {
  --btn-bg: var(--yellow); --btn-fg: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(230,175,0,.85);
}
.btn--primary:hover { --btn-bg: var(--yellow-300); box-shadow: 0 18px 34px -12px rgba(230,175,0,.9); }

.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--ink-2); box-shadow: var(--shadow); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-2);
}
.btn--ghost:hover { --btn-bg: var(--white); border-color: var(--yellow); box-shadow: var(--shadow-sm); }

.btn--outline-dark { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--outline-dark:hover { --btn-bg: var(--ink); --btn-fg: #fff; }

.btn--sm { padding: .62rem 1.2rem; font-size: .875rem; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20,24,31,.5); }

.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  box-shadow: 0 8px 18px -8px rgba(230,175,0,.9);
  flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: .98rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.brand__text em { font-style: normal; font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links > a:not(.btn) {
  position: relative;
  padding: .5rem .85rem; border-radius: 10px;
  font-size: .93rem; font-weight: 600; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav__links > a:not(.btn):hover { color: var(--ink); background: var(--yellow-50); }
.nav__links > a.is-active { color: var(--ink); }
.nav__links > a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 3px; background: var(--yellow);
}
.nav__cta { margin-left: .6rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); background: #fff;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + clamp(3rem, 7vw, 6rem)) 0 0;
  background:
    radial-gradient(900px 520px at 88% -8%, var(--yellow-100) 0%, rgba(255,244,194,0) 62%),
    radial-gradient(700px 480px at 4% 8%, #FFFDF3 0%, rgba(255,255,255,0) 60%),
    var(--white);
  overflow: hidden;
}
.hero__glow {
  position: absolute; top: -180px; right: -140px; width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,200,0,.35), rgba(255,200,0,0) 68%);
  filter: blur(20px); pointer-events: none; z-index: 0;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.1vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.14rem); max-width: 56ch; color: var(--body); }
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.4rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px dashed var(--line-2);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.02em;
}
.hero__stats span { font-size: .82rem; font-weight: 600; color: var(--muted); margin-top: .5rem; }

/* Portrait card */
.hero__visual { display: flex; justify-content: center; }
.portrait { position: relative; width: min(400px, 100%); aspect-ratio: 1 / 1.06; }

.portrait__blob {
  position: absolute; inset: 6% -4% 4% 0;
  background: linear-gradient(150deg, var(--yellow-200), var(--yellow) 55%, var(--yellow-600));
  border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%;
  animation: morph 14s ease-in-out infinite;
  box-shadow: var(--shadow-lg);
}
@keyframes morph {
  0%,100% { border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; }
  50%     { border-radius: 58% 42% 62% 38% / 42% 58% 42% 58%; }
}

.portrait__card {
  position: absolute; inset: 0; margin: auto;
  width: 78%; height: 84%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .3rem;
  text-align: center;
}
.portrait__monogram {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3.6rem, 8vw, 5.2rem); line-height: 1;
  letter-spacing: -.03em; color: var(--ink);
}
.portrait__card::before {
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 4px; border-radius: 4px; background: var(--yellow);
}
.portrait__name { margin-top: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-size: 1.12rem; }
.portrait__role { font-size: .8rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--yellow-700); }

.float-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff; border: 1px solid var(--line);
  padding: .68rem .95rem; border-radius: 14px;
  font-size: .82rem; font-weight: 700; color: var(--ink);
  box-shadow: var(--shadow); white-space: nowrap;
  animation: float 5.5s ease-in-out infinite;
}
.float-chip svg { width: 18px; height: 18px; color: var(--yellow-600); stroke-width: 2.1; flex: none; }
.float-chip--1 { top: 6%; left: -6%; }
.float-chip--2 { bottom: 8%; right: -4%; animation-delay: -2.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* Marquee */
.marquee {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.4rem;
  width: max-content; padding: 1.15rem 0;
  animation: scroll 38s linear infinite;
}
.marquee__track span {
  font-weight: 700; font-size: .92rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-2); white-space: nowrap;
}
.marquee__track .dot { color: var(--yellow); font-size: .8rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* =========================================================
   ABOUT
   ========================================================= */
.about__head { max-width: 620px; margin-bottom: 3rem; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about__body p + p { margin-top: 1.1rem; }
.about__body strong { color: var(--ink); font-weight: 700; }

.check-list { margin-top: 1.9rem; display: grid; gap: .8rem; }
.check-list li {
  position: relative; padding-left: 2.15rem;
  font-weight: 600; color: var(--ink-2); font-size: .97rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B88800' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat;
}

.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.mini-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.4rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--yellow-200); }
.mini-card:nth-child(even) { margin-top: 1.1rem; }

.mini-card__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--yellow-100); color: var(--yellow-700);
  display: grid; place-items: center; padding: 10px; margin-bottom: 1rem;
  transition: background .3s, color .3s;
}
.mini-card:hover .mini-card__icon { background: var(--yellow); color: var(--ink); }
.mini-card h3 { font-size: 1rem; font-weight: 800; color: var(--ink); letter-spacing: -.015em; margin-bottom: .4rem; }
.mini-card p { font-size: .89rem; line-height: 1.6; color: var(--muted); }

/* =========================================================
   EXPERIENCE
   ========================================================= */
.timeline { position: relative; display: grid; gap: 1.6rem; padding-left: 2.4rem; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-200) 60%, transparent 100%);
}
.timeline__item { position: relative; }
.timeline__marker {
  position: absolute; left: -2.4rem; top: 2.1rem;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--yellow);
  box-shadow: 0 0 0 4px var(--yellow-50);
}

.job {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s var(--ease), border-color .3s, transform .35s var(--ease);
}
.job:hover { box-shadow: var(--shadow); border-color: var(--yellow-200); }
.job--current { border-color: var(--yellow-200); box-shadow: 0 24px 60px -28px rgba(230,175,0,.65); position: relative; overflow: hidden; }
.job--current::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 5px;
  background: linear-gradient(180deg, var(--yellow), var(--yellow-600));
}

.job__top { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; }
.job__title {
  font-size: clamp(1.15rem, 2.1vw, 1.42rem);
  font-weight: 800; color: var(--ink); letter-spacing: -.02em;
  display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
}
.job__company { margin-top: .45rem; font-weight: 700; color: var(--ink-2); font-size: .98rem; }
.job__company .sep { color: var(--yellow); font-weight: 800; margin: 0 .15rem; }
.job__portal { color: var(--yellow-700); background: var(--yellow-50); padding: .1rem .55rem; border-radius: 6px; font-size: .88rem; }

.job__meta { display: flex; flex-direction: column; align-items: flex-end; gap: .3rem; text-align: right; }
.job__date { font-size: .84rem; font-weight: 800; color: var(--ink); background: var(--yellow-100); padding: .32rem .8rem; border-radius: 999px; white-space: nowrap; }
.job__place { font-size: .8rem; color: var(--muted); font-weight: 600; }

.job__summary { margin-top: 1.25rem; color: var(--body); }
.job__summary strong { color: var(--ink); font-weight: 700; }

.job__bullets { margin-top: 1.4rem; display: grid; gap: .85rem; }
.job__bullets li { position: relative; padding-left: 1.6rem; font-size: .945rem; line-height: 1.65; }
.job__bullets li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--yellow);
}
.job__bullets strong { color: var(--ink); font-weight: 800; }

.job__impact {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem;
  margin-top: 1.8rem; padding: 1.35rem 1.4rem;
  background: var(--yellow-50); border: 1px solid var(--yellow-100); border-radius: var(--radius);
}
.impact { display: flex; flex-direction: column; gap: .25rem; }
.impact strong { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); font-weight: 700; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.impact span { font-size: .76rem; font-weight: 700; color: var(--yellow-700); text-transform: uppercase; letter-spacing: .07em; }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chip-row li {
  font-size: .79rem; font-weight: 700; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line);
  padding: .38rem .8rem; border-radius: 999px;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.chip-row li:hover { border-color: var(--yellow); background: var(--yellow-50); transform: translateY(-2px); }

.tag { font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: .25rem .65rem; border-radius: 7px; }
.tag--live { background: #DCFCE7; color: #15803D; }

/* =========================================================
   SKILLS
   ========================================================= */
.skills__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.skills__label {
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}

.bar + .bar { margin-top: 1.35rem; }
.bar__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .55rem; }
.bar__top span { font-weight: 700; color: var(--ink); font-size: .95rem; }
.bar__top em { font-style: normal; font-weight: 800; font-size: .82rem; color: var(--yellow-700); }
.bar__track { height: 9px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar__fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow-600), var(--yellow) 70%, var(--yellow-300));
  transition: width 1.3s var(--ease);
}

.skills__side { display: grid; gap: 1.2rem; }
.panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-sm);
}
.panel--yellow { background: var(--yellow-50); border-color: var(--yellow-100); }

.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem .9rem; }
.tool-grid li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.tool-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); flex: none; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud li {
  font-size: .8rem; font-weight: 700; color: var(--ink);
  background: #fff; border: 1px solid var(--yellow-200);
  padding: .4rem .85rem; border-radius: 999px;
  transition: background .25s, transform .25s var(--ease);
}
.tag-cloud li:hover { background: var(--yellow); transform: translateY(-2px); }

/* =========================================================
   WORK
   ========================================================= */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.work-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.work-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--yellow-200); }

.work-card__thumb {
  position: relative; height: 150px;
  display: flex; align-items: flex-end; padding: 1rem;
  background: linear-gradient(135deg, var(--yellow-100), var(--yellow-50));
  overflow: hidden;
}
.work-card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.85) 0 3px, transparent 3px),
    radial-gradient(circle at 22% 68%, rgba(255,255,255,.7) 0 2px, transparent 2px);
  pointer-events: none;
}
.work-card__thumb--2 { background: linear-gradient(135deg, #FFF0B8, #FFE783); }
.work-card__thumb--3 { background: linear-gradient(135deg, #FFE9A6, #FFF7D6); }
.work-card__thumb--4 { background: linear-gradient(135deg, var(--yellow-300), var(--yellow-100)); }
.work-card__thumb--5 { background: linear-gradient(135deg, #FFFDF3, #FFEEB0); }
.work-card__thumb--6 { background: linear-gradient(135deg, #FFDD66, #FFF2BE); }

.work-card__cat {
  position: relative; z-index: 1;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); background: rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  padding: .34rem .7rem; border-radius: 8px;
}
.work-card__body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.work-card__body h3 { font-size: 1.03rem; font-weight: 800; color: var(--ink); letter-spacing: -.018em; line-height: 1.35; }
.work-card__body p { font-size: .89rem; color: var(--muted); margin-top: .55rem; line-height: 1.62; }
.work-card__stats {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem;
  margin-top: auto; padding-top: 1.15rem; border-top: 1px dashed var(--line-2);
  font-size: .78rem; font-weight: 600; color: var(--muted);
}
.work-card__stats strong { color: var(--yellow-700); font-weight: 800; }

.work-note { text-align: center; margin-top: 2.6rem; color: var(--muted); font-size: .92rem; font-weight: 600; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote { max-width: 860px; margin: 0 auto; text-align: center; position: relative; }
.quote__mark { width: 46px; height: 46px; margin: 0 auto 1.4rem; color: var(--yellow); stroke-width: 1.6; }
.quote p {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem); line-height: 1.5;
  letter-spacing: -.015em; color: #fff;
}
.quote footer { display: inline-flex; align-items: center; gap: .85rem; margin-top: 2rem; text-align: left; }
.quote__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 800; color: var(--ink);
  background: var(--yellow);
}
.quote footer span { display: flex; flex-direction: column; line-height: 1.35; }
.quote footer strong { font-size: .92rem; color: #fff; font-weight: 800; }
.quote footer em { font-style: normal; font-size: .82rem; color: var(--yellow); font-weight: 600; }

/* =========================================================
   SERVICES
   ========================================================= */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.service {
  position: relative; padding: 1.9rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .3s;
  overflow: hidden;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--yellow); background: var(--yellow-50); }
.service__num {
  font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1;
  color: var(--yellow); display: block; margin-bottom: 1.1rem;
  transition: color .3s;
}
.service:hover .service__num { color: var(--yellow-600); }
.service h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink); letter-spacing: -.018em; margin-bottom: .5rem; }
.service p { font-size: .88rem; color: var(--muted); line-height: 1.62; }

/* =========================================================
   CTA
   ========================================================= */
.section--cta { padding-bottom: clamp(4rem, 8vw, 7rem); }
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(130deg, var(--yellow) 0%, var(--yellow-300) 52%, var(--yellow-200) 100%);
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(2.2rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center;
  box-shadow: 0 40px 80px -40px rgba(230,175,0,.85);
}
.cta::before {
  content: ""; position: absolute; top: -120px; right: -80px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255,255,255,.35); filter: blur(10px);
}
.cta::after {
  content: ""; position: absolute; bottom: -140px; left: 22%; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.28); filter: blur(14px);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12;
  letter-spacing: -.025em; color: var(--ink); margin-bottom: .9rem;
}
.cta__copy > p:not(.eyebrow) { color: var(--ink-2); max-width: 48ch; font-weight: 500; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.cta__details { display: grid; gap: 1rem; }
.cta__details li {
  display: flex; align-items: center; gap: .9rem;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius-sm); padding: .95rem 1.1rem;
  backdrop-filter: blur(6px);
}
.cta__details svg { width: 22px; height: 22px; flex: none; color: var(--ink-2); stroke-width: 1.9; }
.cta__details span { display: flex; flex-direction: column; font-size: .88rem; color: var(--ink-2); font-weight: 600; line-height: 1.45; }
.cta__details strong { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow-700); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--muted); padding: 2.6rem 0; }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}
.brand--footer .brand__mark { box-shadow: none; }
.brand--footer .brand__text strong { color: #fff; }
.brand--footer .brand__text em { color: var(--muted); }

.footer__links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer__links a { font-size: .89rem; font-weight: 600; color: #A6AFBD; transition: color .2s; }
.footer__links a:hover { color: var(--yellow); }
.footer__copy { font-size: .82rem; }

/* =========================================================
   TO TOP
   ========================================================= */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 14px; padding: 12px;
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 14px 30px -12px rgba(230,175,0,.95);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .35s var(--ease), visibility .3s, background .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--yellow-300); transform: translateY(-3px); }

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.about__cards .reveal:nth-child(2) { transition-delay: .08s; }
.about__cards .reveal:nth-child(3) { transition-delay: .16s; }
.about__cards .reveal:nth-child(4) { transition-delay: .24s; }
.work-grid .reveal:nth-child(2), .service-grid .reveal:nth-child(2) { transition-delay: .08s; }
.work-grid .reveal:nth-child(3), .service-grid .reveal:nth-child(3) { transition-delay: .16s; }
.work-grid .reveal:nth-child(4), .service-grid .reveal:nth-child(4) { transition-delay: .24s; }
.work-grid .reveal:nth-child(5) { transition-delay: .32s; }
.work-grid .reveal:nth-child(6) { transition-delay: .4s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { order: -1; }
  .portrait { width: min(340px, 78%); }
  .float-chip--1 { left: -2%; }
  .float-chip--2 { right: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__cards .mini-card:nth-child(even) { margin-top: 0; }
  .skills__grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 1rem 1.5rem 1.6rem;
    box-shadow: 0 30px 50px -25px rgba(20,24,31,.3);
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .35s var(--ease), opacity .3s, visibility .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__links > a:not(.btn) { padding: .8rem .6rem; font-size: 1rem; border-radius: 10px; }
  .nav__links > a.is-active::after { left: .6rem; transform: none; bottom: 50%; margin-bottom: -2px; }
  .nav__cta { margin: .7rem 0 0; }
}

@media (max-width: 620px) {
  .container { width: min(1180px, 100% - 2.25rem); }
  body { font-size: 16px; }
  .hero__stats { gap: 1.6rem 2rem; }
  .hero__stats li { flex: 1 1 40%; }
  .portrait { width: min(300px, 92%); }
  .float-chip { font-size: .74rem; padding: .55rem .75rem; }
  .float-chip--1 { left: -3%; top: 2%; }
  .float-chip--2 { right: -2%; bottom: 3%; }
  .about__cards { grid-template-columns: 1fr; }
  .work-grid, .service-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 1.6rem; }
  .timeline__marker { left: -1.6rem; }
  .job__top { flex-direction: column; }
  .job__meta { align-items: flex-start; text-align: left; }
  .job__impact { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .cta__actions .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .to-top, .marquee, .section--cta .btn { display: none; }
  body { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
