:root {
  --black: #11110f;
  --cream: #f3ead9;
  --muted-cream: #cfc2aa;
  --orange: #ff4e17;
  --line: rgba(243, 234, 217, 0.14);
  --soft-line: rgba(243, 234, 217, 0.075);
}

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

html,
body {
  width: 100%;
  min-height: 100%;
  background: var(--black);
  color: var(--cream);
  font-family: "Inter", sans-serif;
}

body {
  overflow-x: hidden;
}

.cover {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
}

/* BACKGROUND SLIDER */
.bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.8s ease;
}

.bg-slide.active {
  opacity: 1;
  animation: softZoom 8s ease-in-out forwards;
}

@keyframes softZoom {
  from {
    transform: scale(1.12);
  }

  to {
    transform: scale(1.02);
  }
}

/* DARK CINEMATIC OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 48%, rgba(255, 78, 23, 0.09), transparent 22%),
    linear-gradient(to bottom, rgba(5, 5, 4, 0.2), rgba(5, 5, 4, 0.9)),
    linear-gradient(to right, rgba(5, 5, 4, 0.88), rgba(5, 5, 4, 0.38), rgba(5, 5, 4, 0.8));
}

/* GRID */
.grid-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(var(--soft-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--soft-line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.8;
  pointer-events: none;
}

/* NAVIGATION */
.nav {
  position: relative;
  z-index: 10;
  height: 82px;
  padding: 0 56px;
  background: #0b0b09;
  border-bottom: 1px solid rgba(243, 234, 217, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.menu,
.hello {
  display: flex;
  align-items: center;
  transform: translateY(3px);
}

.brand {
  gap: 12px;
}

.brand-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--orange) 50%, transparent 50%);
  border: 1px solid var(--orange);
}

.brand-name {
  font-family: "Newsreader", serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
}
.brand-home {
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
}

.brand-home:hover {
  color: var(--orange);
}

.slash,
.year {
  color: var(--muted-cream);
  opacity: 0.68;
}
.slash {
    font-size: 10px;
}

.year {
  font-size: 10px;
  letter-spacing: 2px;
}

.menu {
  gap: 28px;
}

.menu a {
  color: var(--muted-cream);
  text-decoration: none;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

.menu a {
  cursor: pointer;
}

.menu a:hover {
  color: var(--orange);
}

.hello {
  gap: 14px;
  padding: 10px 22px;
  border: 1px solid rgba(243, 234, 217, 0.24);
  border-radius: 999px;
  color: var(--cream);
  text-decoration: none;
  font-family: "Newsreader", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.hello span {
    font-size: 17px;
    line-height: 1;
}
.hello:hover {
  border-color: var(--orange);
  transform: translateX(3px);
}

/* LEFT META */
.meta-block {
  position: absolute;
  z-index: 5;
  top: 130px;
  left: 45px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.15em;
  font-size: 10px;
}

.meta-label {
  color: rgba(243, 234, 217, 0.45);
  margin-bottom: 4px;
}

.meta-label.second {
  margin-top: 10px;
}

.meta-value {
  font-weight: 400;
  color: var(--cream);
  line-height: 1.4;
}

.corner {
  position: absolute;
  top: -22px;
  left: -18px;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--cream);
  border-left: 1px solid var(--cream);
  opacity: 0.9;
}

/* HERO */
.hero-content {
  position: relative;
  z-index: 5;
  padding-left: 155px;
  padding-top: 205px;
}

.role {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted-cream);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
}

.role span {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}

h1 {
  font-family: "Newsreader" , Gorgia, serif;
  font-weight: 300;
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-size: clamp(80px, 13vw, 200px);
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

h1 em {
  font-style: italic;
}
.name-line-one,
.name-line-two {
  display: block;
}

.name-line-two {
  display: block;
  margin-left: 125px;
}

.orange-dot {
  color: var(--orange);
  font-style: normal;
  letter-spacing: 0;
}

/* BOTTOM TEXT */
.bottom-caption {
  position: absolute;
  z-index: 5;
  left: 155px;
  bottom: 36px;
  font-family: "Newsreader" , Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: 0.01em;
  color: var(--muted-cream);
}

/* RIGHT INTRO */
.intro-text {
  position: absolute;
  z-index: 5;
  right: 150px;
  bottom: 30px;
  width: 390px;
  color: var(--cream);
}

.intro-text p {
  font-family: "Newsreader" , Georgia, serif;
  font-size: 16px;
  line-height: 1.48;
}


/* RIGHT MARK */
.right-mark {
  position: absolute;
  z-index: 5;
  top: 100px;
  right: 28px;
  width: 330px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 28px;
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.right-mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid var(--cream);
  border-right: 1px solid var(--cream);
  opacity: 0.9;
}

/* BOTTOM CORNER FRAMES */
.cover::before,
.cover::after {
  content: "";
  position: absolute;
  z-index: 6;
  bottom: 28px;
  width: 28px;
  height: 28px;
  pointer-events: none;
  opacity: 0.9;
}

.cover::before {
  left: 28px;
  border-left: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}

.cover::after {
  right: 28px;
  border-right: 1px solid var(--cream);
  border-bottom: 1px solid var(--cream);
}

/* MOBILE */
@media (max-width: 900px) {
  .nav {
    height: auto;
    padding: 26px 24px;
  }

  .menu {
    display: none;
  }

  .hello {
    padding: 10px 18px;
    font-size: 18px;
  }

  .meta-block,
  .right-mark {
    display: none;
  }

  .hero-content {
    padding: 200px 24px 0;
  }

  .role {
    font-size: 11px;
    letter-spacing: 3px;
    line-height: 1.6;
  }

  h1 {
    font-size: clamp(76px, 23vw, 145px);
    letter-spacing: -3px;
  }

  .bottom-caption {
    left: 24px;
    bottom: 18px;
    width: calc(100% - 48px);
    font-size: 24px;
  }

  .intro-text {
    left: 24px;
    right: 24px;
    bottom: 38px;
    width: auto;
  }

  .intro-text p {
    font-size: 20px;
  }
}

html {
  scroll-behavior: smooth;
}

/* PHOTOGRAPHS SECTION */
.photo-section {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  padding: 72px 7vw 90px;
}

  .photo-frame {
  position: relative;
  border-left: 1px solid rgba(243, 234, 217, 0.7);
  border-right: 1px solid rgba(243, 234, 217, 0.7);
  padding: 0 28px 60px;

  background-image:
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7)),
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7));
  background-repeat: no-repeat;
  background-size: 28px 1px, 28px 1px;
  background-position: left bottom, right bottom;
}

.photo-frame::before,
.photo-frame::after {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(243, 234, 217, 0.8);
}

.photo-frame::before {
  left: 0;
}

.photo-frame::after {
  right: 0;
}

.photo-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 24px 0 28px;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
}

.photo-label {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
}

.photo-top h2 {
  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5vw, 82px);
  letter-spacing: -0.045em;
}

.photo-hint {
  justify-self: end;
  color: rgba(243, 234, 217, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.photo-grid {
  columns: 5 220px;
  column-gap: 8px;
  padding-top: 18px;
}

.photo-card {
  perspective: 1200px;
  break-inside: avoid;
  margin-bottom: 8px;
}

.photo-card.wide {
  grid-column: auto;
}

.photo-card.tall {
  grid-row: auto;
}

.photo-inner {
  position: relative;
  width: 100%;
  transition: transform 0.75s ease;
  transform-style: preserve-3d;
}

.photo-card:hover .photo-inner {
  transform: rotateY(180deg);
}

.photo-front,
.photo-back {
  border-radius: 4px;
  overflow: hidden;
  backface-visibility: hidden;
  border: 1px solid rgba(243, 234, 217, 0.12);
}

.photo-front {
  position: relative;
}

.photo-back {
  position: absolute;
  inset: 0;
  overflow-y: auto;
}

.photo-front img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-front span {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  color: rgba(243, 234, 217, 0.75);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.photo-back {
  transform: rotateY(180deg);
  background: #080806;
  border: 1px solid var(--orange);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.photo-title {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.15;
  margin-bottom: 10px;
  border-bottom: 1px dotted rgba(243, 234, 217, 0.35);
}

.photo-year {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}

.photo-desc {
  color: rgba(243, 234, 217, 0.55);
  font-family: "Newsreader", Georgia, serif;
  font-size: 14px;
  line-height: 1.32;
}

.layout-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: 22px;
}

.layout-row > span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.34em;
  color: rgba(243, 234, 217, 0.45);
}

.layout-toggle {
  width: 46px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(243, 234, 217, 0.25);
  background: rgba(243, 234, 217, 0.06);
  padding: 3px;
  cursor: pointer;
}

.layout-toggle span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  transition: transform 0.35s ease;
}

.layout-toggle.is-active span {
  transform: translateX(20px);
}

/* GRID VIEW: DUNYA-LIKE CROPPED TILE LAYOUT */
.photo-grid.grid-view {
  columns: auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 165px;
  gap: 6px;
}

.photo-grid.grid-view .photo-card {
  break-inside: auto;
  margin-bottom: 0;
  min-height: auto;
}

.photo-grid.grid-view .photo-card.wide {
  grid-column: span 2;
}

.photo-grid.grid-view .photo-card.tall {
  grid-row: span 2;
}

.photo-grid.grid-view .photo-inner {
  height: 100%;
}

.photo-grid.grid-view .photo-front,
.photo-grid.grid-view .photo-back {
  height: 100%;
}

.photo-grid.grid-view .photo-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.load-more-btn {
  background: transparent;
  border: 1px solid rgba(255, 78, 23, 0.75);
  color: var(--orange);
  padding: 18px 38px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.load-more-btn span {
  margin-left: 10px;
}

.load-more-btn:hover {
  background: var(--orange);
  color: var(--black);
  transform: translateY(-2px);
}

.extra-photo {
  display: none;
}

.extra-photo.is-visible {
  display: block;
}

/* WRITING SECTION */
.writing-section {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  padding: 72px 7vw 90px;
}

.writing-frame {
  position: relative;
  border-left: 1px solid rgba(243, 234, 217, 0.7);
  border-right: 1px solid rgba(243, 234, 217, 0.7);
  padding: 0 28px 80px;

  background-image:
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7)),
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7));
  background-repeat: no-repeat;
  background-size: 28px 1px, 28px 1px;
  background-position: left bottom, right bottom;
}

