/* =========================================================
   Srinivas Veeraboina — Portfolio
   Layout inspired by a clean bento / big-type portfolio style
   ========================================================= */

:root {
  --ink: #111111;
  --ink-2: #34353e;
  --muted: #666666;
  --line: #e7e7ec;
  --bg: #ffffff;
  --accent: #7054ed;

  /* bento tones */
  --violet: #6e4ff0;
  --sun: #f3d47a;
  --green: #a8e0c3;
  --blue: #a9d4f2;

  --radius: 28px;
  --radius-sm: 20px;
  --container: 1392px;
  --gutter: 64px;

  --font-display: "Figtree", Arial, sans-serif;
  --font-body: "Poppins", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 99px; z-index: 100;
}
.skip:focus { left: 16px; }

.dot { opacity: .5; margin-inline: 6px; }
.hidden { display: none; }
.arrow { display: inline-block; transition: transform .25s ease; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 24px;
  border-radius: 999px; border: 0;
  font: 500 15px/1 var(--font-body); letter-spacing: -0.02em;
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2a2a; }
.btn--light { background: #fff; color: var(--ink); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 14px; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: #fff; color: var(--ink);
  font: 600 13px/1 var(--font-display);
  transition: transform .3s cubic-bezier(.3,1.6,.5,1), background .25s ease, color .25s ease, box-shadow .25s ease;
}
.icon-btn svg { transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.icon-btn:hover {
  transform: translateY(-4px);
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 20px -8px rgba(17,17,17,.45);
}
.icon-btn:hover svg { transform: rotate(-12deg) scale(1.15); }
.icon-btn:active { transform: translateY(-1px) scale(.95); }
.icon-btn--line { border: 1px solid var(--line); width: 38px; height: 38px; }

.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px;
  font-size: 13px; background: #fff;
}
.pill--glass { background: rgba(255,255,255,.75); backdrop-filter: blur(8px); }

.round-arrow {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  background: #fff; font-size: 16px;
  transition: transform .3s ease;
}
.round-arrow--light { position: absolute; top: 24px; right: 24px; z-index: 2; color: var(--ink); box-shadow: 0 6px 18px -6px rgba(17,17,17,.35), 0 0 0 1px rgba(17,17,17,.06); }

.link-underline {
  display: inline-flex; gap: 10px; align-items: center;
  font-size: 14px; padding-bottom: 6px; border-bottom: 1px solid var(--ink);
}
.link-underline:hover .arrow { transform: translate(2px, -2px); }

/* ---------------- Header ---------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
}
.header__inner {
  height: 88px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font: 600 22px/1 var(--font-display);
  letter-spacing: -0.04em;
}
/* Header brand: first name in Poppins + accent dot (no hover effect) */
.logo--brand {
  display: inline-flex; align-items: flex-end; gap: 2px;
  font: 600 26px/1 var(--font-body);
  letter-spacing: -0.03em; color: var(--ink);
}
.logo__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-bottom: 5px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { position: relative; font-size: 15px; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav .btn { margin-left: 4px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--ink); cursor: pointer; position: relative;
}
.menu-btn span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff;
  transition: transform .3s ease, top .3s ease;
}
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.menu-toggle:focus-visible + .menu-btn { outline: 2px solid var(--accent); outline-offset: 3px; }
.menu-toggle:checked + .menu-btn span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle:checked + .menu-btn span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 24px;
}
.mobile-menu a {
  font: 600 32px/1.3 var(--font-display); letter-spacing: -0.04em;
}
.header:has(.menu-toggle:checked) .mobile-menu { display: flex; }

/* ---------------- Hero ---------------- */
.hero {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 16px;
  padding-top: 0;
}
.hero__card {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius);
  padding: 56px;
  display: flex; flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 85% 80%, #8b5cf6 0%, transparent 70%),
    radial-gradient(55% 60% at 60% 35%, #7f9cf5 0%, transparent 70%),
    radial-gradient(50% 50% at 25% 0%, #a7e3f3 0%, transparent 70%),
    radial-gradient(60% 60% at 0% 100%, #f1f1f4 0%, transparent 70%),
    linear-gradient(135deg, #dceff5 0%, #b7a6f7 100%);
}
.eyebrow { font-size: 13px; color: var(--ink-2); }

/* location pill at the top of the hero card */
.loc-pill {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 14px 7px 10px; border-radius: 99px; font-size: 13px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.8);
}
.loc-pill i { width: 8px; height: 8px; border-radius: 50%; background: #3dbb82; box-shadow: 0 0 0 4px rgba(61,187,130,.2); }

/* three quick facts under the intro */
.hero__stats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
.hero__stats div { padding: 0 28px; border-left: 1px solid rgba(17,17,17,.15); }
.hero__stats div:first-child { padding-left: 0; border-left: 0; }
.hero__stats strong { display: block; font: 600 30px/1 var(--font-display); letter-spacing: -0.04em; }
.hero__stats span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-2); }
.hero__title {
  margin-top: 44px;
  font-size: clamp(44px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hero__text {
  margin-top: 32px;
  max-width: 440px;
  font-size: 14px; line-height: 1.55;
  color: var(--ink);
}
.hero__actions {
  margin-top: auto; padding-top: 40px;
  display: flex; align-items: center; gap: 12px;
}
.spark {
  position: absolute; right: 56px; bottom: 44px;
  width: 44px; height: 44px; color: var(--ink);
  animation: spin 18s linear infinite;
}
.spark--light { position: static; color: #b9a8ff; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  /* soft card colour; the illustration's white background blends into it */
  background:
    radial-gradient(70% 60% at 85% 15%, #dfe9ff 0%, transparent 70%),
    radial-gradient(70% 60% at 10% 95%, #ece4ff 0%, transparent 70%),
    linear-gradient(160deg, #f4f6ff 0%, #efeaff 100%);
  min-height: 620px;
}
.hero__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: 42% 70%;
  mix-blend-mode: multiply;
  transform-origin: 45% 60%;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: none;
  pointer-events: none;
  transition: opacity .8s ease;
}
.hero__photo .pill {
  position: absolute; top: 28px; right: 28px; z-index: 2;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease;
}
.hero__badge {
  position: absolute; left: 28px; bottom: 28px; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 16px; border-radius: 20px;
  background: rgba(255,255,255,.8); backdrop-filter: blur(10px);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

/* Hero photo hover: slow push-in with a slight tilt, tint lifts,
   label and badge float in (About photo uses a different grayscale reveal) */
.hero__photo:hover img { transform: scale(1.05) translateY(-6px); filter: saturate(1.1); }
.hero__photo:hover::after { opacity: 0; }
.hero__photo:hover .pill { transform: translateY(4px); background: var(--ink); color: #fff; }
.hero__photo:hover .hero__badge { transform: translateY(-8px); }
.hero__badge strong { font: 600 36px/1 var(--font-display); letter-spacing: -0.04em; }
.hero__badge span { font-size: 12px; line-height: 1.35; color: var(--ink-2); }

/* ---------------- Sections ---------------- */
.section { padding-top: 120px; }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 32px;
}
.display {
  font-size: clamp(64px, 9vw, 130px);
  line-height: .85;
  letter-spacing: -0.055em;
}
.section__meta { font-size: 12px; color: var(--muted); padding-bottom: 6px; }
.section__foot { display: flex; justify-content: flex-end; margin-top: 28px; }

/* ---------------- Work grid ---------------- */
.work-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 340px 340px;
  grid-auto-flow: row dense;
  gap: 16px;
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  padding: 22px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(40, 30, 90, .35); }
.work-card:hover .round-arrow { transform: rotate(45deg); }
.work-card--wide {
  grid-column: 1;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center;
  padding: 30px;
}
.work-card__info { display: flex; flex-direction: column; height: 100%; position: relative; z-index: 1; }
.work-card__eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.work-card__title--md { margin-top: 14px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; }
.work-card__desc { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-2); max-width: 280px; }
.work-card__info .tags { margin-top: auto; }
.work-card__arrow { position: absolute; top: 22px; right: 22px; z-index: 2; }
.work-card__art { position: relative; align-self: center; }
.work-card__art .ui-window {
  max-width: none; transform: rotate(-2deg) translateY(10px);
  transition: transform .5s ease;
}
.work-card--wide:hover .work-card__art .ui-window { transform: rotate(0) translateY(4px) scale(1.02); }
.work-card__art .ui-stepper { padding: 16px 16px 10px; }
.work-card__art .ui-stepper span { width: 22px; height: 22px; font-size: 10px; }
.work-card__art .ui-form--pad { padding: 4px 16px 16px; gap: 8px; }
.work-card__art .ui-form i { height: 24px; }
.work-card__art .ui-actions em, .work-card__art .ui-actions strong { height: 24px; }
.work-card__art .lms { padding: 12px; gap: 8px; }
.work-card__art .lms__search { height: 30px; font-size: 13px; }
.work-card__art .lms__search strong { height: 22px; line-height: 22px; font-size: 9px; padding: 0 10px; }
.work-card__art .lms__filters em { font-size: 8px; padding: 3px 7px; }
.work-card__art .lms-card__img { height: 34px; }

.work-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }
.work-card__title { font-size: 22px; letter-spacing: -0.04em; }
.work-card__title--lg { font-size: clamp(32px, 3.4vw, 48px); line-height: 1; }
.work-card__project {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 16px; font-size: 19px; font-weight: 500; color: var(--ink-2);
}
.work-card__project::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent);
}

.tags {
  position: relative; z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.85);
  font-size: 12px; color: var(--ink-2);
}

