:root {
  --bg: #f7f6f2;
  --bg-2: #efede6;
  --teal: #1c5b58;
  --teal-2: #164b48;
  --border: #e8e7e1;
  --border-soft: #e5e7eb;
  --muted: #656860;
  --ink: #161716;
  --navy: #172b4d;
  --gray: #666666;
  --white: #ffffff;
  --cream: #fff9f5;
  --accent: #2372e5;
  --accent-2: #1660c4;
  --accent-rgb: 35, 114, 229;
  --accent-soft: #e8f4ff;
  --radius: 40px;
  --radius-lg: 24px;
  --radius-sm: 18px;
  --max: 1200px;
  --pad: 40px;
  --font-display: "Clash Display", "Inter", system-ui, sans-serif;
  --font-body: "Clash Grotesk", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 8px 24px -18px rgba(22, 23, 22, 0.3);
  --shadow-md: 0 24px 48px -26px rgba(22, 23, 22, 0.35);
  --shadow-lg: 0 40px 80px -40px rgba(22, 23, 22, 0.45);
}

.cs-prepai {
  --accent: #f4512c;
  --accent-2: #d23a16;
  --accent-rgb: 244, 81, 44;
  --accent-soft: #fff0e8;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(var(--accent-rgb), 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--teal), var(--accent));
  border-radius: 999px;
  border: 2px solid var(--bg-2);
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

/* ---------------- helpers ---------------- */
.prog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 100;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--accent));
  box-shadow: 0 14px 30px -12px rgba(22, 23, 22, 0.55);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -14px rgba(22, 23, 22, 0.6);
}

/* ---------------- nav ---------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(232, 231, 225, 0.7);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px -24px rgba(22, 23, 22, 0.35);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.3s var(--ease);
}

.nav.is-scrolled .nav__inner {
  padding-block: 12px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  transition: color 0.25s var(--ease);
}

.nav__brand .nav__arrow {
  width: 14px;
  height: 14px;
  color: var(--ink);
  transition: transform 0.3s var(--ease);
}

.nav__brand:hover .nav__arrow {
  transform: translateX(-5px);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__links a:hover {
  color: var(--teal);
}

.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav.is-open .nav__toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------------- shared bits ---------------- */
.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow--small {
  font-size: 0.72rem;
  font-weight: 600;
}

.eyebrow--big {
  font-size: 1.12rem;
  font-weight: 700;
}

.section {
  position: relative;
  padding: 80px var(--pad);
  border-top: 1px solid var(--border);
  background-image: radial-gradient(500px 300px at 100% 0%, rgba(var(--accent-rgb), 0.05), transparent 60%);
}

.section--white {
  background: var(--white);
}

.section--cream {
  background: var(--cream);
}

.section--soft {
  background: var(--accent-soft);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.section-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  padding: 0.42em 0.72em;
  border-radius: 12px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

.section-title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.06rem;
}

.section-desc {
  margin: 16px 0 0;
  max-width: 68ch;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
}

.section-desc strong {
  color: var(--ink);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 14px 22px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  overflow: hidden;
  box-shadow: 0 14px 30px -14px rgba(var(--accent-rgb), 0.7);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(-110%) skewX(-18deg);
  transition: transform 0.55s var(--ease);
}

.btn:hover::after {
  transform: translateX(110%) skewX(-18deg);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -18px rgba(var(--accent-rgb), 0.8);
}

.btn--neutral {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
}

.btn__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(5px);
}

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 22px;
  box-shadow: 0 10px 26px -22px rgba(22, 23, 22, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 24px 48px -24px rgba(22, 23, 22, 0.4);
}

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 6px 18px -14px rgba(22, 23, 22, 0.35);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