.writing-frame::before,
.writing-frame::after {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(243, 234, 217, 0.8);
}

.writing-frame::before {
  left: 0;
}

.writing-frame::after {
  right: 0;
}

.writing-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 24px 0 28px;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
}

.writing-label {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
}

.writing-top h2 {
  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5vw, 82px);
  letter-spacing: -0.045em;
}

.writing-hint {
  justify-self: end;
  color: rgba(243, 234, 217, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.writing-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 56px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
}

.writing-card:last-child {
  border-bottom: none;
}

.writing-meta {
  font-family: "JetBrains Mono", monospace;
  color: rgba(243, 234, 217, 0.68);
  letter-spacing: 0.24em;
}

.writing-meta p {
  font-size: 12px;
  margin-bottom: 14px;
}

.writing-meta span {
  display: inline-block;
  color: var(--orange);
  border: 1px solid rgba(255, 78, 23, 0.75);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10px;
}

.writing-main h3 {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  color: var(--cream);
  transition: color 0.3s ease;
}

.writing-main p {
  max-width: 820px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  line-height: 1.46;
  color: rgba(243, 234, 217, 0.72);
  margin-bottom: 20px;
}

.writing-card:hover .writing-main h3 {
  color: var(--orange);
}

.writing-readline {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.writing-readline span {
  color: rgba(243, 234, 217, 0.45);
}

.writing-readline a {
  color: var(--orange);
  text-decoration: none;
}

.writing-readline a:hover {
  text-decoration: underline;
}

.writing-card {
  cursor: pointer;
}

.writing-card:hover .writing-main h3 {
  color: var(--orange);
}

.writing-readline {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  margin-top: 6px;
}

.writing-readline span {
  color: rgba(243, 234, 217, 0.45);
}

.writing-readline a,
.writing-readline a:visited {
  color: var(--orange);
  text-decoration: none;
}

.writing-readline a:hover {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.writing-card {
  cursor: pointer;
  transition:
    transform 0.35s ease;
}

.writing-card:hover {
  transform: translateX(8px);
}

.writing-card:hover .writing-main h3 {
  color: var(--orange);
}

.writing-main h3 {
  transition: color 0.35s ease;
}

.writing-main p,
.writing-readline {
  transition: color 0.35s ease;
}

/* PROJECTS SECTION */
.projects-section {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  padding: 72px 7vw 90px;
}

.projects-frame {
  position: relative;
  border-left: 1px solid rgba(243, 234, 217, 0.7);
  border-right: 1px solid rgba(243, 234, 217, 0.7);
  padding: 0 28px 80px;

  background-image:
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7)),
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7));
  background-repeat: no-repeat;
  background-size: 28px 1px, 28px 1px;
  background-position: left bottom, right bottom;
}

.projects-frame::before,
.projects-frame::after {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(243, 234, 217, 0.8);
}

.projects-frame::before {
  left: 0;
}

.projects-frame::after {
  right: 0;
}

.projects-top {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 24px 0 28px;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
}

.projects-label {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
}

.projects-top h2 {
  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5vw, 82px);
  letter-spacing: -0.045em;
}

.projects-hint {
  justify-self: end;
  color: rgba(243, 234, 217, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding-top: 48px;
}

.project-card {
  border: 1px solid rgba(243, 234, 217, 0.12);
  background: rgba(243, 234, 217, 0.035);
  cursor: pointer;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.project-card:hover {
  background: rgba(243, 234, 217, 0.075);
  border-color: rgba(243, 234, 217, 0.18);
}

.project-image {
  position: relative;
  height: 290px;
  overflow: hidden;
  background: #0b0b09;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.35s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.035);
  opacity: 0.88;
}

.project-card[data-link="projects/assistive-mobility.html"] .project-image img {
  object-position: center 35%;
}

.project-arrows {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.project-card:hover .project-arrows {
  opacity: 1;
  pointer-events: auto;
}

.project-arrows button {
  width: 38px;
  height: 38px;
  border: none;
  background: rgba(5, 5, 4, 0.55);
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.project-arrows button:hover {
  background: var(--orange);
  color: var(--black);
}

.project-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(5, 5, 4, 0.48);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover .project-dots {
  opacity: 1;
}

.project-dots button {
  width: 20px;
  height: 3px;
  border: none;
  border-radius: 999px;
  background: rgba(243, 234, 217, 0.38);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, width 0.25s ease;
}

.project-dots button.is-active {
  width: 24px;
  background: var(--orange);
}

.project-info {
  padding: 26px 32px 34px;
}

.project-status {
  color: rgba(243, 234, 217, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  margin-bottom: 14px;
}

.project-info h3 {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  color: var(--cream);
  transition: color 0.35s ease;
}

.project-card:hover .project-info h3 {
  color: var(--orange);
}

.project-role {
  color: rgba(243, 234, 217, 0.5);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-bottom: 12px;
}

.project-desc {
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  line-height: 1.43;
  color: rgba(243, 234, 217, 0.76);
  max-width: 680px;
  margin-bottom: 22px;
}

.project-tags {
  color: rgba(243, 234, 217, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.extra-project {
  display: none;
}

.extra-project.is-visible {
  display: block;
}

.project-load-wrap {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.project-load-btn {
  background: transparent;
  border: 1px solid rgba(255, 78, 23, 0.75);
  color: var(--orange);
  padding: 18px 38px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-load-btn span {
  margin-left: 10px;
}

.project-load-btn:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* PROJECT STATUS CORNER FLAGS */
.project-image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 4;
  width: 0;
  height: 0;
  border-top: 28px solid var(--flag-color);
  border-left: 28px solid transparent;
  pointer-events: none;
}

.status-archived {
  --flag-color: #e6d28a;
}

.status-active {
  --flag-color: #6ec6df;
}

.status-exhibited {
  --flag-color: #86b66f;
}

.status-archived .project-status {
  color: #e6d28a;
}

.status-active .project-status {
  color: #6ec6df;
}

.status-exhibited .project-status {
  color: #86b66f;
}

/* PUBLICATIONS SECTION */
.publications-section {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  padding: 72px 7vw 90px;
}

.publications-frame {
  position: relative;
  border-left: 1px solid rgba(243, 234, 217, 0.7);
  border-right: 1px solid rgba(243, 234, 217, 0.7);
  padding: 0 28px 80px;

  background-image:
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7)),
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7));
  background-repeat: no-repeat;
  background-size: 28px 1px, 28px 1px;
  background-position: left bottom, right bottom;
}

.publications-frame::before,
.publications-frame::after {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(243, 234, 217, 0.8);
}

.publications-frame::before {
  left: 0;
}

.publications-frame::after {
  right: 0;
}

.publications-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 24px 0 28px;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
}

.publications-label {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
}

.publications-top h2 {
  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5vw, 82px);
  letter-spacing: -0.045em;
}

.publications-hint {
  justify-self: end;
  color: rgba(243, 234, 217, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.publication-row {
  display: grid;
  grid-template-columns: 110px 130px 1fr 40px;
  gap: 28px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
  cursor: pointer;
}

.publication-year {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(243, 234, 217, 0.58);
}

.publication-type {
  width: fit-content;
  color: #6ec6df;
  border: 1px solid rgba(110, 198, 223, 0.75);
  border-radius: 2px;
  padding: 4px 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.publication-content h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-style: normal;
  font-size: clamp(15px, 1.3vw, 22px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 8px;
  transition: color 0.35s ease;
}

.publication-row:hover .publication-content h3 {
  color: var(--orange);
}

.publication-content p {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: rgba(243, 234, 217, 0.48);
}

.publication-arrow,
.publication-arrow:visited {
  color: var(--orange);
  text-decoration: none;
  font-size: 16px;
  justify-self: end;
  transition: transform 0.3s ease;
}

.publication-row:hover .publication-arrow {
  transform: translate(3px, -3px);
}

/* READING / PODCAST SECTION */
.reading-section {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  padding: 72px 7vw 90px;
}

.reading-frame {
  position: relative;
  border-left: 1px solid rgba(243, 234, 217, 0.7);
  border-right: 1px solid rgba(243, 234, 217, 0.7);
  padding: 0 28px 80px;

  background-image:
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7)),
    linear-gradient(rgba(243, 234, 217, 0.7), rgba(243, 234, 217, 0.7));
  background-repeat: no-repeat;
  background-size: 28px 1px, 28px 1px;
  background-position: left bottom, right bottom;
}

.reading-frame::before,
.reading-frame::after {
  content: "";
  position: absolute;
  top: 0;
  width: 28px;
  height: 28px;
  border-top: 1px solid rgba(243, 234, 217, 0.8);
}

.reading-frame::before {
  left: 0;
}

.reading-frame::after {
  right: 0;
}

.reading-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  padding: 24px 0 28px;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
}

.reading-label {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
}

.reading-top h2 {
  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(48px, 5vw, 82px);
  letter-spacing: -0.045em;
}

.reading-hint {
  justify-self: end;
  color: rgba(243, 234, 217, 0.45);
  font-family: "JetBrains Mono", monospace;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.reading-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  padding-top: 60px;
}

.reading-tile {
  position: relative;
  cursor: pointer;
}

.reading-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(243, 234, 217, 0.12);
  background: #0b0b09;
}

.reading-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.35s ease, opacity 0.35s ease;
}

