@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap');

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('assets/fonts/Geist-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f0e8;
  --bg-warm: #ede6d6;
  --bg-card: #ede5d4;
  --ink: #2b2218;
  --ink-mid: #5c4a35;
  --ink-soft: #9c8672;
  --accent: #c4703a;
  --accent-lt: #e8c4a0;
  --rule: #d9cfc0;
  --tag-bg: #e4d9c8;
  --tag-ink: #7a6248;
  --serif: 'Geist', sans-serif;
  --sans: 'Geist', sans-serif;
}


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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* GLOBAL LINK HOVER UNDERLINE */
/* Only applies to inline links — block card anchors are excluded */
a:not(.essay-full-item):not(.essay-item):not(.talk-item):not(.nav-name):not(.work-item) {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: transparent;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

a:not(.essay-full-item):not(.essay-item):not(.talk-item):not(.nav-name):not(.work-item):hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Card title-only underline on hover */
.essay-full-item:hover .essay-full-title,
.essay-item:hover .essay-title {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  padding: 0 max(24px, calc((100vw - 680px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-name {
  font-family: 'Caveat', cursive;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-flex;
}

.nav-name span {
  color: var(--accent);
}

/* Chat Bubble on Hover */
.nav-name::after {
  content: "Hey you! \1F44B";
  /* Wave emoji using Unicode escape if necessary, but direct char works too: 👋 */
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: #1a1a1a;
  color: #ffffff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 14px;
  border-top-left-radius: 2px;
  /* Speech bubble tail pointing to text */
  white-space: nowrap;

  /* 3D and shadow styling */
  box-shadow:
    0px 4px 14px rgba(0, 0, 0, 0.15),
    0px 2px 4px rgba(0, 0, 0, 0.1),
    0px 1px 0px rgba(255, 255, 255, 0.1) inset,
    0px -2px 0px rgba(0, 0, 0, 0.2) inset,
    0px 0px 0px 1px rgba(0, 0, 0, 0.2);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
  transform-origin: top left;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

.nav-name:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px) scale(1);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--ink-mid);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* MAIN CONTENT WRAPPER */
main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* SECTION SPACING */
section {
  padding: 72px 0;
}

section+section {
  border-top: 1px solid var(--rule);
}

/* HERO */
.hero {
  padding-top: 80px;
  padding-bottom: 72px;
}

.hero-greeting {
  font-family: var(--serif);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-greeting em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-name-hover {
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-lt);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s;
}

.hero-name-hover::before {
  content: "";
  position: absolute;
  top: 100%;
  margin-top: 2px; /* Line height padding covers ~6px, this adds 2px for precisely 8px visual gap */
  bottom: auto;
  left: 50%;
  width: 150px;
  height: 160px;
  background-image: url('assets/images/ridhik-polaroid-4-onhover.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  mix-blend-mode: multiply; /* Gracefully removes the jpeg background */
  /* Replaced border and box-shadow to prevent weird clipping boundaries */

  /* Initial state: Angled 10 degrees, dropped slightly */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(24px) rotate(10deg);
  /* Fast ease in, smooth ease out */
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.hero-name-hover:hover {
  z-index: 50; /* Forces the container to climb above all sibling text layers */
}

.hero-name-hover:hover::before {
  opacity: 1;
  visibility: visible;
  /* Final state: Moves up, maintains 10 degrees */
  transform: translateX(-50%) translateY(0) rotate(10deg);
}

.hero-wac-hover {
  font-weight: 500;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-lt);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s;
}

.hero-wac-hover:hover {
  color: var(--accent);
  z-index: 50;
}

.hero-wac-hover::before {
  content: "";
  position: absolute;
  top: 100%;
  margin-top: 2px; /* 8px visual distance (compensates for inline-block line-height padding) */
  left: 50%;
  width: 120px;
  height: 48px;
  background-image: url('assets/images/wac-logo-onhover.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.hero-wac-hover:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--tag-ink);
  padding: 4px 12px;
  border-radius: 100px;
}

/* PHOTOS ROW — scattered polaroid feel */
.photo-strip {
  display: flex;
  gap: 10px;
  margin: 40px 0 0;
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.photo-strip::-webkit-scrollbar {
  display: none;
}

.polaroid {
  flex-shrink: 0;
  width: 120px;
  background: #fff;
  padding: 8px 8px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: rotate(-1.5deg);
}

.polaroid:nth-child(2) {
  transform: rotate(1.2deg);
  margin-top: 12px;
}

.polaroid:nth-child(3) {
  transform: rotate(-0.8deg);
  margin-top: 4px;
}

.polaroid:nth-child(4) {
  transform: rotate(2deg);
  margin-top: 8px;
}

.polaroid-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

/* SECTION HEADERS */
.section-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

/* WRITING */
.essay-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.essay-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: color 0.15s;
}

.essay-item:first-child {
  border-top: 1px solid var(--rule);
}

.essay-item:hover .essay-title {
  color: var(--accent);
}

.essay-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.essay-title {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.essay-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--tag-ink);
  padding: 2px 9px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

.essay-reads {
  font-size: 12px;
  color: var(--ink-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}

.view-all:hover {
  gap: 10px;
}

/* EXPERIENCE */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
}

.exp-item:first-child {
  border-top: 1px solid var(--rule);
}

.exp-period {
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  padding-top: 3px;
  text-transform: uppercase;
  font-weight: 500;
}

.exp-role {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 2px;
}

.exp-company {
  font-size: 13.5px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.exp-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
}

.exp-bullets {
  margin-top: 10px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-bullets li {
  font-size: 13.5px;
  color: var(--ink-mid);
  padding-left: 14px;
  position: relative;
}

.exp-bullets li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* CONTACT */
.contact-heading {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.contact-sub {
  font-size: 14.5px;
  color: var(--ink-mid);
  margin-bottom: 24px;
  max-width: 420px;
}

.contact-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-lt);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: color 0.2s;
}

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

/* FOOTER */
footer {
  border-top: 1px solid var(--rule);
  padding: 28px max(24px, calc((100vw - 680px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-soft);
}

footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

footer a:hover {
  color: var(--accent);
}

/* FADE IN - Notion Style */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-greeting {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero-sub {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-tags {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.photo-strip {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

#writing,
.page-hero,
.talks-section,
.essays-full-section,
.hiw-sections {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

#contact,
.essay-article-footer {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

footer {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .exp-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .exp-period {
    margin-bottom: 4px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 18px 24px;
    gap: 16px;
  }

  .nav-links {
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 28px 24px;
  }
}

/* NAV ACTIVE STATE */
.nav-links a.nav-active {
  color: var(--ink);
  font-weight: 500;
}

/* PAGE HERO (for inner pages) */
.page-hero {
  padding-top: 80px;
  padding-bottom: 64px;
}

.page-title {
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.page-sub {
  font-size: 16px;
  color: var(--ink-mid);
  margin-bottom: 20px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.page-body {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 520px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.page-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-lt);
  transition: border-color 0.2s;
}

.page-body a:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* ─── TALKS PAGE ──────────────────────────────── */
.talks-section {
  padding-top: 0;
}

.talk-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.talk-item {
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}

.talk-item:first-child {
  border-top: 1px solid var(--rule);
}

.talk-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.talk-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.talk-meta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.talk-desc {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-top: 6px;
}

/* ─── WRITING PAGE ────────────────────────────── */

/* Filter tags */
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.filter-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--tag-bg);
  color: var(--tag-ink);
  padding: 5px 14px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.filter-tag:hover {
  background: var(--accent-lt);
  color: var(--ink);
}

.filter-tag.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Full essay list */
.essays-full-section {
  padding-top: 0;
}

.essay-full-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.essay-full-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

.essay-full-item:first-child {
  border-top: 1px solid var(--rule);
}

.essay-full-item:hover .essay-full-title {
  color: var(--accent);
}

.essay-full-top {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.essay-full-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.15s;
}

.essay-full-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.essay-full-date {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

.essay-full-desc {
  font-size: 13.5px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-top: 2px;
}

/* ─── HOW I WORK PAGE ─────────────────────────── */

.hiw-sections {
  display: flex;
  flex-direction: column;
}

.hiw-section {
  padding: 52px 0;
  border-top: 1px solid var(--rule);
}

.hiw-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.hiw-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hiw-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hiw-item-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.hiw-item-body {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 540px;
}

.hiw-closing {
  padding: 52px 0 80px;
  border-top: 1px solid var(--rule);
}

.hiw-closing-text {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 520px;
  font-style: italic;
}

/* ─── ESSAY READING PAGE ──────────────────────── */

.essay-article {
  padding: 80px 0 80px;
}

.essay-article-header {
  margin-bottom: 52px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.essay-article-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.essay-article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.essay-article-date {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.essay-article-divider {
  font-size: 12px;
  color: var(--rule);
}

.essay-article-read-time {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* Read time in essay listing */
.essay-full-read-time {
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* Article body */
.essay-article-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.essay-article-body p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.85;
  max-width: 600px;
}


/* Article footer */
.essay-article-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

/* Suggested essays section */
.suggested-section {
  margin-bottom: 40px;
}

.suggested-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}

/* Back link */
.essay-back-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.essay-back-link:hover {
  color: var(--accent);
}

/* ─── WORK PAGE ────────────────────────────── */

.work-section {
  padding-top: 0;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.work-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.work-image-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.work-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-item:hover .work-image-container img {
  transform: scale(1.02);
}

.work-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.work-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.work-title {
  /* No serif, keeping standard sans like talks / essays unless requested.
     Wait, it seems other titles like talks are sans too mostly. 
     If keeping with "essay-full-title", it's 15px font-weight 500. Let's make work title bigger. */
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}

.work-item:hover .work-title {
  color: var(--accent);
}

.work-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.work-item:hover .work-arrow {
  opacity: 1;
  transform: translateX(0);
}