/* ---------------- hero ---------------- */
.case-hero {
  position: relative;
  margin-top: 20px;
  padding: 84px var(--pad) 92px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  background:
    radial-gradient(600px 400px at 6% 10%, rgba(var(--accent-rgb), 0.12), transparent 60%),
    radial-gradient(500px 380px at 95% 95%, rgba(28, 91, 88, 0.1), transparent 60%),
    var(--white);
  border: 1px solid rgba(232, 231, 225, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.case-hero__title {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 7.5vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.case-hero__title em {
  font-style: normal;
  color: var(--accent);
}

.case-hero__title.is-accent {
  background: linear-gradient(105deg, var(--teal) 10%, var(--accent) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
}

@supports not (background-clip: text) {
  .case-hero__title.is-accent {
    background: none;
    -webkit-text-fill-color: var(--accent);
  }
}

.case-hero__tag {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.case-hero__sub {
  margin: 12px 0 0;
  max-width: 46ch;
  color: var(--gray);
}

.case-hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.case-hero__media img {
  width: 30%;
  max-width: 190px;
  border-radius: 18px;
  border: 4px solid var(--white);
  box-shadow: 0 20px 46px -24px rgba(22, 23, 22, 0.5);
  transition: transform 0.4s var(--ease);
}

.case-hero__media:hover img:nth-child(2) {
  transform: translateY(-8px);
}

.case-hero__media:hover img:first-child,
.case-hero__media:hover img:last-child {
  transform: translateY(6px);
}

.case-hero__video {
  width: 100%;
  max-width: 480px;
  border-radius: 22px;
  box-shadow: 0 24px 50px -26px rgba(22, 23, 22, 0.5);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--white);
}

.problem-label {
  margin: 36px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.problem-label::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
}

/* value prop cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.grid-3 .card h3 {
  margin: 12px 0 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}

.grid-3 .card p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(var(--accent-rgb), 0.14));
  color: var(--accent);
  font-size: 1.15rem;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}

/* meta grid */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.meta-item {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.meta-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -18px rgba(22, 23, 22, 0.35);
}

.meta-item__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.meta-item__value {
  margin: 6px 0 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

/* pain points */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.pain-card__num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
}

.pain-card__num small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.pain-card h3 {
  margin: 14px 0 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
}

.pain-card p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

/* stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 28px;
  box-shadow: 0 10px 26px -22px rgba(22, 23, 22, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(22, 23, 22, 0.4);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-card__num {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  margin: 12px 0 0;
  background: linear-gradient(120deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-card__caption {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.6;
}

.stat-card__caption .stat-line {
  display: block;
}

/* insight cards */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.insight-card h3 {
  margin: 14px 0 0;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--navy);
}

.insight-card p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.6;
}

.takeaway {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--radius-sm);
  background:
    radial-gradient(300px 180px at 95% 0%, rgba(var(--accent-rgb), 0.14), transparent 60%),
    var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.16);
}

.takeaway__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.takeaway p {
  margin: 8px 0 0;
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
}