.reading-tile:hover .reading-media img {
  transform: scale(1.035);
  filter: grayscale(0.7);
  opacity: 0.55;
}

.reading-play {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  transform: translate(-50%, -50%) scale(0.92);
  border: 1px solid rgba(243, 234, 217, 0.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: rgba(5, 5, 4, 0.55);
  font-size: 17px;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reading-tile:hover .reading-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.reading-tile-info {
  position: relative;
  padding-top: 14px;
}

.reading-tile-info span {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.reading-tile-info h3 {
  margin-top: 10px;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--cream);
  transition: color 0.35s ease;
}

.reading-tile:hover .reading-tile-info h3 {
  color: var(--orange);
}

.reading-tile-info p {
  margin-top: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  color: rgba(243, 234, 217, 0.48);
}

.reading-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.reading-more-btn {
  background: transparent;
  border: 1px solid rgba(255, 78, 23, 0.75);
  color: var(--orange);
  padding: 18px 38px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}

.reading-more-btn:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* CONTACT / END SECTION */
.contact-section {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  padding: 90px 7vw 36px;
  overflow: hidden;
}

.contact-inner {
  position: relative;
  min-height: calc(100vh - 126px);
  border-top: 1px solid rgba(243, 234, 217, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 56px;
}

.contact-index {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.34em;
  margin-bottom: 16px;
}

.contact-title {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(68px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--cream);
  margin-bottom: 48px;
}

.contact-title em {
  color: var(--orange);
  font-style: italic;
}

.email-reveal {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 34px;
  border: 1px solid rgba(243, 234, 217, 0.18);
  border-radius: 999px;
  color: var(--muted-cream);
  text-decoration: none;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  transition: border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

.email-reveal span {
  width: 8px;
  height: 8px;
  background: var(--orange);
  transform: rotate(45deg);
}

.email-reveal strong {
  color: var(--cream);
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

.email-reveal:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateX(8px);
}

.contact-action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cv-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid rgba(255, 78, 23, 0.75);
  border-radius: 999px;
  color: var(--orange);
  background: transparent;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.26em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cv-download:hover {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-2px);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 70px;
}

.contact-links a {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px dotted rgba(243, 234, 217, 0.2);
  border-bottom: 1px dotted rgba(243, 234, 217, 0.2);
  color: var(--cream);
  text-decoration: none;
  transition: transform 0.35s ease;
}

.contact-links a:hover {
  transform: translateX(6px);
}

.contact-links span {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.contact-links p {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--muted-cream);
  transition: color 0.35s ease;
}

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

.site-footer {
  position: relative;
  margin-top: auto;
  padding-top: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  color: rgba(243, 234, 217, 0.42);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: rgba(243, 234, 217, 0.12);
}

.site-footer p:nth-child(2) {
  text-align: center;
  color: rgba(255, 78, 23, 0.85);
}

.site-footer p:nth-child(3) {
  text-align: right;
}

/* SUBTLE FOOTER SPARKLE */
.footer-thanks {
  position: relative;
  display: inline-block;
  isolation: isolate;
}

.footer-thanks::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 280px;
  height: 80px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  z-index: 0;

  background:
    radial-gradient(circle, rgba(255, 220, 130, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255, 230, 160, 0.45) 0 1px, transparent 2px);

  background-size: 130px 80px, 190px 100px;
  background-position: 20px 24px, 96px 12px;
}

.footer-thanks.is-sparkling::before {
  animation: softSparkle 2s ease-in-out 5;
}

.footer-thanks {
  z-index: 1;
}

@keyframes softSparkle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(4px) scale(0.98);
    background-position: 20px 24px, 96px 12px;
  }

  25% {
    opacity: 0.42;
  }

  50% {
    opacity: 0.22;
    transform: translate(-50%, -50%) translateY(-3px) scale(1);
    background-position: 32px 18px, 84px 18px;
  }

  75% {
    opacity: 0.36;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translateY(-7px) scale(1.02);
    background-position: 44px 12px, 72px 24px;
  }
}

/* RESPONSIVE DESIGN */