.tone-sky   { background: linear-gradient(160deg, #eef3f8 0%, #d6e2ee 100%); }
.tone-lilac { background: linear-gradient(160deg, #ece6ff 0%, #cfc2fb 100%); }
.tone-peach { background: linear-gradient(160deg, #fff1e6 0%, #f7d6c2 100%); }
.tone-mint  { background: linear-gradient(160deg, #e9f7f0 0%, #c4ead8 100%); }

/* Image card (e.g. Mobile UI / Tekapp Health) */
.work-card--image { background: #0d1640; color: #fff; }
.work-card__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 78%;
  transform: scale(1.35); transform-origin: 50% 85%;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.work-card--image::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,18,60,.85) 0%, rgba(10,18,60,0) 35%);
}
.work-card--image .work-card__top { z-index: 2; }
.work-card--image .tags { z-index: 2; }
.work-card--image .round-arrow { color: var(--ink); }
.work-card--image:hover .work-card__img { transform: scale(1.45); }

.work-card--cta {
  background: linear-gradient(160deg, #f1eeff 0%, #ddd5ff 100%);
  padding: 28px; color: #211a39;
}
.work-card__title--cta { font-size: clamp(24px, 2.2vw, 31px); line-height: 1.1; }
.work-card--cta p { font-size: 14px; margin-top: 10px; }
.work-card--cta .btn { margin-top: auto; align-self: flex-start; }

/* CSS-only project mockups */
.mock { flex: 1; display: grid; place-items: center; padding: 16px 0; }
.mock--desktop {
  flex: none; align-self: center;
  margin: auto auto 20px; width: 86%; max-width: 620px; aspect-ratio: 16/10;
  display: flex; flex-direction: column; padding: 0;
  place-items: stretch;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 60px -30px rgba(20, 30, 60, .45);
  transform: rotate(-2deg);
  transition: transform .5s ease;
}
.mock__bar { height: 26px; display: flex; gap: 6px; align-items: center; padding-left: 12px; background: #f4f4f7; }
.mock__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d4d4dc; }
.mock__body { flex: 1; display: flex; }
.mock__side { width: 18%; background: #1e1b3a; }
.mock__main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.mock__row { display: flex; gap: 10px; }
.mock__row b { flex: 1; height: 34px; border-radius: 8px; background: #eef0f6; }
.mock__row--kpi b:first-child { background: #e6defe; }
.mock__row--kpi b:nth-child(2) { background: #dff3ea; }
.mock__row--kpi b:last-child { background: #fde8d8; }
.mock__chart {
  flex: 1; border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(112,84,237,.18), transparent),
    repeating-linear-gradient(90deg, transparent 0 18%, #f0f0f5 18% calc(18% + 1px));
  clip-path: polygon(0 70%, 15% 55%, 30% 62%, 48% 30%, 62% 42%, 80% 18%, 100% 26%, 100% 100%, 0 100%);
}

.chain { display: flex; }
.chain i {
  width: 64px; height: 64px; border-radius: 16px; margin-left: -12px;
  background: #fff; border: 3px solid #7054ed; transform: rotate(45deg);
  box-shadow: 0 14px 24px -12px rgba(80, 50, 200, .5);
}
.chain i:nth-child(2) { background: #7054ed; }

.bars { width: 70%; height: 130px; display: flex; align-items: flex-end; gap: 10px; }
.bars i { flex: 1; height: var(--h); border-radius: 8px 8px 4px 4px; background: #f08a5d; opacity: .85; }
.bars i:nth-child(even) { background: #2b2440; }

.phone {
  width: 96px; height: 170px; border-radius: 22px; padding: 18px 10px 10px;
  background: #fff; border: 5px solid #1d1d1f;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: 0 24px 34px -18px rgba(10, 60, 40, .5);
  transform: rotate(6deg);
}
.phone b { height: 22px; border-radius: 6px; background: #e3f4ec; }
.phone b:first-child { height: 40px; background: #3dbb82; }

/* ---------------- Coloured stat / tone cards (shared) ---------------- */
.stat {
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column;
}
.stat__label { font-size: 12px; letter-spacing: .06em; }
.stat__big { margin-top: 28px; font: 600 72px/1 var(--font-display); letter-spacing: -0.05em; }
.stat__title { margin-top: 28px; font-size: 32px; line-height: 1.05; letter-spacing: -0.04em; }
.stat p { margin-top: auto; font-size: 14px; line-height: 1.45; }

.tone-violet { background: var(--violet); color: #fff; }
.tone-sun    { background: var(--sun);    color: #292214; }
.tone-green  { background: var(--green);  color: #173d2a; }
.tone-blue   { background: var(--blue);   color: #17304d; }

/* ---------------- About: photo collage + text ---------------- */
.about2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.about2__collage {
  display: grid; grid-template-columns: 1.36fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 16px; height: 560px;
}
.about2__ph {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius);
  transition: transform .4s ease;
}
.about2__ph--tall { grid-row: 1 / span 2; }
.about2__ph--dark { background: #0d1640; }
.about2__ph img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; mix-blend-mode: multiply;
  transition: transform .8s ease;
}
.about2__ph--tall img { object-position: 50% 30%; }
.about2__ph--face img { object-position: 36% 22%; }
.about2__ph--dark img { mix-blend-mode: normal; object-position: 50% 80%; transform: scale(1.3); transform-origin: 50% 85%; }
.about2__ph:hover { transform: rotate(-1deg) translateY(-4px); }
.about2__ph:hover img { transform: scale(1.05); }
.about2__ph--dark:hover img { transform: scale(1.38); }

/* sticker-style captions on the photos */
.sticker {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 7px 14px; border-radius: 99px;
  background: #fff; color: var(--ink);
  font: 600 14px/1.2 var(--font-display); letter-spacing: -0.01em;
  box-shadow: 0 8px 18px -10px rgba(17,17,17,.4);
  transform: rotate(-3deg);
}
.sticker--tilt { top: auto; bottom: 14px; transform: rotate(2deg); }

.about2__title { font-size: clamp(64px, 7.4vw, 116px); }
.about2__sub {
  margin-top: 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.about2__intro { margin-top: 22px; font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 620px; }
.about2__hello {
  font: italic 600 26px/1 var(--font-display); letter-spacing: -0.02em; color: var(--accent);
  margin-right: 6px;
}

.about2__timeline {
  margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.about2__timeline dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.about2__timeline dd { margin: 8px 0 0; font: 500 18px/1.3 var(--font-display); letter-spacing: -0.02em; color: var(--ink); }

.about2__tools { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.about2__tools li {
  padding: 6px 13px; border-radius: 99px; font-size: 13px;
  border: 1px solid var(--line); background: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.about2__tools li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.about2__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------------- What I do ---------------- */
.wid__head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 32px; }
.wid__note {
  font: italic 600 clamp(20px, 2vw, 28px)/1.2 var(--font-display); letter-spacing: -0.02em;
  color: var(--accent); padding-bottom: 10px;
}
.wid { display: flex; flex-direction: column; gap: 14px; }
.wid__row {
  display: grid; grid-template-columns: auto minmax(0, 1.5fr) minmax(0, 1fr) auto;
  align-items: center; gap: 32px;
  padding: 24px 28px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.wid__row:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 22px 44px -26px rgba(40,30,90,.35); }
.wid__icon {
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; color: #2b2450;
  transition: transform .4s cubic-bezier(.3,1.6,.5,1);
}
.wid__icon svg { width: 38px; height: 38px; }
.wid__row:hover .wid__icon { transform: rotate(-8deg) scale(1.06); }
.wid__body h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.035em; line-height: 1.1; }
.wid__body p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 520px; }

.wid__projects { display: flex; gap: 12px; flex-wrap: wrap; }
.wid__thumb { display: flex; flex-direction: column; gap: 6px; width: 112px; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.wid__thumb-art {
  position: relative; height: 72px; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; border: 1px solid rgba(17,17,17,.06);
  transition: transform .3s ease;
}
.wid__thumb:hover .wid__thumb-art { transform: translateY(-3px) rotate(-2deg); }
.wid__thumb:hover { color: var(--ink); }
.wid__thumb-art--img { background: #0d1640; }
.wid__thumb-art--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; transform: scale(1.5); transform-origin: 50% 85%; }

/* tiny CSS drawings inside the project thumbnails */
.mini-step { display: flex; align-items: center; gap: 6px; }
.mini-step i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #c9c5dc; background: #fff; }
.mini-step i.on { background: #3dbb82; border-color: #3dbb82; }
.mini-step i.cur { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(112,84,237,.2); }
.mini-grid { display: grid; grid-template-columns: repeat(2, 22px); gap: 5px; }
.mini-grid i { height: 16px; border-radius: 4px; background: #fff; box-shadow: inset 0 -5px 0 #3dbb82; }

.wid__cta { white-space: nowrap; }

.skills {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.skills li {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line); font-size: 13px;
  transition: background .2s, color .2s, border-color .2s;
}
.skills li:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- Skills section ---------------- */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.skill-group {
  border-radius: var(--radius); padding: 26px 22px;
  display: flex; flex-direction: column; min-height: 320px;
  transition: transform .35s ease;
}
.skill-group:hover { transform: translateY(-4px); }
.skill-group__title { margin-top: 28px; font-size: 32px; line-height: 1.05; letter-spacing: -0.04em; }
.skill-group .skills { margin-top: auto; padding-top: 28px; column-gap: 6px; row-gap: 0; }
.skill-group .skills li {
  background: rgba(255,255,255,.55); border-color: transparent;
  padding: 7px 11px; font-size: 12px; white-space: nowrap; margin-bottom: 6px;
}
/* forces the next label onto a new row, so chosen pairs always share a row */
.skill-group .skills li.skills__break {
  flex-basis: 100%; height: 0; padding: 0; margin: 0; border: 0; background: none;
}
.skill-group .skills li:hover { background: var(--ink); color: #fff; }
/* labels on the violet Design tools card: light text, and on hover a white label with violet text */
.skill-group .skills--on-dark li { background: rgba(255,255,255,.16); color: #fff; }
.skill-group .skills--on-dark li:hover { background: #fff; color: var(--violet); }

/* ---------------- Contact ---------------- */
#contact { padding-top: 120px; }
.contact {
  border-radius: var(--radius);
  background: #111;
  color: #fff;
  padding: 48px 48px 56px;
  overflow: hidden;
}
.contact__top { display: flex; justify-content: space-between; align-items: center; }
.contact__eyebrow { font-size: 12px; color: #bbb; }
.contact__title {
  margin-top: 36px;
  font-size: clamp(48px, 7.8vw, 112px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -0.05em;
}

/* "How should we talk?" — dark two-column contact block on the home page */
.talk {
  border-radius: var(--radius);
  background:
    radial-gradient(45% 60% at 0% 100%, rgba(112,84,237,.35) 0%, transparent 70%),
    #131318;
  color: #f3f2f8;
  padding: 56px;
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
}
.talk__title {
  font: 700 clamp(56px, 7vw, 108px)/.92 var(--font-display);
  letter-spacing: -0.055em; text-transform: uppercase;
}
.talk__sub { margin-top: 24px; max-width: 380px; font-size: 17px; line-height: 1.5; color: #c9c7d6; }

.talk__channels { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.talk__pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 99px;
  font: 600 14px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
  color: #f3f2f8; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
  transition: background .25s, color .25s, box-shadow .25s, transform .25s;
}
.talk__pill span { font-size: 16px; transition: transform .25s; }
.talk__pill:hover { background: #fff; color: var(--ink); box-shadow: none; transform: translateY(-2px); }
.talk__pill:hover span { transform: translate(2px, -2px); }
.talk__pill--main { background: var(--accent); box-shadow: none; }
.talk__pill--main:hover { background: #8a72f5; color: #fff; }

.talk__direct { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.talk__chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 18px; border-radius: 99px;
  background: rgba(255,255,255,.07); font-size: 15px; font-weight: 500;
  transition: background .25s;
}
.talk__chip em {
  font-style: normal; font-size: 12px; padding: 5px 12px; border-radius: 99px;
  background: rgba(255,255,255,.12);
}
.talk__chip:hover { background: rgba(255,255,255,.14); }
.talk__chip:hover em { background: #fff; color: var(--ink); }

.talk__psst {
  margin-top: 28px; font: italic 600 clamp(20px, 1.8vw, 26px)/1.2 var(--font-display);
  letter-spacing: -0.02em; color: #b9a8ff; transform: rotate(-2deg); transform-origin: left;
}

.talk__form {
  background: #1f1f27; border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.talk__note { font: italic 600 clamp(24px, 2.2vw, 32px)/1.1 var(--font-display); letter-spacing: -0.02em; color: #b9a8ff; }
.talk__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.talk__form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 500; color: #d9d7e4; }
.talk__form input, .talk__form textarea {
  background: #121217; border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  color: #fff; font: 400 15px/1.4 var(--font-body); padding: 13px 14px; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.talk__form textarea::placeholder { color: #6f6d7d; }
.talk__form input:focus, .talk__form textarea:focus { outline: none; border-color: #b9a8ff; box-shadow: 0 0 0 3px rgba(185,168,255,.2); }
.talk__send {
  margin-top: 6px; height: 52px; border: 0; border-radius: 99px; cursor: pointer;
  background: var(--accent); color: #fff; font: 700 15px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, transform .25s;
}
.talk__send:hover { background: #8a72f5; transform: translateY(-2px); }

/* ---------------- Footer ---------------- */
.footer {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; padding-top: 40px; padding-bottom: 48px;
}
.footer .logo { font-size: 20px; }
.footer__sub { margin-top: 10px; font-size: 12px; color: var(--muted); }
.footer__copy { font-size: 12px; color: var(--muted); }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.footer__icons { display: flex; gap: 8px; }
.footer__top { font-size: 12px; color: var(--muted); }
.footer__top:hover { color: var(--ink); }

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =================== Responsive =================== */
@media (max-width: 1200px) {
  :root { --gutter: 40px; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .wid__row { grid-template-columns: auto 1fr auto; }
  .wid__projects { grid-column: 2; grid-row: 2; }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__card { min-height: 560px; }
  .hero__photo { min-height: 480px; }

  .work-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .work-card { min-height: 320px; }
  .work-card--wide { grid-column: span 2; min-height: 320px; }

  .stat { min-height: 240px; }
  .about2 { grid-template-columns: 1fr; gap: 40px; }
  .about2__collage { height: 480px; }

  .talk { grid-template-columns: 1fr; gap: 40px; padding: 44px; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 22px; }
  .header__inner { height: 72px; }
  .logo { font-size: 18px; }
  .logo--brand { font-size: 25px; }
  html { scroll-padding-top: 80px; }

  .hero__card { padding: 28px 24px; min-height: 0; }
  .hero__title { margin-top: 28px; font-size: 40px; }
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
  .hero__stats div { padding: 0 10px; }
  .hero__stats strong { font-size: 20px; white-space: nowrap; }
  .hero__stats span { font-size: 11px; }
  .hero__actions { flex-wrap: wrap; gap: 8px; }
  .hero__actions .icon-btn { width: 40px; height: 40px; }
  .hero__actions .btn { padding: 0 18px; gap: 8px; }
  .spark { right: 28px; bottom: 28px; width: 36px; height: 36px; }
  .hero__card .spark { display: none; }
  .hero__photo { min-height: 400px; }

  .section, #contact { padding-top: 80px; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }

  .work-grid, .skills-grid { grid-template-columns: 1fr; }
  .wid__row { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .wid__projects { grid-column: auto; grid-row: auto; }
  .wid__icon { width: 64px; height: 64px; }
  .wid__icon svg { width: 30px; height: 30px; }
  .wid__cta { justify-self: start; }
  .skill-group { min-height: 0; }
  .work-card--wide { grid-column: auto; }
  .work-card--wide { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .work-card__info .tags { margin-top: 18px; }
  .about2__collage { height: 380px; gap: 10px; }
  .sticker { font-size: 12px; padding: 5px 10px; top: 10px; left: 10px; }
  .sticker--tilt { top: auto; bottom: 10px; }
  .about2__timeline { grid-template-columns: 1fr; gap: 14px; }


  .contact { padding: 28px 24px 32px; }
  .talk { padding: 28px 20px; }
  .talk__form { padding: 22px 18px; }
  .talk__row { grid-template-columns: 1fr; }
  .talk__chip { font-size: 14px; }

  .footer { grid-template-columns: 1fr; }
  .footer__right { align-items: flex-start; }
}


/* =========================================================
   CASE STUDY PAGE (student-onboarding.html)
   ========================================================= */
.cs-back {
  display: inline-block; margin: 8px 0 20px;
  font-size: 14px; color: var(--muted);
}
.cs-back:hover { color: var(--ink); }

.cs-hero__card {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  padding: 56px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  min-height: 560px;
  background:
    radial-gradient(60% 55% at 85% 80%, #8b5cf6 0%, transparent 70%),
    radial-gradient(55% 60% at 60% 35%, #7f9cf5 0%, transparent 70%),
    radial-gradient(50% 50% at 25% 0%, #a7e3f3 0%, transparent 70%),
    linear-gradient(135deg, #dceff5 0%, #b7a6f7 100%);
}
.cs-hero__title {
  margin-top: 28px;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: .92; letter-spacing: -0.055em;
}
.cs-hero__lead { margin-top: 28px; max-width: 420px; font-size: 15px; line-height: 1.55; }

.cs-section { padding-top: 100px; }

/* ---------- Project info card (Role / Tools / Platform / Timeline) ---------- */
.cs-info {
  margin: 24px auto 0; max-width: 980px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; padding: 28px 8px;
}
.cs-info__col { padding: 4px 28px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--ink-2); }
.cs-info__col + .cs-info__col { border-left: 1px solid var(--line); }
.cs-info__h { font-size: 28px; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 10px; }
.cs-info__icons { display: flex; align-items: center; gap: 10px; color: var(--ink); min-height: 32px; }
.cs-info__small { font-size: 13px; color: var(--muted); }
.cs-info__row { display: flex; gap: 12px; align-items: flex-start; line-height: 1.7; }
.cs-info__row svg { margin-top: 3px; flex-shrink: 0; color: var(--ink); }
.tool-icon { display: inline-grid; place-items: center; transition: transform .3s cubic-bezier(.3,1.6,.5,1); }
.tool-icon:hover { transform: translateY(-3px) scale(1.08); }

/* ---------- Numbered section headings: "01. Overview" ---------- */
.cs-num-h {
  font-size: clamp(30px, 3vw, 42px); line-height: 1.1; letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.cs-num-h span { font-weight: 400; color: #a9a6b8; margin-right: 6px; }
.cs-text { font-size: 16px; line-height: 1.7; color: var(--ink-2); max-width: 560px; }

.cs-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cs-bullets { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cs-bullets li::marker { color: var(--accent); }
.cs-chips { margin-top: 64px; }

/* ---------- 03. Design process: icon steps with arrows ---------- */
.cs-flow {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
}
.cs-flow li { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.cs-flow li + li::before {
  content: ""; position: absolute; top: 120px; left: -26%; width: 40%; height: 1px;
  background: #cfc7ea;
}
.cs-flow li + li::after {
  content: ""; position: absolute; top: 116px; left: calc(14% - 6px);
  width: 8px; height: 8px; border-top: 1px solid #cfc7ea; border-right: 1px solid #cfc7ea;
  transform: rotate(45deg);
}
.cs-flow__icon {
  width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center;
  background: #efeafe; color: #3b2f7a;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.cs-flow__icon svg { width: 40px; height: 40px; }
.cs-flow li:hover .cs-flow__icon { background: var(--accent); color: #fff; transform: translateY(-4px); }
.cs-flow h3 { margin-top: 18px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing: -0.03em; }
.cs-flow p { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---------- 06. Results & learnings ---------- */
.cs-results2 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; align-items: start; }
.cs-insight {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 26px 28px 32px; display: flex; flex-direction: column; gap: 28px;
  font-size: 16px; line-height: 1.55; color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.cs-insight:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(40,30,90,.35); }
.cs-insight__icon { font-size: 24px; line-height: 1; }

.cs-screens { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cs-screen { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 24px; overflow: hidden; }
.cs-screen--wide { grid-column: span 2; display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 40px; padding: 40px; }
.cs-screen__art { display: grid; place-items: center; min-height: 260px; }
.cs-screen__copy h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.04em; line-height: 1.1; }
.cs-screen__copy p { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 440px; }
.tone-sun-soft { background: linear-gradient(160deg, #fff8e3 0%, #f6e2a6 100%); }

.cs-next__actions { margin-top: 40px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cs-next__link { color: #ccc; font-size: 14px; }
.cs-next__link:hover { color: #fff; }

/* ---------- CSS-built UI mockups ---------- */
.ui-window {
  width: 100%; max-width: 560px;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 70px -30px rgba(30, 20, 90, .5);
}
.ui-window--flat { box-shadow: 0 24px 50px -28px rgba(20, 40, 80, .45); }
.cs-cover { position: relative; }
.cs-cover .ui-window { transform: rotate(-1.5deg); }

.ui-onb { display: flex; min-height: 300px; }
.ui-steps {
  width: 34%; padding: 22px 18px; background: #1e1b3a; color: #b8b4d6;
  display: flex; flex-direction: column; gap: 14px; font-size: 12px;
}
.ui-steps span { position: relative; padding-left: 22px; }
.ui-steps span::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 12px; height: 12px;
  border-radius: 50%; border: 2px solid #4b4670; box-sizing: border-box;
}
.ui-steps .is-done { color: #fff; }
.ui-steps .is-done::before { background: #3dbb82; border-color: #3dbb82; }
.ui-steps .is-current { color: #fff; font-weight: 500; }
.ui-steps .is-current::before { border-color: #a58bff; box-shadow: 0 0 0 3px rgba(165,139,255,.3); }

.ui-form { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.ui-form--pad { padding: 8px 28px 28px; }
.ui-h { display: block; width: 46%; height: 14px; border-radius: 6px; background: #1e1b3a; margin-bottom: 6px; }
.ui-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui-form i, .ui-full { display: block; height: 34px; border-radius: 8px; border: 1.5px solid #e3e3ec; background: #fafafd; }
.ui-form i.is-error { border-color: #e5484d; background: #fff5f5; }
.ui-hint { margin-top: -6px; font-size: 11px; color: #d13438; text-align: right; }
.ui-actions { margin-top: auto; display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.ui-actions em { width: 70px; height: 32px; border-radius: 99px; border: 1.5px solid #e3e3ec; }
.ui-actions strong { width: 96px; height: 32px; border-radius: 99px; background: var(--accent); }

.ui-toast {
  position: absolute; right: -6px; bottom: -14px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px; background: #fff; font-size: 13px;
  box-shadow: 0 18px 40px -16px rgba(30, 20, 90, .45);
}
.ui-toast span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #3dbb82; color: #fff; font-size: 12px; }

.ui-stepper { display: flex; align-items: center; padding: 28px 28px 20px; }
.ui-stepper span {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px;
  border: 2px solid #dcdce6; color: #888;
}
.ui-stepper span.is-done { background: #3dbb82; border-color: #3dbb82; color: #fff; }
.ui-stepper span.is-current { border-color: var(--accent); color: var(--accent); font-weight: 600; box-shadow: 0 0 0 4px rgba(112,84,237,.15); }
.ui-stepper i { flex: 1; height: 2px; background: #e3e3ec; }
.ui-stepper i.is-done { background: #3dbb82; }

.ui-upload { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 10px; }
.ui-drop {
  height: 120px; border-radius: 16px; border: 2px dashed #6fc79f; background: rgba(255,255,255,.7);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.ui-drop span { width: 36px; height: 36px; border-radius: 50%; background: #3dbb82; color: #fff; display: grid; place-items: center; }
.ui-drop i { width: 50%; height: 8px; border-radius: 4px; background: #cfe9dc; }
.ui-file { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: #fff; }
.ui-file b { width: 28px; height: 32px; border-radius: 6px; background: #e6defe; flex-shrink: 0; }
.ui-file i { flex: 1; height: 8px; border-radius: 4px; background: #e9e9f0; }
.ui-file i.ui-progress { background: linear-gradient(90deg, var(--accent) 62%, #e9e9f0 62%); }
.ui-file span { width: 22px; height: 22px; border-radius: 50%; background: #3dbb82; color: #fff; display: grid; place-items: center; font-size: 11px; }

.ui-review { width: 100%; max-width: 320px; background: #fff; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 24px 40px -24px rgba(80, 60, 10, .4); }
.ui-review__row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f4; }
.ui-review__row b { width: 30%; height: 8px; border-radius: 4px; background: #c9c9d6; }
.ui-review__row i { flex: 1; height: 8px; border-radius: 4px; background: #ececf2; }
.ui-review__row em { font-style: normal; font-size: 11px; color: var(--accent); }
.ui-submit { margin-top: 6px; height: 36px; border-radius: 99px; background: var(--ink); }

/* =========================================================
   LMS COURSE DISCOVERY PAGE (lms-course-discovery.html)
   ========================================================= */
.cs-hero__card--lms {
  background:
    radial-gradient(55% 55% at 85% 85%, #5fb3f5 0%, transparent 70%),
    radial-gradient(55% 60% at 60% 30%, #8f86ec 0%, transparent 70%),
    radial-gradient(50% 50% at 15% 0%, #c6f0e3 0%, transparent 70%),
    linear-gradient(135deg, #e3f1fb 0%, #b9b0f7 100%);
}
.cs-info__small--list { line-height: 1.7; font-size: 14px; color: var(--ink-2); }
.cs-text--gap { margin-top: 14px; }

/* Course listing mockup */
.lms { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #f7f7fb; }
.lms__search {
  display: flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 6px 0 14px; border-radius: 99px;
  background: #fff; border: 1.5px solid #dcd6fb; color: var(--accent); font-size: 16px;
}
.lms__search i { flex: 1; height: 8px; border-radius: 4px; background: #ececf3; max-width: 55%; }
.lms__search strong { margin-left: auto; height: 28px; padding: 0 14px; border-radius: 99px; background: var(--accent); color: #fff; font: 500 11px/28px var(--font-body); }
.lms__filters { display: flex; flex-wrap: wrap; gap: 6px; }
.lms__filters em {
  font-style: normal; font-size: 10px; padding: 5px 10px; border-radius: 99px;
  background: #fff; border: 1px solid #e3e3ec; color: var(--ink-2);
}
.lms__filters em.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.lms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lms-card { background: #fff; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 14px -10px rgba(30,20,90,.35); }
.lms-card__img { display: block; height: 48px; border-radius: 6px; }
.lms-card__img.c1 { background: linear-gradient(135deg, #c9bdfb, #7054ed); }
.lms-card__img.c2 { background: linear-gradient(135deg, #bfe8d6, #3dbb82); }
.lms-card__img.c3 { background: linear-gradient(135deg, #fde1c8, #f08a5d); }
.lms-card__t { display: block; height: 8px; width: 80%; border-radius: 4px; background: #1e1b3a; }
.lms-card__d { display: block; height: 6px; border-radius: 3px; background: #e6e6ee; }
.lms-card__d.short { width: 60%; }
.lms-card__btn { margin-top: 4px; height: 18px; border-radius: 99px; background: var(--accent); width: 70%; }

/* 03. UX problems: numbered row */
.cs-problems {
  list-style: none; margin: 36px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.cs-problems li {
  border-radius: var(--radius-sm); padding: 24px; background: #f5f4fa;
  display: flex; flex-direction: column; gap: 10px; min-height: 210px;
  transition: background .3s, color .3s, transform .3s;
}
.cs-problems li:hover { background: var(--ink); color: #fff; transform: translateY(-4px); }
.cs-problems li:hover p { color: #ccc; }
.cs-problems__n { font: 600 28px/1 var(--font-display); color: var(--accent); letter-spacing: -0.04em; }
.cs-problems h3 { margin-top: auto; font-size: 20px; letter-spacing: -0.03em; line-height: 1.15; }
.cs-problems p { font-size: 13px; line-height: 1.5; color: var(--ink-2); }

/* 04. Design approach: A–D cards */
.cs-approach { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cs-approach__card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; min-height: 300px; transition: transform .3s; }
.cs-approach__card:hover { transform: translateY(-4px); }
.cs-approach__card h3 { margin-top: 24px; font-size: 24px; line-height: 1.1; letter-spacing: -0.04em; }
.cs-approach__card ul { margin: auto 0 0; padding: 24px 0 0 18px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.45; }

/* 05. Solution: 3-step flow + card anatomy */
.cs-flow--3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; }
.cs-anatomy {
  margin-top: 64px; padding: 48px; border-radius: var(--radius);
  background: linear-gradient(160deg, #f3f6ff 0%, #ece6ff 100%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.cs-anatomy__art { display: grid; place-items: center; }
.anat-card {
  position: relative; width: 100%; max-width: 360px; background: #fff; border-radius: 18px;
  padding: 14px; box-shadow: 0 30px 50px -30px rgba(30,20,90,.45);
}
.anat-card .lms-card__img { height: 130px; border-radius: 12px; }
.anat-card__body { padding: 16px 6px 6px; display: flex; flex-direction: column; gap: 10px; }
.anat-card__body strong { font: 600 20px/1.2 var(--font-display); letter-spacing: -0.03em; }
.anat-card__body p { font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.anat-card__btn {
  display: inline-block; margin-top: 4px; padding: 10px 18px; border-radius: 99px;
  background: var(--accent); color: #fff; font-size: 13px; font-weight: 500;
}
/* each row carries its own pin, so pins stay aligned at any width */
.anat-row { position: relative; padding-right: 18px; }
.anat-pin {
  position: absolute; right: -34px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff;
  font: 600 13px/1 var(--font-display); box-shadow: 0 0 0 4px #fff;
}
.cs-anatomy__h { font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.04em; }
.cs-anatomy__list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.cs-anatomy__list li { display: flex; gap: 16px; align-items: flex-start; }
.cs-anatomy__list li > span {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 14px/1 var(--font-display);
}
.cs-anatomy__list strong { font: 600 18px/1.2 var(--font-display); letter-spacing: -0.02em; }
.cs-anatomy__list p { margin-top: 4px; font-size: 14px; color: var(--ink-2); }

/* 07. Outcomes: check list */
.cs-outcomes {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.cs-outcomes li {
  position: relative; padding: 22px 22px 22px 58px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line); font-size: 15px; line-height: 1.45;
}
.cs-outcomes li::before {
  content: "✓"; position: absolute; left: 20px; top: 20px;
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: #3dbb82; color: #fff; font-size: 12px;
}

/* ---------- Case study responsive ---------- */
@media (max-width: 1024px) {
  .cs-hero__card { grid-template-columns: 1fr; padding: 40px; }
  .cs-screen--wide { grid-template-columns: 1fr; }
  .cs-info { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .cs-info__col:nth-child(3) { border-left: 0; }
  .cs-cols { gap: 40px; }
  .cs-results2 { grid-template-columns: 1fr 1fr; }
  .cs-results2 > div { grid-column: span 2; }
  .cs-problems { grid-template-columns: repeat(3, 1fr); }
  .cs-approach { grid-template-columns: repeat(2, 1fr); }
  .cs-outcomes { grid-template-columns: repeat(2, 1fr); }
  .cs-anatomy { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
}
@media (max-width: 860px) {
  .cs-flow { grid-template-columns: 1fr; gap: 36px; }
  .cs-flow li + li::before { top: -26px; left: 50%; width: 1px; height: 18px; }
  .cs-flow li + li::after { top: -12px; left: calc(50% - 4px); transform: rotate(135deg); }
}
@media (max-width: 640px) {
  .cs-hero__card { padding: 28px 22px 40px; min-height: 0; }
  .cs-section { padding-top: 72px; }
  .cs-screens, .cs-cols, .cs-results2 { grid-template-columns: 1fr; }
  .cs-results2 > div { grid-column: auto; }
  .cs-info { grid-template-columns: 1fr; padding: 20px 4px; }
  .cs-info__col + .cs-info__col { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .cs-chips { margin-top: 0; }
  .cs-problems, .cs-approach, .cs-outcomes { grid-template-columns: 1fr; }
  .cs-problems li, .cs-approach__card { min-height: 0; }
  .cs-problems h3 { margin-top: 6px; }
  .cs-anatomy { padding: 24px 20px; }
  .lms__grid { grid-template-columns: repeat(2, 1fr); }
  .lms__grid .lms-card:nth-child(3) { display: none; }
  .cs-screen--wide { grid-column: auto; padding: 24px; }
  .ui-steps { display: none; }
  .ui-toast { right: 8px; }
  .ui-stepper { padding: 20px 16px 14px; }
  .ui-form--pad { padding: 8px 16px 18px; }
}

/* =========================================================
   NEXORA SALES DASHBOARD PAGE (nexora-sales-dashboard.html)
   ========================================================= */
.cs-hero__card--nexora {
  background:
    radial-gradient(55% 55% at 88% 85%, #6366f1 0%, transparent 70%),
    radial-gradient(55% 60% at 62% 30%, #a5b4fc 0%, transparent 70%),
    radial-gradient(50% 50% at 15% 0%, #dbeafe 0%, transparent 70%),
    linear-gradient(135deg, #eef2ff 0%, #a5b4fc 100%);
}
.cs-hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.cs-cover--shot .ui-window { max-width: 680px; }
.cs-cover--shot .ui-window img { width: 100%; height: auto; }
.cs-note { max-width: 980px; margin: 14px auto 0; font-size: 13px; color: var(--muted); text-align: center; }

/* Real screenshots inside case-study cards */
.cs-shot {
  width: 100%; height: auto; border-radius: 14px; background: #fff;
  box-shadow: 0 24px 50px -28px rgba(20, 30, 80, .45), 0 0 0 1px rgba(15, 23, 42, .06);
}
.cs-screen__art--shot { min-height: 0; }
.cs-screen__art--narrow .cs-shot { max-width: 300px; }
.cs-shot--tall { max-width: 420px; max-height: 640px; object-fit: cover; object-position: top; }
.cs-anatomy--nexora { background: linear-gradient(160deg, #f3f5ff 0%, #e6e9ff 100%); }

/* 08. Devices */
.cs-devices { display: grid; grid-template-columns: 1.45fr 1fr 1fr; gap: 24px; align-items: end; }
.cs-device { margin: 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, #f3f5ff 0%, #e6e9ff 100%); display: flex; flex-direction: column; gap: 18px; }
.cs-device--phone .cs-shot { border-radius: 26px; border: 6px solid #111; box-shadow: 0 30px 50px -28px rgba(20, 30, 80, .6); }
.cs-device--tablet .cs-shot { border-radius: 22px; border: 8px solid #111; }
.cs-device figcaption { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cs-device figcaption strong { display: block; font: 600 20px/1.2 var(--font-display); letter-spacing: -0.03em; color: var(--ink); margin-bottom: 4px; }

/* 09. Colour tokens */
.cs-swatches { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 520px; }
.cs-swatches li { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--ink); }
.cs-swatches li span { height: 48px; border-radius: 12px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08); margin-bottom: 6px; }
.cs-swatches code { font-size: 12px; color: var(--muted); }
.cs-swatches__label { margin-top: 24px; font-size: 13px; color: var(--muted); }
.cs-palette { margin-top: 8px; display: flex; gap: 4px; max-width: 520px; }
.cs-palette i { flex: 1; height: 14px; border-radius: 4px; background: var(--sw); }

@media (max-width: 1024px) {
  .cs-devices { grid-template-columns: 1fr 1fr; }
  .cs-device--tablet { grid-column: span 2; }
  .cs-device--tablet .cs-shot { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 640px) {
  .cs-devices { grid-template-columns: 1fr; }
  .cs-device--tablet { grid-column: auto; }
  .cs-device { padding: 20px; }
  .cs-device--phone .cs-shot { max-width: 300px; margin-inline: auto; }
  .cs-swatches { grid-template-columns: repeat(2, 1fr); }
}
.cs-screen--wide .cs-screen__art--shot .cs-shot { max-width: 760px; }

/* =========================================================
   HOME PAGE LAYOUT (reference-style): hero, ticker, work, manifesto, FAQ
   ========================================================= */

/* ---------- Hero: big "Hi, I'm / Srinivas" around a round photo ---------- */
/* Fits one laptop screen: row 1 = "Hi, I'm" + status, row 2 = intro + "Srinivas";
   the photo sits in the middle column across both rows */
.hero2 {
  position: relative;
  padding-top: 20px; padding-bottom: 36px;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 310px) 1fr;
  grid-template-rows: auto 1fr;
  column-gap: 32px; row-gap: 20px;
}
.hero2__status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 99px;
  font-size: 13px; color: var(--ink-2); background: #f5f4fa;
}
.hero2__status i { width: 8px; height: 8px; border-radius: 50%; background: #3dbb82; box-shadow: 0 0 0 4px rgba(61,187,130,.2); }

/* one h1, two giant words placed on the grid */
.hero2__heading { display: contents; }
.hero2__hi, .hero2__name {
  /* sized so "SRINIVAS" always fits in the column beside the photo */
  font: 700 clamp(56px, 6vw, 108px)/.86 var(--font-display);
  letter-spacing: -0.055em; text-transform: uppercase; white-space: nowrap;
  position: relative; z-index: 2; pointer-events: none;
}
.hero2__hi { grid-column: 1; grid-row: 1; align-self: start; margin-top: 8px; }
.hero2__name {
  grid-column: 3; grid-row: 2; justify-self: end; align-self: center;
  background: linear-gradient(90deg, #7f9cf5, var(--accent) 55%, #8b5cf6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  /* tight letter-spacing pushes the last "S" past the text box; extra room lets the
     gradient paint the whole letter (otherwise its right edge looks cut off) */
  padding: 0 .12em .04em .02em;
}

.hero2__photo { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin: 18px 0; position: relative; aspect-ratio: 1; width: 100%; }
.hero2__circle {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background:
    radial-gradient(60% 60% at 30% 20%, #a7e3f3 0%, transparent 70%),
    radial-gradient(70% 70% at 80% 90%, #b7a6f7 0%, transparent 70%),
    linear-gradient(160deg, #dceff5, #c9bdfb);
}
.hero2__circle img {
  position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none;
  transform: translateX(-50%); mix-blend-mode: multiply;
  transition: transform 1s cubic-bezier(.2,.7,.2,1);
}
.hero2__photo:hover .hero2__circle img { transform: translateX(-50%) scale(1.05); }
.hero2__ring {
  position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px solid rgba(112,84,237,.35);
  animation: spin 40s linear infinite;
}
.hero2__ring::before {
  content: ""; position: absolute; top: 12%; left: 6%;
  width: 14px; height: 14px; border-radius: 50%; background: var(--accent);
}
.hero2__badge {
  position: absolute; right: -6px; top: 18%; z-index: 3;
  padding: 10px 16px; border-radius: 99px; background: #fff;
  font-size: 13px; color: var(--ink-2);
  box-shadow: 0 14px 30px -14px rgba(40,30,90,.45);
  transform: rotate(4deg);
}
.hero2__badge strong { font: 700 20px/1 var(--font-display); color: var(--ink); letter-spacing: -0.03em; }

.hero2__intro { grid-column: 1; grid-row: 2; align-self: start; margin-top: 4px; max-width: 360px; position: relative; z-index: 3; }
.hero2__intro p { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.hero2__actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Typing word in the hero corner: {{ word }} ---------- */
.hero2__corner {
  grid-column: 3; grid-row: 1; justify-self: end; align-self: start;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.typer {
  font: 700 clamp(22px, 2.2vw, 32px)/1 "Courier New", ui-monospace, monospace;
  color: var(--accent); white-space: nowrap; letter-spacing: -0.02em;
}
.typer__brace { opacity: .9; }
.typer__word { display: inline-block; min-width: 1ch; margin: 0 .35em; }
.typer__word::before { content: "UX Research"; animation: typer-words 13.92s steps(1, end) infinite; }
.typer__word::after {
  content: ""; display: inline-block; width: 2px; height: .95em; margin-left: 2px;
  vertical-align: -0.1em; background: currentColor;
  animation: typer-blink 1s steps(1, end) infinite;
}
@keyframes typer-blink { 50% { opacity: 0; } }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@keyframes typer-words {
  0.000% { content: "U"; }
  0.790% { content: "UX"; }
  1.580% { content: "UX "; }
  2.371% { content: "UX R"; }
  3.161% { content: "UX Re"; }
  3.951% { content: "UX Res"; }
  4.741% { content: "UX Rese"; }
  5.532% { content: "UX Resea"; }
  6.322% { content: "UX Resear"; }
  7.112% { content: "UX Researc"; }
  7.902% { content: "UX Research"; }
  19.756% { content: "UX Researc"; }
  20.115% { content: "UX Resear"; }
  20.474% { content: "UX Resea"; }
  20.833% { content: "UX Rese"; }
  21.193% { content: "UX Res"; }
  21.552% { content: "UX Re"; }
  21.911% { content: "UX R"; }
  22.270% { content: "UX "; }
  22.629% { content: "UX"; }
  22.989% { content: "U"; }
  23.348% { content: ""; }
  25.862% { content: "U"; }
  26.652% { content: "UI"; }
  27.443% { content: "UI "; }
  28.233% { content: "UI D"; }
  29.023% { content: "UI De"; }
  29.813% { content: "UI Des"; }
  30.603% { content: "UI Desi"; }
  31.394% { content: "UI Desig"; }
  32.184% { content: "UI Design"; }
  44.037% { content: "UI Desig"; }
  44.397% { content: "UI Desi"; }
  44.756% { content: "UI Des"; }
  45.115% { content: "UI De"; }
  45.474% { content: "UI D"; }
  45.833% { content: "UI "; }
  46.193% { content: "UI"; }
  46.552% { content: "U"; }
  46.911% { content: ""; }
  49.425% { content: "D"; }
  50.216% { content: "De"; }
  51.006% { content: "Des"; }
  51.796% { content: "Desi"; }
  52.586% { content: "Desig"; }
  53.376% { content: "Design"; }
  54.167% { content: "Design "; }
  54.957% { content: "Design S"; }
  55.747% { content: "Design Sy"; }
  56.537% { content: "Design Sys"; }
  57.328% { content: "Design Syst"; }
  58.118% { content: "Design Syste"; }
  58.908% { content: "Design System"; }
  59.698% { content: "Design Systems"; }
  71.552% { content: "Design System"; }
  71.911% { content: "Design Syste"; }
  72.270% { content: "Design Syst"; }
  72.629% { content: "Design Sys"; }
  72.989% { content: "Design Sy"; }
  73.348% { content: "Design S"; }
  73.707% { content: "Design "; }
  74.066% { content: "Design"; }
  74.425% { content: "Desig"; }
  74.784% { content: "Desi"; }
  75.144% { content: "Des"; }
  75.503% { content: "De"; }
  75.862% { content: "D"; }
  76.221% { content: ""; }
  78.736% { content: "A"; }
  79.526% { content: "An"; }
  80.316% { content: "Ang"; }
  81.106% { content: "Angu"; }
  81.897% { content: "Angul"; }
  82.687% { content: "Angula"; }
  83.477% { content: "Angular"; }
  95.330% { content: "Angula"; }
  95.690% { content: "Angul"; }
  96.049% { content: "Angu"; }
  96.408% { content: "Ang"; }
  96.767% { content: "An"; }
  97.126% { content: "A"; }
  97.486% { content: ""; }
  100% { content: ""; }
}

/* ---------- Scrolling keyword ticker ---------- */
.ticker { margin-top: 24px; background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  font: 600 22px/1 var(--font-display); letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap;
  animation: ticker 36s linear infinite;
}
.ticker__track i { font-style: normal; color: #b9a8ff; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(calc(-50% - 14px)); } }

/* ---------- Selected work ---------- */
.work2 { display: grid; grid-template-columns: minmax(240px, 1fr) 3fr; gap: 40px; align-items: start; }
.work2__intro { position: sticky; top: 110px; }
.work2__title { font-size: clamp(56px, 6.4vw, 104px); }
.work2__intro p { margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 300px; }
.work2__intro .work2__small { margin-top: 10px; font-size: 13px; color: var(--muted); }
.work2__round {
  margin-top: 32px; width: 148px; height: 148px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--ink); color: #fff; font: 700 15px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .02em;
  transition: transform .4s cubic-bezier(.3,1.6,.5,1), background .3s;
}
.work2__round span { display: block; margin-top: 6px; font-size: 20px; }
.work2__round:hover { transform: rotate(-10deg) scale(1.05); background: var(--accent); }

.work2__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
.pcard { display: flex; flex-direction: column; }
.pcard__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pcard__meta b { font: 600 18px/1.2 var(--font-display); letter-spacing: -0.02em; }
.pcard__meta em { font-style: normal; font-size: 12px; color: var(--muted); text-align: right; }
.pcard__art {
  position: relative; margin-top: 16px; height: 320px; border-radius: var(--radius);
  overflow: hidden; display: grid; place-items: center; padding: 22px;
  transition: transform .4s ease, box-shadow .4s ease;
}
.pcard:hover .pcard__art { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(40,30,90,.45); }
.pcard__art .ui-window { display: block; width: 100%; transform: rotate(-2deg); transition: transform .5s ease; }
.pcard:hover .pcard__art .ui-window { transform: rotate(0) scale(1.03); }
.pcard__art .ui-stepper { padding: 14px 14px 8px; }
.pcard__art .ui-stepper span { width: 22px; height: 22px; font-size: 10px; }
.pcard__art .ui-form--pad { padding: 4px 14px 14px; gap: 8px; }
.pcard__art .ui-form i { height: 22px; }
.pcard__art .lms { padding: 12px; gap: 8px; }
.pcard__art .lms__grid { grid-template-columns: repeat(2, 1fr); }
.pcard__art--img { background: #0d1640; padding: 0; }
.pcard__art--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; transform: scale(1.55); transform-origin: 50% 90%; transition: transform .8s ease; }
.pcard:hover .pcard__art--img img { transform: scale(1.65); }
/* real product screenshot: soft tinted frame, screen tilted inside */
.pcard__art--shot { background: linear-gradient(160deg, #eef0fb 0%, #dcd6fb 100%); padding: 26px 0 0 26px; place-items: start; }
.pcard__art--shot img {
  width: 150%; max-width: none; height: auto; border-radius: 12px 0 0 0;
  box-shadow: 0 24px 48px -24px rgba(30,20,90,.5);
  transform-origin: 0 0; transition: transform .8s ease;
}
.pcard:hover .pcard__art--shot img { transform: translate(-6%, -4%) scale(1.04); }
/* Mindful Credit card: CSS-built phone top with the unbilled nudge */
.pcard__art--mc {
  padding: 34px 0 0; place-items: end center;
  background:
    radial-gradient(60% 60% at 90% 90%, #10b981 0%, transparent 70%),
    radial-gradient(50% 50% at 10% 0%, #fde7b0 0%, transparent 70%),
    linear-gradient(135deg, #eefaf4 0%, #c9c1f8 100%);
}
.mcard {
  width: 72%; max-width: 250px; height: 100%; padding: 26px 16px 0;
  border: 8px solid #111; border-bottom: 0; border-radius: 34px 34px 0 0;
  background: linear-gradient(180deg, #f3f0ff 0%, #fff 45%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; color: #6b7280; text-align: center;
  transform: rotate(-2deg); transition: transform .5s ease;
}
.pcard:hover .mcard { transform: rotate(0) translateY(-4px); }
.mcard__to b { color: #111; font-weight: 600; }
.mcard__amt { font: 700 32px/1 var(--font-display); letter-spacing: -0.04em; color: #111; }
.mcard__pill {
  align-self: stretch; padding: 9px 11px; border-radius: 12px; background: #fffbeb;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .35); display: flex; flex-direction: column; gap: 6px; text-align: left;
}
.mcard__pill > span { display: flex; justify-content: space-between; gap: 6px; }
.mcard__pill em { font-style: normal; color: #374151; }
.mcard__pill b { color: #b45309; white-space: nowrap; }
.mcard__pill small { color: #6b7280; font-weight: 500; }
.mcard__pill i { height: 4px; border-radius: 99px; background: linear-gradient(90deg, #f59e0b 71%, rgba(0,0,0,.07) 71%); }
.mcard__note { padding: 4px 10px; border-radius: 99px; background: #ecfdf5; color: #047857; font-weight: 600; }
.mcard__pin { display: flex; gap: 8px; margin-top: 4px; }
.mcard__pin i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #9ca3af; }
.mcard__pin i.on { background: #111; border-color: #111; }

.pcard__tag { margin-top: 18px; font-size: 22px; line-height: 1.15; letter-spacing: -0.03em; }
.pcard p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Manifesto ---------- */
.manifesto { padding-top: 120px; text-align: center; }
.manifesto__text {
  font: 700 clamp(40px, 5.6vw, 88px)/1.02 var(--font-display);
  letter-spacing: -0.05em; text-transform: uppercase; max-width: 1150px; margin-inline: auto;
}
.manifesto__chip {
  display: inline-block; padding: 0 .25em; border-radius: .3em;
  background: var(--accent); color: #fff; transform: rotate(-3deg);
}
.manifesto__out { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; align-items: start; }
.faq__title { font: 700 clamp(44px, 5vw, 76px)/.98 var(--font-display); letter-spacing: -0.05em; }
.faq__head .link-underline { margin-top: 24px; }
.faq__list { border-top: 2px solid var(--ink); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font: 600 clamp(18px, 1.6vw, 22px)/1.25 var(--font-display); letter-spacing: -0.02em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: #f5f4fa; font: 400 22px/1 var(--font-body);
  transition: transform .3s, background .3s, color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq__list summary:hover::after { background: var(--accent); color: #fff; }
.faq__list details p { padding: 0 52px 24px 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); }

/* ---------- Home responsive ---------- */
@media (max-width: 1200px) {
  .work2 { grid-template-columns: 1fr; }
  .work2__intro { position: static; display: grid; grid-template-columns: 1fr auto; column-gap: 32px; align-items: end; }
  .work2__intro > * { grid-column: 1; }
  .work2__round { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}
@media (max-width: 1024px) {
  .hero2 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto auto; min-height: 0; row-gap: 20px; }
  .hero2__corner { grid-column: 1 / -1; grid-row: 1; justify-self: start; align-items: flex-start; }
  .hero2__hi { grid-column: 1 / -1; grid-row: 2; }
  .hero2__photo { grid-column: 1 / -1; grid-row: 3; width: min(300px, 64%); justify-self: center; margin: 8px 0; }
  .hero2__name { grid-column: 1 / -1; grid-row: 4; align-self: start; justify-self: end; }
  .hero2__intro { grid-column: 1 / -1; grid-row: 5; max-width: 520px; }
  .work2__list { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .hero2__hi, .hero2__name { font-size: clamp(54px, 17vw, 80px); }
  .hero2__photo { width: 66%; }
  .hero2__badge { right: 0; }
  .ticker { padding: 14px 0; }
  .ticker__track { font-size: 17px; gap: 20px; }
  .work2__intro { grid-template-columns: 1fr; }
  .work2__round { grid-column: 1; grid-row: auto; margin-top: 24px; width: 120px; height: 120px; }
  .work2__list { grid-template-columns: 1fr; }
  .pcard__art { height: 280px; }
  .manifesto { padding-top: 80px; }
  .manifesto__out { -webkit-text-stroke-width: 1px; }
  .faq__list details p { padding-right: 0; }
}