/* affinity board */
.affinity-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.affinity-col__title {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.note {
  background: linear-gradient(180deg, #fffbe0, #fff7cf);
  border: 1px solid #f0e6b2;
  border-radius: 10px;
  padding: 13px 15px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #4a4630;
  box-shadow: 0 3px 0 rgba(22, 23, 22, 0.06), 0 10px 20px -16px rgba(22, 23, 22, 0.4);
  margin-bottom: 10px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.note:hover {
  transform: translateY(-2px) rotate(-0.4deg);
  box-shadow: 0 5px 0 rgba(22, 23, 22, 0.08), 0 18px 30px -18px rgba(22, 23, 22, 0.45);
}

/* persona */
.persona {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.persona__side {
  padding: 30px 24px;
  background:
    radial-gradient(300px 220px at 50% 0%, rgba(var(--accent-rgb), 0.2), transparent 60%),
    linear-gradient(180deg, var(--accent-soft), rgba(var(--accent-rgb), 0.08));
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.persona__avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 16px 34px -18px rgba(22, 23, 22, 0.5);
}

.persona__name {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink);
}

.persona__meta {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.persona__body {
  padding: 32px 30px;
}

.persona__intro {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.7;
}

.persona__quote {
  margin: 18px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
  font-size: 1.05rem;
  font-weight: 600;
  font-style: italic;
  color: var(--ink);
}

.persona__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.persona__grid h3 {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.persona__grid ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.7;
}

/* journey table */
.table-scroll {
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.journey-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.journey-table th,
.journey-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
  color: var(--gray);
  line-height: 1.6;
}

.journey-table th {
  background: linear-gradient(180deg, var(--accent-soft), rgba(var(--accent-rgb), 0.08));
  color: var(--ink);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.journey-table tbody tr:nth-child(even) {
  background: rgba(var(--accent-rgb), 0.035);
}

.journey-table tbody tr {
  transition: background-color 0.25s var(--ease);
}

.journey-table tbody tr:hover {
  background: rgba(var(--accent-rgb), 0.09);
}

.journey-table tr:last-child td {
  border-bottom: 0;
}

.journey-table .stage-cell {
  font-weight: 700;
  color: var(--navy);
}

.journey-table .stage-cell small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 4px;
}

.journey-table .emotion {
  white-space: nowrap;
}

/* HMW + decisions */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.decision-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.decision-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.decision-card__label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.decision-card h3 {
  margin: 6px 0 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
}

.decision-card p {
  margin: 8px 0 0;
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 1.65;
}

.decision-card__title {
  grid-column: 1 / -1;
}

/* ideation / comparison table */
.compare-table {
  width: 100%;
  min-width: 760px;
  margin-top: 28px;
}

/* sitemap + flow */
.flow {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.flow__node {
  padding: 11px 17px;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 8px 20px -14px rgba(var(--accent-rgb), 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.flow__node:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -16px rgba(var(--accent-rgb), 0.55);
}

.flow__node--root {
  background: linear-gradient(135deg, var(--teal), var(--accent));
  color: var(--white);
  border-color: transparent;
}

.flow__arrow {
  color: var(--muted);
  font-size: 0.9rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(0);
  }
  50% {
    opacity: 1;
    transform: translateX(3px);
  }
}

/* wireframes / screens */
.media-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
}

.media-strip figure {
  margin: 0;
}

.media-strip img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.media-strip figure:hover img {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.media-strip figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}

.media-strip figure:hover figcaption {
  color: var(--accent);
}

.big-media {
  margin-top: 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.big-media img {
  transition: transform 0.6s var(--ease);
}

.big-media:hover img {
  transform: scale(1.02);
}

/* card sorting */
.sort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.sort-group__title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(22, 23, 22, 0.06);
}

.sort-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.sort-group li {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 6px 16px -14px rgba(22, 23, 22, 0.3);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sort-group li:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.4);
}

.sort-group .pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

/* journey map (prepai) */
.journey-map {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
  gap: 18px;
}

.journey-stage {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.journey-stage:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.journey-stage__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.journey-stage__body {
  padding: 18px;
}

.journey-stage__step {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
  color: var(--accent);
}

.journey-map .journey-stage:nth-child(2) .journey-stage__step {
  color: #22e640;
}

.journey-map .journey-stage:nth-child(3) .journey-stage__step {
  color: #22d2e6;
}

.journey-map .journey-stage:nth-child(4) .journey-stage__step {
  color: #d822e6;
}

.journey-map .journey-stage:nth-child(5) .journey-stage__step {
  color: #8200e6;
}

.journey-stage__title {
  margin: 6px 0 14px;
  font-size: 1.04rem;
  font-weight: 600;
  color: var(--navy);
}

.journey-stage h4 {
  margin: 14px 0 4px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
}

.journey-stage ul {
  margin: 0;
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

.journey-stage p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* learnings */
.learning-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.cs-prepai .learning-card {
  background: #fff1ec;
  border-color: rgba(244, 81, 44, 0.16);
}

.cs-prepai .learning-card__num {
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* user flow */
.flow-row {
  margin-top: 26px;
}

.flow-row + .flow-row {
  margin-top: 34px;
}

.flow-row__label {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.flow-row .flow {
  margin-top: 0;
}

.flow__node--focus {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 24px -12px rgba(var(--accent-rgb), 0.55);
}

.flow__node small {
  display: block;
  font-size: 0.7em;
  font-weight: 500;
  opacity: 0.75;
}

/* wireframe captions */
.cs-prepai .media-strip figcaption {
  color: var(--accent);
  font-size: 0.95rem;
}

.cs-prepai .media-strip img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 16;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--border-soft);
}

/* prototype card */
.prototype {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 34px 24px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(320px 200px at 30% 0%, rgba(35, 114, 229, 0.14), transparent 60%),
    linear-gradient(180deg, #eaf4ff, #c9e7ff);
  border: 1px solid rgba(35, 114, 229, 0.16);
  box-shadow: var(--shadow-sm);
}

.prototype__video {
  width: min(560px, 100%);
  border-radius: 16px;
  box-shadow: 0 22px 46px -24px rgba(22, 23, 22, 0.45);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--white);
  pointer-events: none;
}

.prototype__btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  box-shadow: 0 18px 40px -16px rgba(var(--accent-rgb), 0.85);
}

@media (max-width: 799.98px) {
  .prototype__btn {
    position: static;
    align-self: center;
    margin-top: 2px;
  }
}

.learning-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(var(--accent-rgb), 0.14));
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.14);
}

.learning-card h3 {
  margin: 14px 0 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
}

.learning-card p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--gray);
  line-height: 1.65;
}