/* TABLET */
@media (max-width: 1100px) {
  .nav {
    padding: 0 28px;
  }

  .menu {
    gap: 20px;
  }

  .hero-content {
    padding-left: 70px;
    padding-top: 210px;
  }

  .name-line-two {
    margin-left: 60px;
  }

  .intro-text {
    right: 70px;
    width: 330px;
  }

  .bottom-caption {
    left: 70px;
  }

  .photo-grid.grid-view {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .reading-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .publication-row {
    grid-template-columns: 90px 120px 1fr 30px;
    gap: 18px;
  }

  .contact-links {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


/* MOBILE */
@media (max-width: 760px) {
  body {
    overflow-x: hidden;
  }

  .nav {
    height: 72px;
    padding: 0 18px;
  }

  .menu {
    display: none;
  }

  .brand-name {
    font-size: 17px;
  }

  .hello {
    padding: 9px 16px;
    font-size: 15px;
  }

  .year {
    font-size: 9px;
  }

  .cover {
    min-height: 100svh;
  }

  .meta-block {
    top: 110px;
    left: 22px;
    font-size: 9px;
  }

  .right-mark {
    top: 100px;
    right: 18px;
    width: auto;
    font-size: 10px;
    padding-right: 22px;
  }

  .hero-content {
    padding-left: 22px;
    padding-right: 22px;
    padding-top: 290px;
  }

  h1 {
    font-size: clamp(64px, 21vw, 92px);
    line-height: 0.88;
  }

  .name-line-two {
    margin-left: 0;
  }

  .role {
    font-size: 9px;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
  }

  .intro-text {
    position: relative;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 32px 22px 0;
  }

  .intro-text p {
    font-size: 16px;
    line-height: 1.45;
  }

  .bottom-caption {
    left: 22px;
    right: 22px;
    bottom: 30px;
    font-size: 17px;
  }

  .cover::before {
    left: 16px;
  }

  .cover::after {
    right: 16px;
  }

  .photo-section,
  .writing-section,
  .projects-section,
  .publications-section,
  .reading-section,
  .contact-section {
    padding: 64px 18px 80px;
  }

  .photo-frame,
  .writing-frame,
  .projects-frame,
  .publications-frame,
  .reading-frame {
    padding: 0 14px 64px;
  }

  .photo-top,
  .writing-top,
  .projects-top,
  .publications-top,
  .reading-top {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0 26px;
  }

  .photo-top h2,
  .writing-top h2,
  .projects-top h2,
  .publications-top h2,
  .reading-top h2 {
    text-align: left;
    font-size: clamp(44px, 15vw, 64px);
  }

  .photo-hint,
  .writing-hint,
  .projects-hint,
  .publications-hint,
  .reading-hint {
    justify-self: start;
    font-size: 10px;
  }

  .photo-grid {
    columns: 2 140px;
    column-gap: 6px;
  }

  .photo-card {
    margin-bottom: 6px;
  }

  .photo-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .layout-row {
    justify-content: flex-start;
    padding-top: 18px;
  }

  .writing-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 34px 0;
  }

  .writing-main h3 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .project-image {
    height: 240px;
  }

  .project-info {
    padding: 24px 22px 30px;
  }

  .project-info h3 {
    font-size: clamp(30px, 10vw, 44px);
  }

  .project-desc {
    font-size: 16px;
  }

  .publication-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .publication-arrow {
    justify-self: start;
  }

  .publication-content h3 {
    font-size: clamp(22px, 7vw, 32px);
  }

  .reading-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 46px;
  }

  .reading-media {
    aspect-ratio: 1 / 1;
  }

  .reading-tile-info h3 {
    font-size: 24px;
  }

  .reading-more-wrap,
  .project-load-wrap,
  .load-more-wrap {
    padding-top: 44px;
  }

  .contact-inner {
    min-height: calc(100svh - 126px);
    padding-top: 36px;
  }

  .contact-title {
    font-size: clamp(48px, 16vw, 72px);
    line-height: 0.95;
    margin-bottom: 42px;
  }

  .contact-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .email-reveal {
    width: 100%;
    justify-content: space-between;
    padding: 18px 22px;
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .cv-download {
    width: 100%;
    min-height: 54px;
  }

  .contact-links {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 56px;
  }

  .contact-links a {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    padding-top: 30px;
  }

  .site-footer p:nth-child(2),
  .site-footer p:nth-child(3) {
    text-align: center;
  }
}


/* SMALL MOBILE */
@media (max-width: 430px) {
  .photo-section,
  .writing-section,
  .projects-section,
  .publications-section,
  .reading-section,
  .contact-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: clamp(58px, 22vw, 82px);
  }

  .intro-text {
    margin-left: 18px;
    margin-right: 18px;
  }

  .photo-grid {
    columns: 1;
  }

  .photo-grid.grid-view {
    grid-template-columns: 1fr;
  }

  .project-image {
    height: 220px;
  }

  .contact-title {
    font-size: clamp(44px, 17vw, 64px);
  }

  .email-reveal {
    font-size: 9px;
    letter-spacing: 0.14em;
  }
}

/* FINAL MOBILE COVER ALIGNMENT */
@media (max-width: 760px) {
  .meta-block {
    display: block;
    top: 108px;
    left: 28px;
    font-size: 8px;
    z-index: 9;
  }

  .corner {
    display: block;
    top: -18px;
    left: -14px;
  }

  .right-mark {
    display: flex;
    top: 96px;
    right: 20px;
    width: 145px;
    height: 40px;
    font-size: 10px;
    letter-spacing: 0.16em;
    z-index: 9;
  }

  .right-mark::after {
    display: block;
  }

  .hero-content {
    padding-top: 330px;
  }

  .role {
    margin-bottom: 18px;
    transform: translateY(-18px);
  }

  h1 {
    line-height: 0.9;
  }

  .name-line-two {
    margin-left: 42px;
    margin-top: -4px;
  }

  .intro-text {
    display: none;
  }

  .bottom-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 12px 22px 0;
    font-size: 17px;
    line-height: 1.25;
  }
}

/* MOBILE TYPOGRAPHY SCALE DOWN */
@media (max-width: 760px) {
  /* Cover name: Jyoti Rautela */
  h1 {
    font-size: clamp(48px, 17vw, 72px);
    line-height: 0.9;
  }

  /* Section headings: Photographs, Writing, Projects, Publications, Reading */
  .photo-top h2,
  .writing-top h2,
  .projects-top h2,
  .publications-top h2,
  .reading-top h2 {
    font-size: clamp(36px, 11vw, 52px);
  }

  /* Contact heading: Let's collaborate */
  .contact-title {
    font-size: clamp(40px, 12vw, 58px);
  }

  /* Writing card titles */
  .writing-main h3 {
    font-size: clamp(24px, 7.5vw, 34px);
  }

  /* Project titles */
  .project-info h3 {
    font-size: clamp(24px, 7.5vw, 34px);
  }

  /* Publication titles */
  .publication-content h3 {
    font-size: clamp(18px, 5.8vw, 26px);
  }

  /* Reading/audio titles */
  .reading-tile-info h3 {
    font-size: 20px;
  }

  /* Main paragraph/body text */
  .writing-main p,
  .project-desc,
  .photo-desc {
    font-size: 11px;
    line-height: 1.45;
  }

  .publication-content p {
font-size: 8px;
    line-height: 1.45;
  }

  /* Small labels */
  .photo-label,
  .writing-label,
  .projects-label,
  .publications-label,
  .reading-label,
  .project-role,
  .project-tags,
  .publication-year,
  .publication-type,
  .reading-tile-info p {
    font-size: 9px;
  }

  /* Cover role line */
  .role {
    font-size: 8px;
    letter-spacing: 0.16em;
  }

  /* Bottom cover caption */
  .bottom-caption {
    font-size: 15px;
  }
}

.photo-mobile-hidden {
  display: none !important;
}

/* MOBILE READING: SHOW ONLY 2 TILES */
@media (max-width: 760px) {
  .reading-grid .reading-tile:nth-child(n + 3) {
    display: none;
  }

  .reading-grid {
    gap: 36px;
  }

  .reading-more-wrap {
    padding-top: 42px;
  }
}

/* MOBILE: MOVE NAME BLOCK DOWN */
@media (max-width: 760px) {
  .hero-content {
    padding-top: 450px;
  }
}

@media (max-width: 760px) {
  .contact-links a:last-child {
    border-bottom: none;
  }
}

/* PRIVACY PAGE */
.privacy-page {
  min-height: 100vh;
  background: var(--black);
  color: var(--cream);
  padding: 80px 7vw;
}

.privacy-back {
  display: inline-block;
  margin-bottom: 90px;
  color: var(--orange);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
}

.privacy-back:hover {
  color: var(--cream);
}

.privacy-content {
  max-width: 820px;
}

.privacy-label {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.34em;
  margin-bottom: 20px;
}

.privacy-content h1 {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(42px, 6vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-bottom: 54px;
}

.privacy-content p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(243, 234, 217, 0.75);
  margin-bottom: 26px;
}

@media (max-width: 760px) {
  .privacy-page {
    padding: 56px 24px;
  }

  .privacy-back {
    margin-bottom: 64px;
    font-size: 10px;
  }

  .privacy-content h1 {
    font-size: clamp(40px, 12vw, 60px);
    margin-bottom: 38px;
  }

  .privacy-content p {
    font-size: 14px;
    line-height: 1;
  }
}

.footer-privacy-link {
  color: inherit;
  text-decoration: none;
}

.footer-privacy-link:hover {
  color: var(--orange);
}

/* Header menu underline hover */
.menu a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #e8dfcf;
  transition: color 0.25s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background-color: #ff5a2c;
  transition: width 0.25s ease;
}

.menu a:hover {
  color: #ff5a2c;
}

.menu a:hover::after {
  width: 100%;
}

.orange-highlight {
  color: #ff5a2c;
  font-style: italic;
}

/* LIGHTER WEBSITE TYPOGRAPHY */
body {
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Header + buttons: keep readable but lighter */
.brand-name,
.menu a,
.hello,
.load-more-btn,
.project-load-btn,
.reading-more-btn,
.cv-download {
  font-weight: 400;
}

/* Mono labels: do not make too thin, otherwise unreadable */
.meta-value,
.role,
.writing-meta,
.project-status,
.project-role,
.project-tags,
.publication-year,
.publication-type,
.publication-content p,
.reading-tile-info span,
.reading-tile-info p,
.site-footer {
  font-weight: 400;
}

/* Serif headings and paragraph text: make softer */
.intro-text p,
.bottom-caption,
.photo-title,
.photo-desc,
.writing-main h3,
.writing-main p,
.project-info h3,
.project-desc,
.publication-content h3,
.reading-tile-info h3,
.contact-links p,
.email-reveal,
.email-reveal strong,
.privacy-content p {
  font-weight: 300;
}

/* ARTICLE / WRITING DETAIL PAGE */

.article-page {
  background: var(--black);
  color: var(--cream);
  min-height: 100vh;
}

.article-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 115px 28px 140px;
}

.article-back {
  display: inline-block;
  margin-bottom: 70px;
  color: var(--cream);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.32em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.article-back:hover {
  color: var(--orange);
  transform: translateX(-4px);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  color: var(--muted-cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
}

.article-pill {
  color: var(--orange);
  border: 1px solid rgba(255, 78, 23, 0.8);
  border-radius: 999px;
  padding: 5px 12px;
}

.article-title {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.2;
  letter-spacing: -0.055em;
  color: var(--cream);
  text-shadow: none;
  margin-bottom: 34px;
}

.article-subtitle {
  max-width: 780px;
  margin-bottom: 78px;
  padding-left: 26px;
  border-left: 1px solid rgba(243, 234, 217, 0.2);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(22px, 1.6vw, 20px);
  line-height: 1.4;
  color: rgba(243, 234, 217, 0.86);
}

.article-body {
  max-width: 760px;
}

.article-body p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(243, 234, 217, 0.86);
  margin-bottom: 30px;
}

.article-body h2 {
  margin: 86px 0 26px;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.article-body h3 {
  margin: 56px 0 20px;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--muted-cream);
}

.article-body blockquote {
  margin: 56px 0;
  padding-left: 28px;
  border-left: 1px solid var(--orange);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.35;
  color: var(--orange);
}

.article-body a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 78, 23, 0.6);
}

.article-body a:hover {
  border-bottom-color: var(--cream);
}

/* MOBILE ARTICLE PAGE */
@media (max-width: 760px) {
  .article-shell {
    padding: 78px 22px 100px;
  }

  .article-back {
    margin-bottom: 48px;
    font-size: 9px;
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 9px;
  }

  .article-title {
    font-size: clamp(28px, 8vw, 48px);
  }

  .article-subtitle {
    font-size: 16px;
    margin-bottom: 56px;
  }

  .article-body p {
    font-size: 15px;
    line-height: 1.55;
  }

  .article-body h2 {
    font-size: 20px;
    margin-top: 68px;
  }

  .article-body h3 {
    font-size: 18px;
  }

  .article-body blockquote {
    font-size: 16px;
  }
}

/* PROJECT DETAIL PAGE */

.project-detail-page {
  background: var(--black);
  color: var(--cream);
  min-height: 100vh;
}

.project-detail-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 115px 28px 140px;
}

.project-detail-back {
  display: inline-block;
  margin-bottom: 80px;
  color: var(--cream);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-detail-back:hover {
  color: var(--orange);
  transform: translateX(-4px);
}

.project-detail-gallery {
  margin-bottom: 70px;
}

.project-detail-image-wrap {
  position: relative;
  border: 1px solid rgba(243, 234, 217, 0.12);
  background: #080806;
  overflow: hidden;
}

.project-detail-image {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.project-detail-prev,
.project-detail-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(5, 5, 4, 0.55);
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.project-detail-prev {
  left: 18px;
}

.project-detail-next {
  right: 18px;
}

.project-detail-prev:hover,
.project-detail-next:hover {
  background: var(--orange);
  color: var(--black);
}

.project-detail-gallery-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}

.project-detail-dots {
  display: flex;
  gap: 8px;
}

.project-detail-dots button {
  width: 28px;
  height: 3px;
  border: none;
  background: rgba(243, 234, 217, 0.25);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.project-detail-dots button.is-active {
  width: 34px;
  background: var(--orange);
}

.project-detail-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--muted-cream);
}

.project-detail-status {
  display: flex;
  gap: 22px;
  margin-bottom: 24px;
  color: var(--muted-cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.26em;
}

.project-detail-status span:first-child {
  color: var(--orange);
}

.project-detail-title {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--cream);
  text-shadow: none;
  margin-bottom: 34px;
}

.project-detail-summary {
  max-width: 720px;
  margin-bottom: 34px;
  padding-left: 26px;
  border-left: 1px solid rgba(243, 234, 217, 0.2);
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 300;
  line-height: 1.45;
  color: rgba(243, 234, 217, 0.86);
}

.project-detail-info {
  margin-bottom: 16px;
}