/* next project */
.next-project {
  position: relative;
  padding: 84px var(--pad);
  margin-top: 40px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(640px 380px at 88% 0%, rgba(var(--accent-rgb), 0.5), transparent 62%),
    radial-gradient(560px 360px at 0% 100%, rgba(255, 255, 255, 0.12), transparent 60%),
    linear-gradient(135deg, var(--teal) 0%, var(--teal-2) 65%, #0f3836 100%);
}

.next-project::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 75%);
}

.next-project__wrap {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.next-project__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}

.next-project h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.next-project .btn {
  background: linear-gradient(135deg, #fdfcf9, #f0eee8);
  color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}

.next-project .btn:hover {
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.7);
}

/* reveal animation */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------- tablet ---------------- */
@media (max-width: 1199.98px) {
  :root {
    --pad: 32px;
    --radius: 32px;
  }

  .case-hero {
    gap: 40px;
  }

  .sort-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid,
  .pain-grid,
  .insight-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------------- phone ---------------- */
@media (max-width: 799.98px) {
  :root {
    --pad: 20px;
    --radius: 24px;
  }

  .nav__inner {
    padding: 14px var(--pad);
  }

  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease);
  }

  .nav.is-open .nav__links {
    max-height: 340px;
    opacity: 1;
  }

  .nav__links a {
    width: 100%;
    padding: 16px var(--pad);
    border-top: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav__links a::after {
    display: none;
  }

  .case-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 56px var(--pad) 64px;
  }

  .case-hero__media {
    order: -1;
    flex-wrap: wrap;
  }

  .case-hero__media img {
    width: 46%;
  }

  .case-hero__video {
    max-width: 100%;
  }

  .section {
    padding: 52px var(--pad);
  }

  .pain-grid,
  .insight-grid,
  .feature-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .persona {
    grid-template-columns: 1fr;
  }

  .persona__grid {
    grid-template-columns: 1fr;
  }

  .decision-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .learning-grid {
    grid-template-columns: 1fr;
  }

  .prototype {
    padding: 24px 18px;
  }

  .prototype__video {
    width: 100%;
  }

  .sort-grid {
    grid-template-columns: 1fr;
  }

  .same-column-flash {
    grid-template-columns: 1fr !important;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------- resume page ---------------- */
.resume-hero__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.resume-hero__media img {
  width: min(320px, 86%);
  aspect-ratio: 428 / 436;
  object-fit: cover;
  object-position: top center;
  border-radius: 32px;
  border: 6px solid var(--white);
  box-shadow: 0 28px 56px -28px rgba(22, 23, 22, 0.45);
}

.resume-contact {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.resume-contact a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 6px 18px -14px rgba(22, 23, 22, 0.35);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.resume-contact a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.resume-contact__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent);
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.job-card__role {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--navy);
}

.job-card__meta {
  margin: 6px 0 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
}

.job-card__list {
  margin: 14px 0 0;
  padding: 0 0 0 18px;
  display: grid;
  gap: 8px;
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
}

.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.edu-card__title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
}

.edu-card__meta {
  margin: 6px 0 0;
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.55;
}

.project-card__title {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
}

.project-card__title a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb), 0.35);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.3s var(--ease);
}

.project-card__title a:hover {
  text-decoration-color: var(--accent);
}