.project-detail-info p {
  margin-bottom: 6px;
  color: rgba(243, 234, 217, 0.48);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.project-detail-info span {
  color: var(--muted-cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
}

.project-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 56px;
}

.project-detail-tags span {
  border: 1px solid rgba(243, 234, 217, 0.18);
  padding: 7px 12px;
  color: var(--muted-cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
}

.project-detail-body {
  max-width: 760px;
}

.project-detail-body h2 {
  margin: 76px 0 24px;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.project-detail-body p {
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(243, 234, 217, 0.86);
  margin-bottom: 30px;
}

.project-detail-body blockquote {
  margin: 54px 0;
  padding-left: 28px;
  border-left: 1px solid var(--orange);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.38;
  color: var(--orange);
}

.project-detail-body img {
  width: 100%;
  display: block;
  margin: 58px 0;
  border: 1px solid rgba(243, 234, 217, 0.12);
}

/* MOBILE PROJECT DETAIL */
@media (max-width: 760px) {
  .project-detail-shell {
    padding: 78px 22px 100px;
  }

  .project-detail-back {
    margin-bottom: 52px;
    font-size: 9px;
  }

  .project-detail-gallery {
    margin-bottom: 54px;
  }

  .project-detail-prev,
  .project-detail-next {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .project-detail-title {
  font-size: clamp(34px, 10vw, 48px);
}

.project-detail-summary {
  font-size: 15px;
  margin-bottom: 42px;
}

  .project-detail-status {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 9px;
  }

  .project-detail-body p {
    font-size: 16px;
    line-height: 1.6;
  }

  .project-detail-body h2 {
    font-size: 28px;
  }

  .project-detail-body blockquote {
    font-size: 20px;
  }
}

/* REFINED PROJECT DETAIL PAGE — MULTI-CAROUSEL LAYOUT */

.project-detail-shell {
  max-width: 900px;
  margin: 0 auto;
  padding: 115px 28px 150px;
}

.project-detail-back {
  margin-bottom: 78px;
}

.project-hero-carousel {
  margin-bottom: 72px;
}

.project-inline-carousel {
  margin: 76px 0 84px;
}

.project-carousel-label {
  margin-bottom: 18px;
  color: rgba(243, 234, 217, 0.48);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
}

.project-carousel-frame {
  position: relative;
  width: 100%;
  border: 1px solid rgba(243, 234, 217, 0.12);
  background: #080806;
  overflow: hidden;
}

.project-carousel-image {
  width: 100%;
  height: 500px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.project-inline-carousel .project-carousel-image {
  height: 470px;
}

.project-carousel-prev,
.project-carousel-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: none;
  background: rgba(5, 5, 4, 0.58);
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.project-carousel-prev {
  left: 18px;
}

.project-carousel-next {
  right: 18px;
}

.project-carousel-prev:hover,
.project-carousel-next:hover {
  background: var(--orange);
  color: var(--black);
}

.project-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.project-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-carousel-dots button {
  width: 28px;
  height: 3px;
  border: none;
  background: rgba(243, 234, 217, 0.24);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.project-carousel-dots button.is-active {
  width: 36px;
  background: var(--orange);
}

.project-carousel-count {
  color: var(--muted-cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.project-detail-intro {
  margin-bottom: 82px;
}

.project-detail-status {
  margin-bottom: 24px;
}

.project-detail-title {
  max-width: 820px;
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: 1;
  margin-bottom: 30px;
}

.project-detail-summary {
  max-width: 790px;
  margin-bottom: 60px;
}

.project-detail-body {
  max-width: 760px;
}

.project-detail-body h2 {
  margin: 82px 0 26px;
  font-size: clamp(31px, 3.1vw, 43px);
}

.project-detail-body p {
  font-size: 18px;
  line-height: 1.68;
}

.project-detail-body blockquote {
  margin: 58px 0;
}

.project-video-block {
  margin-top: 86px;
}

.project-detail-video {
  width: 100%;
  display: block;
  border: 1px solid rgba(243, 234, 217, 0.12);
  background: #080806;
}

.project-video-caption {
  margin-top: 16px;
  color: rgba(243, 234, 217, 0.52);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.16em;
}

/* MOBILE PROJECT DETAIL REFINEMENT */
@media (max-width: 760px) {
  .project-detail-shell {
    padding: 78px 22px 110px;
  }

  .project-detail-back {
    margin-bottom: 54px;
  }

  .project-hero-carousel {
    margin-bottom: 56px;
  }

  .project-inline-carousel {
    margin: 58px 0 66px;
  }

  .project-carousel-image,
  .project-inline-carousel .project-carousel-image {
    height: 260px;
  }

  .project-carousel-prev,
  .project-carousel-next {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .project-carousel-prev {
    left: 12px;
  }

  .project-carousel-next {
    right: 12px;
  }

  .project-carousel-dots button {
    width: 22px;
  }

  .project-carousel-dots button.is-active {
    width: 28px;
  }

  .project-detail-title {
    font-size: clamp(40px, 13vw, 60px);
  }

  .project-detail-summary {
    font-size: 17px;
    margin-bottom: 48px;
  }

  .project-detail-body h2 {
    font-size: 28px;
    margin-top: 66px;
  }

  .project-detail-body p {
    font-size: 16px;
    line-height: 1.6;
  }

  .project-video-block {
    margin-top: 66px;
  }
}

/* PROJECT DETAIL — VIDEO BLOCKS + FURTHER READING */

.project-animation-block {
  margin: 82px 0 90px;
}

.project-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-video-card {
  border: 1px solid rgba(243, 234, 217, 0.12);
  background: rgba(243, 234, 217, 0.035);
}

.project-inline-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #080806;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
}

.project-video-title {
  padding: 20px 22px 8px;
  color: var(--cream);
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.15;
}

.project-video-text {
  padding: 0 22px 24px;
  color: rgba(243, 234, 217, 0.62);
  font-family: "Newsreader", Georgia, serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.45;
}

.project-further-reading {
  max-width: 780px;
  margin: 98px 0 92px;
}

.project-further-reading h2 {
  margin-bottom: 22px;
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(31px, 3.1vw, 43px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--cream);
}

.project-further-reading ul {
  list-style-position: outside;
  padding-left: 26px;
}

.project-further-reading li {
  margin-bottom: 10px;
  color: var(--orange);
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
}

.project-further-reading a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 78, 23, 0.85);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.project-further-reading a:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.project-further-reading span {
  color: rgba(243, 234, 217, 0.78);
}

.project-end-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 34px;
  border-top: 1px solid rgba(243, 234, 217, 0.12);
}

.project-end-nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  transition: color 0.3s ease, transform 0.3s ease;
}

.project-end-nav a:first-child:hover {
  color: var(--orange);
  transform: translateX(-4px);
}

.project-end-nav a:last-child:hover {
  color: var(--orange);
  transform: translateY(-3px);
}

/* MOBILE */
@media (max-width: 760px) {
  .project-animation-block {
    margin: 62px 0 72px;
  }

  .project-video-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .project-video-title {
    font-size: 20px;
  }

  .project-video-text {
    font-size: 14px;
  }

  .project-further-reading {
    margin: 76px 0 72px;
  }

  .project-further-reading h2 {
    font-size: 28px;
  }

  .project-further-reading li {
    font-size: 16px;
  }

  .project-end-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .project-end-nav a {
    font-size: 9px;
  }
}

/* PROJECT DETAIL — INLINE HIGHLIGHT LINKS */

.project-detail-body .project-text-link {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 78, 23, 0.85);
  font-style: italic;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.project-detail-body .project-text-link:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

/* SHARED DETAIL PAGE FOOTER */

.detail-footer {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 0 56px;
  border-top: 1px solid rgba(243, 234, 217, 0.12);
  background: var(--black);
  color: rgba(243, 234, 217, 0.46);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
}

.detail-footer p {
  margin: 0;
}

.detail-footer p:last-child {
  text-align: right;
}

.detail-footer a {
  color: rgba(243, 234, 217, 0.46);
  text-decoration: none;
  transition: color 0.3s ease;
}

.detail-footer a:hover {
  color: var(--orange);
}

@media (max-width: 760px) {
  .detail-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 110px;
    padding: 26px 22px;
    gap: 14px;
    font-size: 9px;
    line-height: 1.6;
  }

  .detail-footer p:last-child {
    text-align: left;
  }
}

/* PROJECT DETAIL — BODY LIST FORMATTING */

.project-detail-body ul {
  max-width: 760px;
  margin: 26px 0 36px;
  padding-left: 26px;
}

.project-detail-body li {
  margin-bottom: 16px;
  padding-left: 8px;
  color: rgba(243, 234, 217, 0.86);
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.62;
}

.project-detail-body li::marker {
  color: var(--orange);
  font-size: 0.8em;
}

.project-detail-body strong {
  color: var(--cream);
  font-weight: 500;
}

.project-detail-body .project-text-link {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 78, 23, 0.85);
  font-style: italic;
}

.project-detail-body .project-text-link:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

@media (max-width: 760px) {
  .project-detail-body ul {
    padding-left: 22px;
  }

  .project-detail-body li {
    font-size: 16px;
    line-height: 1.58;
  }
}

/* GLOBAL DETAIL PAGE WIDTH — ALL PROJECT + WRITING PAGES */

.project-detail-shell,
.article-shell {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* PROJECT PAGES — new + old structures */
.project-carousel,
.project-detail-gallery,
.project-detail-intro,
.project-detail-body,
.project-animation-block,
.project-video-block,
.project-further-reading,
.project-end-nav {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* WRITING PAGES */
.article-meta,
.article-title,
.article-subtitle,
.article-body {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* OLD PROJECT IMAGE CLASS */
.project-detail-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center center;
}

/* NEW PROJECT IMAGE CLASS */
.project-carousel-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center center;
}

/* IN-BETWEEN PROJECT CAROUSELS */
.project-inline-carousel .project-carousel-image {
  height: 450px;
}

/* PROJECT TITLE + SUMMARY */
.project-detail-title {
  max-width: 760px;
}

.project-detail-summary {
  max-width: 720px;
}

/* WRITING TITLE + SUBTITLE */
.article-title {
  max-width: 760px;
}

.article-subtitle {
  max-width: 720px;
}

/* MOBILE */
@media (max-width: 760px) {
  .project-detail-shell,
  .article-shell,
  .project-carousel,
  .project-detail-gallery,
  .project-detail-intro,
  .project-detail-body,
  .project-animation-block,
  .project-video-block,
  .project-further-reading,
  .project-end-nav,
  .article-meta,
  .article-title,
  .article-subtitle,
  .article-body {
    max-width: 100%;
  }

  .project-detail-image,
  .project-carousel-image,
  .project-inline-carousel .project-carousel-image {
    height: 260px;
  }
}

/* PROJECT CAROUSEL IMAGE CAPTION */

.project-carousel-frame {
  position: relative;
}

.project-carousel-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  margin: 0;
  padding: 8px 12px;
  z-index: 4;

  color: rgba(243, 234, 217, 0.78);
  background: rgba(5, 5, 4, 0.46);
  border: 1px solid rgba(243, 234, 217, 0.12);

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

@media (max-width: 760px) {
  .project-carousel-caption {
    right: 14px;
    bottom: 14px;
    max-width: 72%;
    font-size: 9px;
    padding: 6px 9px;
  }
}

/* ONLY SELECTED PROJECT CAROUSEL IMAGES SHOW FULLY */
.project-carousel-image.is-contain {
  object-fit: contain;
  background: var(--black);
}

/* GLOBAL PROJECT IMAGE CONTROLS — ARROWS + BAR DOTS */

/* Arrow buttons: homepage project cards + project detail pages */
.project-arrows button,
.project-carousel-prev,
.project-carousel-next,
.project-detail-prev,
.project-detail-next {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(243, 234, 217, 0.28);
  border-radius: 6px;
  background: rgba(5, 5, 4, 0.52);
  color: var(--cream);
  font-family: "JetBrains Mono", monospace;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.project-arrows button:hover,
.project-carousel-prev:hover,
.project-carousel-next:hover,
.project-detail-prev:hover,
.project-detail-next:hover {
  background: var(--orange);
  color: var(--black);
  border-color: var(--orange);
  transform: translateY(-50%) scale(1.04);
}

/* Fix hover transform only for homepage project card arrows */
.project-arrows button:hover {
  transform: scale(1.04);
}

/* Bar dots: homepage project cards + project detail pages */
.project-dots button,
.project-carousel-dots button,
.project-detail-dots button {
  width: 28px;
  height: 4px;
  border: none;
  border-radius: 999px;
  background: rgba(243, 234, 217, 0.25);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.25s ease,
    width 0.25s ease,
    opacity 0.25s ease;
}

.project-dots button.is-active,
.project-carousel-dots button.is-active,
.project-detail-dots button.is-active {
  width: 38px;
  background: var(--orange);
}

/* Bar holder: make the bars look softer wherever they appear */
.project-dots,
.project-carousel-dots,
.project-detail-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mobile */
@media (max-width: 760px) {
  .project-arrows button,
  .project-carousel-prev,
  .project-carousel-next,
  .project-detail-prev,
  .project-detail-next {
    width: 34px;
    height: 34px;
    font-size: 15px;
    border-radius: 5px;
  }

  .project-dots button,
  .project-carousel-dots button,
  .project-detail-dots button {
    width: 22px;
    height: 3px;
  }

  .project-dots button.is-active,
  .project-carousel-dots button.is-active,
  .project-detail-dots button.is-active {
    width: 30px;
  }
}

/* PROJECT CAROUSEL CAPTIONS */

.project-carousel-frame {
  position: relative;
}

.project-carousel-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 5;

  max-width: 380px;
  margin: 0;
  padding: 9px 13px;

  color: rgba(243, 234, 217, 0.78);
  background: rgba(5, 5, 4, 0.52);
  border: 1px solid rgba(243, 234, 217, 0.12);
  backdrop-filter: blur(6px);

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.project-carousel-image.is-contain {
  object-fit: contain;
  background: var(--black);
}

@media (max-width: 760px) {
  .project-carousel-caption {
    right: 14px;
    bottom: 14px;
    max-width: 72%;
    padding: 7px 10px;
    font-size: 9px;
    line-height: 1.45;
  }
}

.project-end-nav {
  width: min(920px, calc(100vw - 48px));
  margin: 96px auto 80px;
  padding-top: 34px;
  border-top: 1px solid rgba(243, 234, 217, 0.14);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.project-end-nav a {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s ease;
}

.project-end-nav a:hover {
  color: var(--orange);
}

.project-back-link {
  justify-self: start;
}

.project-top-link {
  justify-self: center;
  text-align: center;
}

.project-next-link {
  justify-self: end;
  text-align: right;
}

@media (max-width: 760px) {
  .project-end-nav {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 72px auto 64px;
  }

  .project-back-link,
  .project-top-link,
  .project-next-link {
    justify-self: start;
    text-align: left;
  }
}

/*ending assiitve mobility here*/

/* ================================
   AURA MIST PROJECT PAGE
   matched to Assistive Mobility base
================================ */

.aura-mist-page {
  background: var(--black);
  color: var(--cream);
}

/* keep Aura page inside same visual system */
.aura-mist-page .project-detail-title {
  max-width: 760px;
}

.aura-mist-page .project-detail-summary {
  max-width: 720px;
}

/* opening question */
.aura-opening-line {
  margin: 0 0 52px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--cream);
}

/* method grid boxes */
.aura-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 46px;
}

.aura-method-grid div {
  padding: 24px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.035);
}

.aura-method-grid span {
  display: block;
  margin-bottom: 26px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.aura-method-grid h3,
.aura-theme-grid h3,
.aura-scenario-card h3 {
  margin: 0 0 14px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.aura-method-grid p,
.aura-theme-grid p,
.aura-scenario-card p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(243, 234, 217, 0.76);
}


/* theme boxes */
.aura-theme-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 34px 0 42px;
}

.aura-theme-grid div {
  padding: 4px 0 4px 22px;
  border-left: 1px solid var(--orange);
}

.aura-theme-grid span {
  display: block;
  margin-bottom: 14px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

/* scenario cards */
.aura-scenario-stack {
  display: grid;
  gap: 22px;
  margin: 38px 0 44px;
}

.aura-scenario-card {
  padding: 30px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.035);
}

.aura-scenario-card > span {
  display: block;
  margin-bottom: 18px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.aura-scenario-note {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 234, 217, 0.14);

  color: var(--cream) !important;
}

/* carousel captions same as Assistive Mobility */
.aura-mist-page .project-carousel-caption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 5;

  max-width: 380px;
  margin: 0;
  padding: 9px 13px;

  color: rgba(243, 234, 217, 0.78);
  background: rgba(5, 5, 4, 0.52);
  border: 1px solid rgba(243, 234, 217, 0.12);
  backdrop-filter: blur(6px);

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.aura-mist-page .project-carousel-image.is-contain {
  object-fit: contain;
  background: var(--black);
}

/* mobile */
@media (max-width: 760px) {
  .aura-opening-line {
    margin-bottom: 38px;
    font-size: clamp(32px, 10vw, 48px);
  }

  .aura-method-grid,
  .aura-theme-grid {
    grid-template-columns: 1fr;
  }

  .aura-method-grid div,
  .aura-scenario-card {
    padding: 22px;
  }



  .aura-method-grid h3,
  .aura-theme-grid h3,
  .aura-scenario-card h3 {
    font-size: 21px;
  }

  .aura-method-grid p,
  .aura-theme-grid p,
  .aura-scenario-card p {
    font-size: 16px;
    line-height: 1.58;
  }

  .aura-mist-page .project-carousel-caption {
    right: 14px;
    bottom: 14px;
    max-width: 72%;
    padding: 7px 10px;
    font-size: 9px;
    line-height: 1.45;
  }
}

/* =========================================
   AURA MIST / ONE CARD DRAW FINAL
   3 cards top row, 2 centered bottom row
========================================= */

.aura-mist-page {
  --aura-card-width: 200px;
  --aura-card-height: 290px;
  --aura-card-circle: 125px;
  --aura-card-gap: 26px;
}

/* overall placement */
.aura-mist-page .aura-card-draw-grid {
  width: 100%;
  max-width: calc((var(--aura-card-width) * 3) + (var(--aura-card-gap) * 2));
  margin: 28px auto 54px;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--aura-card-gap);
  justify-content: center;
}

/* top row */
.aura-mist-page .aura-draw-card:nth-child(1) {
  grid-column: 1 / span 2;
}

.aura-mist-page .aura-draw-card:nth-child(2) {
  grid-column: 3 / span 2;
}

.aura-mist-page .aura-draw-card:nth-child(3) {
  grid-column: 5 / span 2;
}

/* bottom row centered */
.aura-mist-page .aura-draw-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.aura-mist-page .aura-draw-card:nth-child(5) {
  grid-column: 4 / span 2;
}

/* card */
.aura-mist-page .aura-draw-card {
  width: 100%;
  height: var(--aura-card-height);

  border-radius: 18px;
  padding: 22px 24px 24px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
  align-items: center;

  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

/* card title */
.aura-mist-page .aura-draw-label {
  width: 100%;
  margin: 0 0 22px;

  text-align: center;
  font-family:  "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* top text + circle + bottom text group */
.aura-mist-page .aura-draw-phrase {
  width: 100%;
  margin: 0 0 22px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* text outside circle */
.aura-mist-page .aura-draw-top,
.aura-mist-page .aura-draw-bottom {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

/* space between top, circle, bottom */
.aura-mist-page .aura-draw-top {
  margin-bottom: 8px;
}

.aura-mist-page .aura-draw-bottom {
  margin-top: 8px;
}

/* fixed circle */
.aura-mist-page .aura-draw-circle {
  width: var(--aura-card-circle);
  height: var(--aura-card-circle);
  min-width: var(--aura-card-circle);
  min-height: var(--aura-card-circle);
  flex: 0 0 var(--aura-card-circle);

  border-radius: 50%;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 14px;
  text-align: center;
}

/* only middle word inside circle */
.aura-mist-page .aura-draw-main {
  margin: 0;

  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
}

/* bottom note */
.aura-mist-page .aura-draw-note {
  margin: 0 auto;
  max-width: 210px;

  text-align: center;
  font-family: "Newsreader", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
}

/* COLORS */

.aura-mist-page .future-card {
  background: #f4511e !important;
  color: #fff7ef;
}

.aura-mist-page .future-card .aura-draw-circle {
  background: rgba(255, 190, 145, 0.34);
}

.aura-mist-page .emotion-card {
  background: #f4b51f !important;
  color: #392500;
}

.aura-mist-page .emotion-card .aura-draw-circle {
  background: rgba(255, 235, 170, 0.42);
}

.aura-mist-page .trigger-card {
  background: #2f9bd3 !important;
  color: #fff7ef;
}

.aura-mist-page .trigger-card .aura-draw-circle {
  background: rgba(0, 121, 185, 0.28);
}

.aura-mist-page .ritual-card {
  background: #53aa5d !important;
  color: #fff7ef;
}

.aura-mist-page .ritual-card .aura-draw-circle {
  background: rgba(38, 130, 50, 0.28);
}

.aura-mist-page .modality-card {
  background: #7b5bcc !important;
  color: #fff7ef;
}

.aura-mist-page .modality-card .aura-draw-circle {
  background: rgba(92, 62, 174, 0.32);
}

/* yellow card darker text */
.aura-mist-page .emotion-card .aura-draw-label,
.aura-mist-page .emotion-card .aura-draw-top,
.aura-mist-page .emotion-card .aura-draw-bottom,
.aura-mist-page .emotion-card .aura-draw-main,
.aura-mist-page .emotion-card .aura-draw-note {
  color: #392500;
}

/* responsive */
@media (max-width: 980px) {
  .aura-mist-page .aura-card-draw-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: calc((var(--aura-card-width) * 2) + var(--aura-card-gap));
  }

  .aura-mist-page .aura-draw-card:nth-child(1),
  .aura-mist-page .aura-draw-card:nth-child(2),
  .aura-mist-page .aura-draw-card:nth-child(3),
  .aura-mist-page .aura-draw-card:nth-child(4),
  .aura-mist-page .aura-draw-card:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .aura-mist-page {
    --aura-card-width: 100%;
    --aura-card-height: 340px;
    --aura-card-circle: 130px;
  }

  .aura-mist-page .aura-card-draw-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .aura-mist-page .aura-draw-card:nth-child(1),
  .aura-mist-page .aura-draw-card:nth-child(2),
  .aura-mist-page .aura-draw-card:nth-child(3),
  .aura-mist-page .aura-draw-card:nth-child(4),
  .aura-mist-page .aura-draw-card:nth-child(5) {
    grid-column: 1;
  }

  .aura-mist-page .aura-draw-label {
    font-size: 20px;
  }

  .aura-mist-page .aura-draw-main {
    font-size: 21px;
  }
}

.aura-card-method-caption {
  max-width: 680px;
  margin: -34px auto 52px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.45;

  text-align: center;
  color: rgba(243, 234, 217, 0.52);
}

.project-bullets {
  list-style: disc;
  padding-left: 1.4rem;
  margin: 32px 0 56px;
}

.project-bullets li {
  display: list-item;
  list-style-position: outside;
  margin-bottom: 28px;
  padding-left: 0.2rem;
}

/* =========================================
   RETRO WALK PROJECT PAGE
   research-driven wearable HCI layout
========================================= */

.retro-walk-page {
  background: var(--black);
  color: var(--cream);
}

.retro-walk-page .project-detail-title {
  max-width: 760px;
}

.retro-walk-page .project-detail-summary {
  max-width: 720px;
}

.retro-opening-line {
  margin: 0 0 52px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 5.5vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--cream);
}

/* arrow-like system flow */
.retro-arrow-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 46px;
}

.retro-arrow-step {
  position: relative;
  min-height: 122px;
  padding: 22px 18px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.035);
}

.retro-arrow-step::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}

.retro-arrow-step:last-child::after {
  display: none;
}

.retro-arrow-step span,
.retro-stage-grid span,
.retro-mini-grid span {
  display: block;
  margin-bottom: 22px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.retro-arrow-step p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--cream);
}