.project-card__tag {
  margin: 6px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.tools-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.tools-row {
  margin: 0;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
}

.tools-row__label {
  font-weight: 600;
  color: var(--accent);
}

/* ---------------- get-in-touch page ---------------- */
.case-hero__title--tight {
  font-size: clamp(2.4rem, 5.4vw, 3.7rem);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 18px 36px -20px rgba(22, 23, 22, 0.4);
}

.contact-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.contact-card__value {
  display: block;
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

a.contact-card__value:hover {
  color: var(--accent);
}

.contact-list__note {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

/* ---------------- tablet ---------------- */
@media (max-width: 1199.98px) {
  .job-grid,
  .edu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------------- phone ---------------- */
@media (max-width: 799.98px) {
  .resume-contact a {
    width: 100%;
  }

  .resume-hero__media {
    order: -1;
  }

  .resume-hero__media img {
    width: min(240px, 72%);
  }

  .job-grid,
  .edu-grid {
    grid-template-columns: 1fr;
  }

  .contact-list {
    max-width: none;
  }
}

/* ================= resume page — premium layout ================= */
.case-hero--resume {
  background:
    radial-gradient(640px 420px at 8% 12%, rgba(var(--accent-rgb), 0.14), transparent 60%),
    radial-gradient(520px 400px at 96% 92%, rgba(28, 91, 88, 0.1), transparent 60%),
    var(--white);
}

.case-hero--resume .case-hero__title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
}

.case-hero__title-accent {
  color: var(--accent);
}

.resume-hero__intro {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.case-hero__tag {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal);
}

.available {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(31, 157, 97, 0.35);
  background: rgba(31, 157, 97, 0.08);
  color: #177a4a;
  font-size: 0.78rem;
  font-weight: 600;
}

.available__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: available-pulse 2.2s ease-in-out infinite;
}

@keyframes available-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}

.resume-hero__sub {
  margin: 18px 0 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.resume-contact a {
  align-items: center;
}

.resume-contact svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.resume-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.resume-actions .btn {
  border-radius: 999px;
}

.btn--print svg {
  width: 15px;
  height: 15px;
}

.resume-hero__media {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin-inline: auto;
  justify-self: center;
}

.resume-hero__media::before {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -16px;
  width: 76%;
  height: 76%;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), rgba(28, 91, 88, 0.12) 70%);
}

.resume-hero__media::after {
  content: "";
  position: absolute;
  top: 18px;
  left: -10px;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: var(--accent);
  opacity: 0.85;
}

.resume-hero__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(150deg, rgba(var(--accent-rgb), 0.5), rgba(28, 91, 88, 0.25) 40%, transparent 72%);
  box-shadow: 0 30px 60px -28px rgba(22, 23, 22, 0.5);
}

.resume-hero__frame img {
  width: 100%;
  aspect-ratio: 428 / 436;
  object-fit: cover;
  object-position: top center;
  border-radius: 30px;
}

/* stats strip */
.resume-stats {
  position: relative;
  z-index: 2;
  margin-top: -36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.resume-stats__item {
  background: var(--white);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.resume-stats__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.resume-stats__label {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* summary */
.summary-card {
  margin-top: 24px;
  padding: 28px 30px;
  position: relative;
  overflow: hidden;
}

.summary-card::before {
  content: "\201C";
  position: absolute;
  top: -34px;
  right: 8px;
  font-family: var(--font-display);
  font-size: 9rem;
  line-height: 1;
  color: rgba(var(--accent-rgb), 0.12);
  pointer-events: none;
}

.summary-card .section-desc {
  margin-top: 0;
  max-width: 72ch;
  font-size: 1.04rem;
  color: var(--gray);
}

.summary-card .section-desc strong {
  color: var(--ink);
}

.summary-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 10px;
  margin-bottom: 16px;
}

.summary-card__focus {
  margin-top: 18px;
}

/* pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill--current {
  background: rgba(31, 157, 97, 0.1);
  color: #177a4a;
  border: 1px solid rgba(31, 157, 97, 0.3);
}

.pill--tag {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

/* job cards */
.job-card {
  position: relative;
  padding-top: 24px;
}

.job-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(var(--accent), rgba(var(--accent-rgb), 0.25));
}

.job-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.job-card__icon svg {
  width: 20px;
  height: 20px;
}

.job-card__role {
  margin: 14px 0 0;
  font-size: 1.2rem;
}

.job-card__company {
  color: var(--ink);
}

.job-card__sep {
  color: var(--border);
  margin: 0 6px;
}

.job-card__meta {
  margin: 6px 0 0;
}

.job-card__list {
  padding-left: 20px;
}

.job-card__list li::marker {
  color: var(--accent);
}

/* education */
.edu-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.edu-card > div {
  min-width: 0;
}

.edu-card__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), rgba(28, 91, 88, 0.12));
  color: var(--accent);
}

.edu-card__icon svg {
  width: 22px;
  height: 22px;
}

.edu-card__title {
  margin: 0;
}

.edu-card__meta {
  margin: 6px 0 0;
}

/* projects */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.12), transparent 70%);
  pointer-events: none;
}

.project-card__tag {
  margin: 0 0 10px;
  display: inline-flex;
}

.project-card__title {
  font-size: 1.16rem;
  line-height: 1.25;
}

.project-card__title a {
  color: var(--ink);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.35s var(--ease), color 0.3s var(--ease);
}

.project-card__title a:hover {
  color: var(--accent);
  background-size: 100% 2px;
}

.project-card__list {
  margin-top: 12px;
}

.project-card__link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.project-card__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.project-card__link:hover svg {
  transform: translateX(5px);
}

/* tools */
.tools-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tools-row__label {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 12px;
}

.tools-row__text {
  color: var(--ink);
  font-weight: 500;
}

/* skills */
.skill-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.skill-card {
  padding: 22px;
}

.skill-card__title {
  margin: 0 0 4px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.skill-card .chips {
  margin-top: 14px;
}

/* resume phone tweaks */
@media (max-width: 799.98px) {
  .resume-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: -10px;
  }

  .resume-actions .btn {
    width: 100%;
  }

  .resume-hero__media {
    max-width: 260px;
  }

  .resume-hero__media::before {
    right: 0;
    bottom: -8px;
  }

  .skill-grid {
    grid-template-columns: 1fr;
  }
}

/* resume print styles */
@media print {
  body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .nav,
  .next-project,
  .resume-actions,
  .resume-hero__media::after {
    display: none !important;
  }

  .case-hero {
    box-shadow: none;
    border: 1px solid #e5e5e0;
    border-radius: 0;
    padding: 24px var(--pad);
  }

  .resume-hero__media::before {
    display: none;
  }

  .section {
    padding: 28px var(--pad);
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .section--cream,
  .section--white {
    background: #fff;
  }

  .card,
  .summary-card,
  .tools-row,
  .chips,
  .chip {
    box-shadow: none;
  }

  .resume-stats {
    margin-top: 18px;
  }
}
/* ---------------- premium custom cursor ---------------- */
.cursor-glow,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  will-change: transform;
}

.cursor-glow {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  background: radial-gradient(circle, rgba(35, 114, 229, 0.16), rgba(35, 114, 229, 0) 68%);
  border: 1px solid rgba(35, 114, 229, 0.3);
  transition: opacity 0.3s var(--ease), width 0.3s var(--ease),
    height 0.3s var(--ease), margin 0.3s var(--ease),
    border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--blue, #2372e5);
  box-shadow: 0 0 10px rgba(35, 114, 229, 0.6);
  transition: opacity 0.3s var(--ease), width 0.2s var(--ease),
    height 0.2s var(--ease), margin 0.2s var(--ease);
}

body.has-custom-cursor {
  cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor [role="button"],
body.has-custom-cursor summary,
body.has-custom-cursor .chip {
  cursor: none;
}

body.has-custom-cursor .cursor-glow,
body.has-custom-cursor .cursor-dot {
  opacity: 1;
}

body.has-custom-cursor.is-cursor-hidden .cursor-glow,
body.has-custom-cursor.is-cursor-hidden .cursor-dot {
  opacity: 0;
}

body.has-custom-cursor.is-cursor-hover .cursor-glow {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  background: radial-gradient(circle, rgba(35, 114, 229, 0.22), rgba(35, 114, 229, 0) 70%);
  border-color: rgba(35, 114, 229, 0.45);
}

body.has-custom-cursor.is-cursor-hover .cursor-dot {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
}

body.has-custom-cursor.is-cursor-down .cursor-glow {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
}

@media (hover: none), (pointer: coarse), (max-width: 767.98px) {
  .cursor-glow,
  .cursor-dot {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cursor-glow,
  .cursor-dot {
    display: none !important;
  }
}

@media print {
  .cursor-glow,
  .cursor-dot {
    display: none !important;
  }
}