/* built / proposed / future cards */
.retro-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 46px;
}

.retro-stage-grid div {
  padding: 24px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.035);
}

.retro-stage-grid h3 {
  margin: 0 0 14px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.retro-stage-grid p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(243, 234, 217, 0.76);
}

/* compact app logic grid */
.retro-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 48px;
}

.retro-mini-grid div {
  min-height: 110px;
  padding: 18px 16px;
  border-left: 1px solid var(--orange);
  background: rgba(243, 234, 217, 0.025);
}

.retro-mini-grid span {
  margin-bottom: 18px;
}

.retro-mini-grid p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.18;
  color: var(--cream);
}

/* mobile */
@media (max-width: 900px) {
  .retro-arrow-flow,
  .retro-mini-grid {
    grid-template-columns: 1fr;
  }

  .retro-arrow-step::after {
    content: "↓";
    top: auto;
    right: auto;
    left: 18px;
    bottom: -22px;
    transform: none;
  }

  .retro-stage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .project-detail-body .retro-opening-line {
    margin-bottom: 38px;
    font-size: clamp(36px, 11vw, 54px);
    line-height: 0.98;
  }

  .retro-arrow-step {
    min-height: auto;
  }

  .retro-arrow-step p {
    font-size: 20px;
  }

  .retro-stage-grid div {
    padding: 22px;
  }

  .retro-stage-grid h3 {
    font-size: 21px;
  }

  .retro-stage-grid p,
  .retro-mini-grid p {
    font-size: 16px;
    line-height: 1.55;
  }
}

.project-detail-body .retro-opening-line {
  margin: 0 0 58px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(28px, 3vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  color: var(--cream);
}

.publication-row[hidden] {
  display: none !important;
}

/* =========================================
   HFD IITB / KOCHI WATER METRO PROJECT PAGE
   graduate research internship layout
========================================= */

.hfd-iitb-page {
  background: var(--black);
  color: var(--cream);
}

.hfd-iitb-page .project-detail-title {
  max-width: 760px;
}

.hfd-iitb-page .project-detail-summary {
  max-width: 720px;
}

.project-detail-body .hfd-opening-line {
  margin: 0 0 58px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(34px, 4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--cream);
}

/* Field + method grid */
.hfd-field-grid,
.hfd-framework-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 38px 0 46px;
}

.hfd-field-grid div,
.hfd-framework-grid article {
  padding: 24px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.035);
}

.hfd-field-grid span,
.hfd-framework-grid span,
.hfd-allocation-flow span,
.hfd-dashboard-grid span,
.hfd-evaluation-stack span {
  display: block;
  margin-bottom: 22px;

  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
}

.hfd-field-grid h3,
.hfd-framework-grid h3 {
  margin: 0 0 14px;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--cream);
}

.hfd-field-grid p,
.hfd-framework-grid p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(243, 234, 217, 0.76);
}

/* Physical / digital / mirrored allocation */
.hfd-allocation-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 38px 0 48px;
}

.hfd-allocation-flow div {
  position: relative;
  min-height: 138px;
  padding: 24px 20px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.028);
}

.hfd-allocation-flow div::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 2;
  transform: translateY(-50%);
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
}

.hfd-allocation-flow div:last-child::after {
  display: none;
}

.hfd-allocation-flow p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.22;
  color: var(--cream);
}

/* Dimensions table */
.hfd-dimension-table {
  width: 100%;
  margin: 42px 0 54px;
  border-collapse: collapse;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.025);
}

.hfd-dimension-table th,
.hfd-dimension-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(243, 234, 217, 0.12);
  text-align: left;
}

.hfd-dimension-table th {
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hfd-dimension-table td {
  color: rgba(243, 234, 217, 0.82);
  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.45;
}

.hfd-dimension-table tr:last-child td {
  border-bottom: none;
}

/* Dashboard small cards */
.hfd-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 48px;
}

.hfd-dashboard-grid div {
  min-height: 128px;
  padding: 18px 16px;
  border-left: 1px solid var(--orange);
  background: rgba(243, 234, 217, 0.025);
}

.hfd-dashboard-grid span {
  margin-bottom: 18px;
}

.hfd-dashboard-grid p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.25;
  color: var(--cream);
}

/* Evaluation stack */
.hfd-evaluation-stack {
  display: grid;
  gap: 18px;
  margin: 38px 0 48px;
}

.hfd-evaluation-stack div {
  padding: 24px 26px;
  border: 1px solid rgba(243, 234, 217, 0.14);
  background: rgba(243, 234, 217, 0.035);
}

.hfd-evaluation-stack span {
  margin-bottom: 14px;
}

.hfd-evaluation-stack p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.58;
  color: rgba(243, 234, 217, 0.78);
}

/* Mobile */
@media (max-width: 900px) {
  .hfd-field-grid,
  .hfd-framework-grid,
  .hfd-allocation-flow,
  .hfd-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hfd-allocation-flow div::after {
    content: "↓";
    top: auto;
    right: auto;
    left: 18px;
    bottom: -22px;
    transform: none;
  }
}

@media (max-width: 760px) {
  .project-detail-body .hfd-opening-line {
    margin-bottom: 38px;
    font-size: clamp(34px, 10vw, 52px);
    line-height: 0.98;
  }

  .hfd-field-grid div,
  .hfd-framework-grid article,
  .hfd-evaluation-stack div {
    padding: 22px;
  }

  .hfd-field-grid h3,
  .hfd-framework-grid h3 {
    font-size: 21px;
  }

  .hfd-field-grid p,
  .hfd-framework-grid p,
  .hfd-evaluation-stack p,
  .hfd-dashboard-grid p,
  .hfd-allocation-flow p,
  .hfd-dimension-table td {
    font-size: 16px;
    line-height: 1.55;
  }

  .hfd-dimension-table {
    display: block;
    overflow-x: auto;
  }

  .hfd-dimension-table th,
  .hfd-dimension-table td {
    min-width: 150px;
  }
}

.hfd-method-note {
  margin: -16px 0 54px;
  padding-left: 22px;
  border-left: 1px solid var(--orange);

  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(243, 234, 217, 0.72);
}

.hfd-method-note a {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 78, 23, 0.8);
}

.hfd-method-note a:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.project-video-caption {
  margin: 22px auto 0;
  max-width: 680px;
  text-align: center;

  font-family: "Newsreader", Georgia, serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 2.05;
  color: rgba(243, 234, 217, 0.72);
}

.project-video-link {
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 78, 23, 0.8);
}

.project-video-link:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.project-context-note {
  margin: 46px auto 72px;
  max-width: 720px;
  padding: 24px 28px;

  border: 1px solid rgba(243, 234, 217, 0.14);
  border-left: 1px solid var(--orange);
  background: rgba(243, 234, 217, 0.035);
}

.project-context-note p {
  margin: 0;

  font-family: "Newsreader", Georgia, serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(243, 234, 217, 0.76);
}

.project-context-note p + p {
  margin-top: 12px;
}

.project-context-note strong {
  color: var(--cream);
  font-weight: 400;
}