/* ==========================================================
   INTEREST DETAIL — THE CITY / BLACK + RED
   ----------------------------------------------------------
   Project Moon 세계관의 도시를 직접 복제하기보다,
   강한 흑색 면 / 적색 구조선 / 비대칭 타이포 / 도시 압박감을
   페이지의 시각 언어로 재해석한 interest-detail 전용 테마.
========================================================== */

:root {
  --pm-black: #060606;
  --pm-black-2: #0d0d0d;
  --pm-black-3: #151313;
  --pm-red: #b20812;
  --pm-red-bright: #df1624;
  --pm-red-dark: #57060b;
  --pm-ivory: #e7e2d8;
  --pm-white: #f4f0e9;
  --pm-gray: #8a8580;
  --pm-line: #282323;
  --pm-line-red: rgba(178, 8, 18, 0.62);
  --pm-gold: #B89A55;

  --pm-font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --pm-font-body: "Noto Sans KR", var(--font-sans);

  --color-background: var(--pm-black);
  --color-surface: var(--pm-black-2);
  --color-text: var(--pm-ivory);
  --color-text-muted: var(--pm-gray);
  --color-line: var(--pm-line);
  --color-accent: var(--pm-red-bright);

  --content-width: 1120px;

  --pm-noise: url("../assets/pm-noise.png");
}

html {
  background: var(--pm-black);
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(178, 8, 18, 0.05) 7% 7.15%, transparent 7.15% 100%),
    var(--pm-black);
  color: var(--pm-ivory);
  font-family: var(--pm-font-body);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.11;
  background-image: var(--pm-noise);
}

@media (max-width: 720px) {
  body::before {
    display: none;
  }
}

::selection {
  background: var(--pm-red-bright);
  color: var(--pm-white);
}

:focus-visible {
  outline: 2px solid var(--pm-red-bright);
  outline-offset: 4px;
}

.pm-site {
  position: relative;
  isolation: isolate;
  background: var(--pm-black);
}

/* ==========================================================
   HEADER
========================================================== */

.pm-header {
  height: 66px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: rgba(6, 6, 6, 0.96);
  border-bottom: 1px solid var(--pm-red);
}

.pm-header::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: min(28vw, 330px);
  height: 3px;
  background: var(--pm-red-bright);
}

.site-logo {
  position: relative;
  padding-left: 18px;
  color: var(--pm-white);
  font-family: var(--pm-font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1;
}

.site-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 24px;
  background: var(--pm-red);
  transform: translateY(-50%) skewY(-18deg);
}

.site-nav {
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 23px 0 20px;
  color: #aaa49d;
  font-family: var(--pm-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  transition: color 160ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 13px;
  height: 2px;
  background: var(--pm-red-bright);
  transition: right 160ms ease;
}

.site-nav a:hover {
  color: var(--pm-white);
  opacity: 1;
}

.site-nav a:hover::after {
  right: 0;
}

/* ==========================================================
   SHARED
========================================================== */

.interest-detail {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--pm-black);
}

.interest-inner {
  width: min(100% - 64px, var(--content-width));
  margin: 0 auto;
}

.interest-section {
  position: relative;
  padding: 104px 0;
}

.interest-section + .interest-section {
  border-top: 1px solid var(--pm-line-red);
}

.interest-section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 11vw;
  min-width: 90px;
  height: 3px;
  background: var(--pm-red-bright);
}

/* ==========================================================
   HERO
========================================================== */

.interest-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 66px));
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 27%, rgba(223, 22, 36, 0.12), transparent 23%),
    linear-gradient(115deg, transparent 0 59%, rgba(178, 8, 18, 0.09) 59% 60%, transparent 60%),
    #070707;
  border-bottom: 1px solid var(--pm-red);
}

.interest-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -90px;
  right: -9vw;
  width: min(47vw, 700px);
  height: 92%;
  background: var(--pm-red);
  clip-path: polygon(35% 0, 100% 0, 100% 82%, 68% 100%, 0 100%, 17% 67%);
  opacity: 0.88;
}

.interest-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background:
    linear-gradient(110deg, transparent 0 12%, #0a0a0a 12% 21%, transparent 21% 27%, #0b0b0b 27% 38%, transparent 38% 44%, #0c0c0c 44% 54%, transparent 54% 60%, #0a0a0a 60% 77%, transparent 77%),
    linear-gradient(to top, #030303 0 42%, transparent 42%);
  opacity: 0.95;
}

.pm-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 70%, rgba(0,0,0,.26) 70% 70.5%, transparent 70.5%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(255,255,255,.035) 120px),
    repeating-linear-gradient(0deg, transparent 0 119px, rgba(255,255,255,.025) 120px);
  opacity: 0.42;
}

.pm-city-silhouette {
  position: absolute;
  z-index: 1;
  right: 1.5vw;
  bottom: 82px;
  width: min(44vw, 620px);
  height: 300px;
  pointer-events: none;
  opacity: 0.4;
}

.pm-city-silhouette span {
  position: absolute;
  bottom: 0;
  display: block;
  background: #080808;
  border-top: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}

.pm-city-silhouette span::before {
  content: "";
  position: absolute;
  inset: 16px 9px auto;
  height: calc(100% - 32px);
  opacity: 0.35;
  background: repeating-linear-gradient(0deg, transparent 0 13px, rgba(223,22,36,.85) 14px 16px, transparent 17px 27px);
}

.pm-city-silhouette span:nth-child(1) { left: 0; width: 18%; height: 46%; }
.pm-city-silhouette span:nth-child(2) { left: 15%; width: 22%; height: 72%; }
.pm-city-silhouette span:nth-child(3) { left: 34%; width: 20%; height: 56%; }
.pm-city-silhouette span:nth-child(4) { left: 51%; width: 28%; height: 88%; }
.pm-city-silhouette span:nth-child(5) { left: 76%; width: 22%; height: 64%; }

.interest-hero-inner {
  position: relative;
  z-index: 3;
  min-height: min(760px, calc(100svh - 66px));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 34px;
  padding-top: 54px;
  padding-bottom: 82px;
}

.hero-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 6px;
  border-left: 1px solid var(--pm-red-bright);
  border-right: 1px solid rgba(223,22,36,.35);
  color: var(--pm-gray);
  font-family: var(--pm-font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.hero-rail::before {
  content: "";
  width: 100%;
  height: 44px;
  background: var(--pm-red-bright);
}

.hero-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-topline {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 40px;
}

.interest-back-link,
.interest-eyebrow {
  font-family: var(--pm-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.interest-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--pm-white);
  transition: color 160ms ease, transform 160ms ease;
}

.interest-back-link:hover {
  color: var(--pm-red-bright);
  transform: translateX(-3px);
}

.interest-eyebrow {
  position: relative;
  padding-left: 22px;
  color: #aaa49d;
}

.interest-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 13px;
  height: 2px;
  background: var(--pm-red-bright);
  transform: translateY(-50%);
}

.hero-title-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 48px 0 44px;
}

.hero-kicker {
  margin-bottom: 10px;
  color: var(--pm-red-bright);
  font-family: var(--pm-font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.interest-title {
  position: relative;
  z-index: 2;
  max-width: 850px;
  color: var(--pm-white);
  font-family: var(--pm-font-display);
  font-size: clamp(5.3rem, 13.2vw, 11rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 8px 8px 0 rgba(0,0,0,.28);
}

.interest-title::first-line {
  color: var(--pm-white);
}

.hero-index {
  position: absolute;
  right: 1vw;
  top: 15%;
  z-index: 0;
  color: rgba(255,255,255,.14);
  font-family: var(--pm-font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  transform: rotate(-90deg) translateY(-25%);
  transform-origin: right top;
  white-space: nowrap;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 620px) auto;
  align-items: end;
  gap: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--pm-gold);
}

.interest-summary {
  color: #cbc5bc;
  font-size: 0.96rem;
  line-height: 1.85;
  word-break: keep-all;
}

.hero-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: #8d8781;
  font-family: var(--pm-font-display);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.hero-meta span:first-child {
  color: var(--pm-red-bright);
}

/* ==========================================================
   SECTION HEADERS
========================================================== */

.interest-section-header {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  margin-bottom: 46px;
}

.interest-section-number {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0;
  background: var(--pm-red);
  color: var(--pm-white);
  font-family: var(--pm-font-display);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 74% 100%, 0 100%);
}

.section-overline {
  margin-bottom: 2px;
  color: var(--pm-red-bright);
  font-family: var(--pm-font-display);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.interest-section-title {
  color: var(--pm-white);
  font-family: var(--pm-font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

/* ==========================================================
   TASTE SHEET
========================================================== */

.taste-section {
  background:
    linear-gradient(135deg, transparent 0 78%, rgba(178,8,18,.06) 78% 100%),
    #090909;
}

.taste-sheet {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--pm-gold);
  background: var(--pm-gold);
}

.taste-sheet::before {
  content: "DATA / TASTE / 006";
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  padding: 7px 11px 6px;
  background: var(--pm-red);
  color: var(--pm-white);
  font-family: var(--pm-font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.taste-row {
  position: relative;
  min-height: 124px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
  background: var(--pm-black-2);
  overflow: hidden;
  transition: background 150ms ease;
}

.taste-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--pm-red-bright);
  transition: width 180ms ease;
}

.taste-row:hover {
  background: #121010;
}

.taste-row:hover::after {
  width: 100%;
}

.taste-label {
  display: flex;
  align-items: flex-end;
  padding: 18px 14px;
  background: #0a0909;
  border-right: 1px solid var(--pm-gold);
  color: var(--pm-gray);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.taste-value {
  display: flex;
  align-items: center;
  padding: 24px 22px;
  color: var(--pm-white);
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  font-weight: 600;
  line-height: 1.55;
  word-break: keep-all;
}

/* ==========================================================
   WORKS
========================================================== */

.works-section {
  background: #050505;
}

.interest-title-list {
  counter-reset: work;
  border-top: 1px solid var(--pm-red-dark);
}

.interest-title-list li {
  counter-increment: work;
  position: relative;
  isolation: isolate;
  min-height: 128px;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 22px;
  padding: 14px 8px 14px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--pm-gold);
  color: var(--pm-white);
  font-family: var(--pm-font-display);
  font-size: clamp(2rem, 5.6vw, 4.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  transition: color 180ms ease, padding-left 180ms ease;
}

.interest-title-list li::before {
  content: counter(work, decimal-leading-zero);
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: grid;
  place-items: center;
  background: var(--pm-red);
  color: var(--pm-white);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
}

.interest-title-list li::after {
  content: "↗";
  position: relative;
  z-index: 2;
  justify-self: end;
  color: var(--pm-red-bright);
  font-size: 1.5rem;
  font-weight: 500;
  transition: transform 180ms ease, color 180ms ease;
}

.interest-title-list li:hover {
  padding-left: 10px;
  color: var(--pm-red-bright);
}

.interest-title-list li:hover::after {
  color: var(--pm-white);
  transform: translate(3px, -3px);
}

.interest-title-list li > * {
  position: relative;
  z-index: 2;
}

/* red sweep behind each row */
.interest-title-list li {
  background:
    linear-gradient(100deg, rgba(178,8,18,.14), transparent 36%),
    var(--pm-black);
}

/* ==========================================================
   COMMENT
========================================================== */

.comment-section {
  background:
    linear-gradient(90deg, var(--pm-red) 0 12px, transparent 12px),
    #0a0909;
}

.interest-comment {
  position: relative;
  min-height: 250px;
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  border: 1px solid var(--pm-line);
  background: var(--pm-black-2);
  overflow: hidden;
}

.interest-comment::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border: 52px solid rgba(178,8,18,.14);
  border-radius: 50%;
}

.comment-mark {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 22px 12px;
  background: var(--pm-red);
  color: var(--pm-white);
  font-family: var(--pm-font-display);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.interest-comment p {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 760px;
  padding: 48px 56px;
  color: #d6d0c7;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 2;
  word-break: keep-all;
}

/* ==========================================================
   FOOTER
========================================================== */

.site-footer {
  position: relative;
  padding-top: 18px;
  padding-bottom: 18px;
  background: #050505;
  border-top: 1px solid var(--pm-red);
  color: #77716c;
  font-family: var(--pm-font-display);
  letter-spacing: 0.08em;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: 18vw;
  height: 3px;
  background: var(--pm-red-bright);
}

.footer-label,
.site-footer a:hover {
  color: var(--pm-red-bright);
}

.site-footer a {
  transition: color 150ms ease;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 900px) {
  .interest-hero::before {
    right: -18vw;
    width: 64vw;
    opacity: 0.74;
  }

  .interest-title {
    font-size: clamp(4.6rem, 14vw, 8.3rem);
  }

  .hero-index {
    display: none;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-meta {
    justify-items: start;
    grid-auto-flow: column;
    justify-content: start;
    gap: 14px;
  }

  .taste-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .pm-header {
    height: 54px;
    padding: 0 18px;
    align-items: center;
  }

  .site-logo {
    font-size: 0.84rem;
  }

  .site-nav {
    gap: 14px;
    flex-wrap: nowrap;
  }

  .site-nav a {
    padding: 18px 0 15px;
    font-size: 0.68rem;
    letter-spacing: 0.11em;
  }

  .interest-inner {
    width: min(100% - 36px, var(--content-width));
  }

  .interest-hero {
    min-height: min(500px, calc(100svh - 54px));
  }

  .interest-hero-inner {
    min-height: min(500px, calc(100svh - 54px));
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 16px;
    padding-top: 22px;
    padding-bottom: 34px;
  }

  .hero-rail {
    font-size: 0.52rem;
    letter-spacing: 0.13em;
  }

  .hero-rail::before {
    height: 32px;
  }

  .hero-topline {
    gap: 12px;
  }

  .interest-back-link,
  .interest-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero-title-wrap {
    padding: 20px 0 18px;
  }

  .hero-kicker {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
  }

  .interest-title {
    max-width: 92%;
    font-size: clamp(4rem, 18vw, 6.5rem);
    line-height: 0.76;
  }

  .pm-city-silhouette {
    right: -10%;
    bottom: 46px;
    width: 74vw;
    height: 158px;
    opacity: 0.25;
  }

  .interest-hero::before {
    top: 0;
    right: -30vw;
    width: 78vw;
    height: 100%;
  }

  .hero-meta {
    grid-auto-flow: row;
    gap: 1px;
  }

  .interest-section {
    padding: 72px 0;
  }

  .interest-section-header {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 32px;
  }

  .interest-section-number {
    width: 58px;
    height: 58px;
    font-size: 1.75rem;
  }

  .interest-section-title {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .taste-sheet {
    grid-template-columns: 1fr;
  }

  .taste-row {
    min-height: 104px;
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .taste-value {
    padding: 20px 18px;
  }

  .interest-title-list li {
    min-height: 94px;
    grid-template-columns: 58px minmax(0, 1fr) 30px;
    gap: 14px;
    font-size: clamp(1.7rem, 9vw, 2.7rem);
  }

  .interest-title-list li::before {
    font-size: 0.82rem;
  }

  .interest-title-list li::after {
    font-size: 1.1rem;
  }

  .comment-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .interest-comment {
    min-height: 0;
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .comment-mark {
    padding: 12px 7px;
    font-size: 0.58rem;
  }

  .interest-comment p {
    padding: 22px 22px;
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .site-footer {
    font-size: 0.64rem;
  }
}

@media (max-width: 430px) {
  .pm-header {
    padding: 0 14px;
  }

  .site-logo {
    padding-left: 13px;
    font-size: 0.76rem;
    letter-spacing: 0.13em;
  }

  .site-logo::before {
    width: 6px;
    height: 20px;
  }

  .site-nav {
    gap: 9px;
  }

  .site-nav a {
    font-size: 0.61rem;
    letter-spacing: 0.06em;
  }

  .interest-inner {
    width: calc(100% - 28px);
  }

  .interest-hero {
    min-height: min(450px, calc(100svh - 54px));
  }

  .interest-hero-inner {
    min-height: min(450px, calc(100svh - 54px));
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 26px;
  }

  .interest-eyebrow {
    display: none;
  }

  .hero-title-wrap {
    padding: 12px 0 10px;
  }

  .interest-title {
    max-width: 100%;
    font-size: clamp(3.15rem, 16.5vw, 4.45rem);
    line-height: 0.78;
  }

  .interest-summary {
    font-size: 0.84rem;
    line-height: 1.75;
  }

  .hero-meta {
    font-size: 0.56rem;
  }

  .taste-row {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .taste-label {
    padding: 15px 10px;
    font-size: 0.7rem;
  }

  .taste-value {
    font-size: 0.98rem;
  }

  .interest-title-list li {
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 10px;
    font-size: clamp(1.45rem, 8vw, 2.15rem);
  }

  .comment-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .interest-comment {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .interest-comment::before {
    right: -130px;
    bottom: -180px;
    width: 300px;
    height: 300px;
    border-width: 38px;
  }

  .interest-comment p {
    padding: 18px 16px;
    font-size: 0.89rem;
    line-height: 1.68;
  }
}

/* ==========================================================
   MOBILE DENSITY PASS — 430px and below
   Long-scroll compression for narrow phones while preserving
   the black/red Project Moon visual language.
========================================================== */

@media (max-width: 430px) {
  /* HERO — compact, still visually dominant */
  .interest-hero,
  .interest-hero-inner {
    min-height: 356px;
  }

  .interest-hero-inner {
    grid-template-columns: 11px minmax(0, 1fr);
    gap: 10px;
    padding-top: 13px;
    padding-bottom: 18px;
  }

  .hero-rail {
    font-size: 0.46rem;
    letter-spacing: 0.09em;
  }

  .hero-rail::before {
    height: 24px;
  }

  .hero-topline {
    min-height: 30px;
  }

  .interest-back-link {
    min-height: 30px;
    font-size: 0.58rem;
  }

  .hero-title-wrap {
    flex: 0 0 auto;
    padding: 11px 0 12px;
  }

  .hero-kicker {
    margin-bottom: 7px;
    font-size: 0.63rem;
    letter-spacing: 0.17em;
  }

  .interest-title {
    max-width: 100%;
    font-size: clamp(2.85rem, 15.6vw, 3.8rem);
    line-height: 0.78;
    text-shadow: 5px 5px 0 rgba(0,0,0,.26);
  }

  .hero-bottom {
    gap: 0;
    padding-top: 11px;
  }

  .interest-summary {
    max-width: 245px;
    font-size: 0.76rem;
    line-height: 1.58;
  }

  .hero-meta {
    display: none;
  }

  .pm-city-silhouette {
    right: -14%;
    bottom: 28px;
    width: 76vw;
    height: 104px;
    opacity: 0.2;
  }

  .interest-hero::after {
    height: 74px;
  }

  /* GLOBAL SECTIONS — reduce dead air */
  .interest-section {
    padding: 48px 0;
  }

  .interest-section-header {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 22px;
  }

  .interest-section-number {
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
  }

  .section-overline {
    margin-bottom: 1px;
    font-size: 0.59rem;
    letter-spacing: 0.18em;
  }

  .interest-section-title {
    font-size: clamp(2rem, 10vw, 2.65rem);
    line-height: 0.86;
  }

  /* TASTE — phone rows become compact information strips */
  .taste-sheet::before {
    padding: 5px 8px 4px;
    font-size: 0.5rem;
    letter-spacing: 0.11em;
  }

  .taste-row {
    min-height: 70px;
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .taste-label {
    align-items: center;
    padding: 9px 8px;
    font-size: 0.62rem;
    line-height: 1.3;
  }

  .taste-value {
    padding: 12px 13px;
    font-size: 0.86rem;
    line-height: 1.42;
  }

  /* WORKS — dense index rather than desktop-sized cards */
  .interest-title-list li {
    min-height: 68px;
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 9px;
    padding: 8px 4px 8px 0;
    font-size: clamp(1.24rem, 6.6vw, 1.72rem);
    line-height: 0.92;
  }

  .interest-title-list li::before {
    font-size: 0.68rem;
  }

  .interest-title-list li::after {
    font-size: 0.88rem;
  }

  /* COMMENT — note strip, not a large feature card */
  .comment-section {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .comment-section .interest-section-header {
    margin-bottom: 16px;
  }

  .interest-comment {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .comment-mark {
    padding: 8px 5px;
    font-size: 0.49rem;
    letter-spacing: 0.14em;
  }

  .interest-comment p {
    padding: 13px 13px;
    font-size: 0.8rem;
    line-height: 1.52;
  }

  .interest-comment::before {
    right: -110px;
    bottom: -150px;
    width: 230px;
    height: 230px;
    border-width: 28px;
  }

  /* FOOTER — keep readable without adding height */
  .site-footer {
    padding-top: 13px;
    padding-bottom: 13px;
    font-size: 0.57rem;
  }
}

@media (max-width: 340px) {
  .pm-header {
    padding-inline: 11px;
  }

  .site-logo {
    font-size: 0.69rem;
  }

  .site-nav {
    gap: 7px;
  }

  .site-nav a {
    font-size: 0.56rem;
  }

  .interest-inner {
    width: calc(100% - 22px);
  }

  .interest-title {
    font-size: clamp(2.62rem, 15vw, 3.25rem);
  }

  .taste-row {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .taste-value {
    padding-inline: 11px;
    font-size: 0.82rem;
  }
}

/* ==========================================================
   MOBILE HERO + COMMENT TIGHTENING — 430px and below
   Screenshot-based refinement: keep TASTE / TITLES intact,
   compress only the oversized hero and final note block.
========================================================== */
@media (max-width: 430px) {
  /* HERO — shorter and denser */
  .interest-hero,
  .interest-hero-inner {
    min-height: 308px;
  }

  .interest-hero-inner {
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .hero-topline {
    min-height: 26px;
  }

  .interest-back-link {
    min-height: 26px;
    font-size: 0.55rem;
  }

  .hero-title-wrap {
    padding: 6px 0 7px;
  }

  .hero-kicker {
    margin-bottom: 5px;
    font-size: 0.58rem;
    letter-spacing: 0.15em;
  }

  .interest-title {
    font-size: clamp(2.45rem, 13.3vw, 3.3rem);
    line-height: 0.8;
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.24);
  }

  .hero-bottom {
    padding-top: 7px;
  }

  .interest-summary {
    max-width: 238px;
    font-size: 0.71rem;
    line-height: 1.48;
  }

  .pm-city-silhouette {
    right: -12%;
    bottom: 18px;
    width: 72vw;
    height: 72px;
    opacity: 0.17;
  }

  .interest-hero::after {
    height: 48px;
  }

  /* COMMENT — compact record strip */
  .comment-section {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .comment-section .interest-section-header {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    margin-bottom: 10px;
  }

  .comment-section .interest-section-number {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }

  .comment-section .section-overline {
    font-size: 0.54rem;
  }

  .comment-section .interest-section-title {
    font-size: clamp(1.72rem, 8.6vw, 2.05rem);
    line-height: 0.88;
  }

  .interest-comment {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .comment-mark {
    padding: 6px 4px;
    font-size: 0.44rem;
    letter-spacing: 0.11em;
  }

  .interest-comment p {
    padding: 9px 11px;
    font-size: 0.75rem;
    line-height: 1.46;
  }

  .interest-comment::before {
    right: -78px;
    bottom: -98px;
    width: 160px;
    height: 160px;
    border-width: 20px;
    opacity: 0.42;
  }
}

@media (max-width: 340px) {
  .interest-hero,
  .interest-hero-inner {
    min-height: 292px;
  }

  .interest-title {
    font-size: clamp(2.28rem, 12.9vw, 2.8rem);
  }

  .interest-summary {
    max-width: 218px;
    font-size: 0.68rem;
  }
}

/* ==========================================================
   MOBILE NOTE + GOLD INTERACTION REFINEMENT
   - TASTE hover rule: red -> antique gold
   - TITLES arrow hover: white -> antique gold
   - Mobile COMMENT: vertical rail -> compact horizontal NOTE tab
========================================================== */

/* TASTE hover underline only */
.taste-row::after {
  background: var(--pm-gold);
}

/* TITLES arrow keeps red at rest, turns gold on hover/focus */
.interest-title-list li:hover::after,
.interest-title-list li:focus-within::after {
  color: var(--pm-gold);
}

@media (max-width: 720px) {
  .interest-comment {
    position: relative;
    display: block;
    min-height: 0;
    overflow: visible;
    margin-top: 14px;
  }

  .comment-mark {
    position: absolute;
    z-index: 4;
    top: -10px;
    left: 12px;
    width: auto;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    writing-mode: horizontal-tb;
    background: var(--pm-red);
    color: var(--pm-white);
    font-size: 0.52rem;
    line-height: 1;
    letter-spacing: 0.16em;
    clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
  }

  .interest-comment p {
    max-width: none;
    padding: 24px 16px 14px;
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .interest-comment::before {
    right: -72px;
    bottom: -94px;
    width: 180px;
    height: 180px;
    border-width: 22px;
    opacity: 0.34;
  }
}

@media (max-width: 430px) {
  .interest-comment {
    margin-top: 11px;
  }

  .comment-mark {
    top: -8px;
    left: 10px;
    height: 18px;
    padding-inline: 8px;
    font-size: 0.44rem;
    letter-spacing: 0.13em;
  }

  .interest-comment p {
    padding: 20px 12px 11px;
    font-size: 0.75rem;
    line-height: 1.48;
  }

  .interest-comment::before {
    right: -68px;
    bottom: -86px;
    width: 148px;
    height: 148px;
    border-width: 18px;
    opacity: 0.3;
  }
}


/* ==========================================================
   COMMENT NOTE — UNIFIED HORIZONTAL TAB + BREATHING ROOM
   Desktop / tablet / mobile share the same note language.
========================================================== */
.interest-comment {
  position: relative;
  display: block;
  min-height: 0;
  overflow: visible;
  margin-top: 16px;
}

.comment-mark {
  position: absolute;
  z-index: 4;
  top: -11px;
  left: 22px;
  width: auto;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  writing-mode: horizontal-tb;
  background: var(--pm-red);
  color: var(--pm-white);
  font-size: 0.56rem;
  line-height: 1;
  letter-spacing: 0.17em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.interest-comment p {
  max-width: none;
  padding: 30px 34px 26px 40px;
  font-size: clamp(0.94rem, 1.45vw, 1.08rem);
  line-height: 1.78;
}

@media (max-width: 720px) {
  .interest-comment {
    margin-top: 14px;
  }

  .comment-mark {
    top: -10px;
    left: 18px;
    height: 22px;
    padding-inline: 10px;
    font-size: 0.5rem;
  }

  .interest-comment p {
    padding: 26px 20px 18px 28px;
    font-size: 0.84rem;
    line-height: 1.58;
  }
}

@media (max-width: 430px) {
  .interest-comment {
    margin-top: 12px;
  }

  .comment-mark {
    top: -8px;
    left: 14px;
    height: 19px;
    padding-inline: 8px;
    font-size: 0.44rem;
    letter-spacing: 0.13em;
  }

  .interest-comment p {
    padding: 38px 16px 16px 28px;
    font-size: 0.76rem;
    line-height: 1.52;
  }
}

/* ==========================================================
   COMMENT NOTE — BORDER OVERLAP RESTORED
   Keep the NOTE tab straddling the top border while preserving
   a little more breathing room from the left edge.
========================================================== */
.comment-mark {
  top: -13px;
  left: 28px;
}

@media (max-width: 720px) {
  .comment-mark {
    top: -11px;
    left: 24px;
  }
}

@media (max-width: 430px) {
  .comment-mark {
    top: -10px;
    left: 22px;
  }
}

/* ==========================================================
   COMMENT NOTE — OUTER SPACING ONLY
   Add breathing room between the COMMENT heading and the whole
   note box, and between the section's left edge and the note box.
   Internal padding / NOTE tab overlap stay untouched.
========================================================== */
.interest-comment {
  margin-top: 40px;
  margin-left: 32px;
}

@media (max-width: 720px) {
  .interest-comment {
    margin-top: 32px;
    margin-left: 24px;
  }
}

@media (max-width: 430px) {
  .interest-comment {
    margin-top: 28px;
    margin-left: 18px;
  }
}

/* ==========================================================
   COMMENT NOTE — INTERNAL SPACING ROLLBACK
   Restore the original unified horizontal-note proportions.
   Keep only the intentional outer spacing from the final fix.
========================================================== */
.comment-mark {
  top: -11px;
  left: 22px;
  height: 24px;
  padding: 0 12px;
  font-size: 0.56rem;
  line-height: 1;
  letter-spacing: 0.17em;
}

.interest-comment p {
  max-width: none;
  padding: 44px 34px 26px 40px;
  font-size: clamp(0.94rem, 1.45vw, 1.08rem);
  line-height: 1.78;
}

@media (max-width: 720px) {
  .comment-mark {
    top: -10px;
    left: 18px;
    height: 22px;
    padding-inline: 10px;
    font-size: 0.5rem;
    letter-spacing: 0.17em;
  }

  .interest-comment p {
    padding: 36px 20px 18px 28px;
    font-size: 0.84rem;
    line-height: 1.58;
  }
}

@media (max-width: 430px) {
  .comment-mark {
    top: -8px;
    left: 14px;
    height: 19px;
    padding-inline: 8px;
    font-size: 0.44rem;
    letter-spacing: 0.13em;
  }

  .interest-comment p {
    padding: 22px 14px 14px 22px;
    font-size: 0.76rem;
    line-height: 1.52;
  }
}


/* ==========================================================
   FINAL GOLD ACCENTS — COMMENT BORDER + BACK LINK
========================================================== */
.interest-comment {
  border-color: var(--pm-gold);
}

.interest-back-link,
.interest-back-link:hover {
  color: var(--pm-gold);
}


/* ==========================================================
   FINAL COMMENT INTERNAL TOP GAP
   Keep outer spacing and left/right/bottom padding; only pull
   the body text closer to the note box top border.
========================================================== */
.interest-comment {
  margin-top: 40px;
  margin-left: 32px;
}
.interest-comment p {
  padding: 30px 34px 26px 40px;
}
@media (max-width: 720px) {
  .interest-comment { margin-top: 32px; margin-left: 24px; }
  .interest-comment p { padding: 26px 20px 18px 28px; }
}
@media (max-width: 430px) {
  .interest-comment { margin-top: 28px; margin-left: 18px; }
  .interest-comment p { padding: 22px 14px 14px 22px; }
}


/* ==========================================================
   DISTRIBUTED FANDOM PROFILE / 2026-10
   Preserve established PM city language; new sections only.
========================================================== */
.interest-section[id] { scroll-margin-top: 86px; }
.pm-section-nav { position: relative; background: #100d0d; border-bottom: 1px solid var(--pm-red-dark); }
.pm-section-nav-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; padding: 15px 0; }
.pm-section-nav a { display: inline-flex; align-items: baseline; gap: 7px; padding: 9px 0; font: 700 .84rem var(--pm-font-display); letter-spacing: .08em; color: var(--pm-ivory); }
.pm-section-nav a span { color: var(--pm-red-bright); font-size: .67rem; }
.pm-section-nav a:hover, .pm-section-nav a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.history-section { background: #0a0909; }
.pm-lead { max-width: 820px; color: #ddd4c9; font-size: clamp(1.03rem, 1.8vw, 1.28rem); line-height: 1.9; word-break: keep-all; }
.pm-history-list { margin: 34px 0 0 8px; border-left: 1px solid #513034; }
.pm-history-list li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 0 0 31px 24px; position: relative; }
.pm-history-list li::before { content: ""; position: absolute; top: 9px; left: -5px; height: 9px; width: 9px; transform: rotate(45deg); background: var(--pm-red-bright); }
.pm-history-code { font: 800 1.5rem var(--pm-font-display); letter-spacing: .045em; color: var(--pm-red-bright); }
.pm-history-list h3 { font-weight: 700; font-size: 1.1rem; color: var(--pm-white); }
.pm-history-list p { margin-top: 7px; color: #b8afa9; line-height: 1.8; word-break: keep-all; }
.pm-inline-note { margin-top: 19px; padding: 15px 21px; border-left: 3px solid var(--pm-red); background: #151010; color: #e6dbd3; line-height: 1.75; }
.pm-under-note { margin-top: 19px; color: #b8aaa3; font-size: .9rem; }
.pm-work-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pm-work-name { display: block; overflow-wrap: anywhere; }
.pm-work-sub { display: block; color: #b1aaa3; font: 500 .84rem/1.5 var(--pm-font-body); text-transform: none; letter-spacing: 0; word-break: keep-all; }
.interest-title-list li { font-size: clamp(1.8rem, 4.3vw, 3.8rem); }
.relation-section { background: #0b0a0a; }
.pm-rule-panel { padding: clamp(19px, 3vw, 35px); border: 1px solid #5b2629; background: linear-gradient(115deg, #1c1011, #0d0b0b 70%); }
.pm-rule-heading { margin-bottom: 10px; color: #ffb6b6; font-weight: 700; font-size: 1rem; }
.pm-rule-panel > p:not(.pm-rule-heading) { line-height: 1.8; color: #ddd3cd; word-break: keep-all; }
.pm-rule-panel strong { color: var(--pm-white); }
.pm-arrow-rules { margin-top: 25px; display: grid; gap: 1px; background: #362628; }
.pm-arrow-rules > div { display: grid; grid-template-columns: 72px minmax(0, 1fr); background: #100d0e; align-items: center; }
.pm-arrow-rules dt { padding: 12px 17px; color: #f4b8b8; font-size: 1.6rem; font-weight: 700; text-align: center; }
.pm-arrow-rules dd { margin: 0; padding: 13px 16px; color: #d7cfca; font-size: .87rem; line-height: 1.75; word-break: keep-all; }
.pm-pairing-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 22px; }
.pm-pairing-grid--cp-only { grid-template-columns: minmax(0,1fr); }
.pm-pairing-panel { padding: 27px 28px; border: 1px solid #393132; background: #100e0e; }
.pm-pairing-eyebrow { color: var(--pm-red-bright); font: 800 .82rem var(--pm-font-display); letter-spacing: .15em; }
.pm-pairing-panel h3, .pm-secondary-pairings h3 { margin: 8px 0 18px; font-size: 1.14rem; font-weight: 700; }
.pm-pairing-panel ul { display: flex; flex-wrap: wrap; gap: 9px; }
.pm-pairing-panel li, .pm-chip-list li { padding: 9px 12px; border: 1px solid #524044; background: #1d1718; color: #f4e6e4; font-size: .94rem; font-weight: 600; white-space: nowrap; }
.pm-secondary-pairings { margin-top: 22px; padding: 27px 28px; border: 1px solid #393132; background: #100e0e; }
.pm-chip-list { display: flex; flex-wrap: wrap; gap: 9px; }
.pm-interpretation-note { margin-top: 22px; padding: 27px 28px; background: #1a1213; border-left: 3px solid var(--pm-red); }
.pm-interpretation-note > p:not(.pm-pairing-eyebrow) { margin-top: 13px; color: #d5c9c5; line-height: 1.82; word-break: keep-all; }
.pm-comment-body { position: relative; z-index: 2; max-width: 100%; padding: 30px 34px 26px 40px; }
.pm-comment-body p { padding: 0; margin: 0; max-width: none; color: #ece4dc; font-size: 1rem; line-height: 1.9; word-break: keep-all; }
.pm-comment-body p + p { margin-top: 17px; }
.byf-section { background: #090808; }
.pm-byf-lead { margin-bottom: 30px; }
.pm-byf-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.pm-byf-card { padding: 24px 21px; background: #141111; border: 1px solid #493033; }
.pm-byf-card h3 { margin-bottom: 14px; font-size: 1rem; color: #f1dfdc; }
.pm-byf-card p { color: #c7bab5; font-size: .89rem; line-height: 1.85; word-break: keep-all; }
.pm-byf-card p + p { margin-top: 11px; }
.pm-details { margin-top: 16px; background: #120f0f; border: 1px solid #493033; }
.pm-details summary { padding: 17px 21px; cursor: pointer; color: #f0e5df; font-weight: 600; font-size: .89rem; }
.pm-details summary:focus-visible { outline-offset: -3px; }
.pm-details > div { border-top: 1px solid #493033; padding: 17px 21px; color: #c8bdb8; font-size: .88rem; line-height: 1.85; word-break: keep-all; }
.pm-byf-bottom { margin-top: 23px; color: #aba29c; font-size: .88rem; line-height: 1.8; }
.pm-byf-bottom a { color: #efe4de; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) { .pm-byf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .pm-section-nav-inner { gap: 0 17px; padding-block: 10px; }
  .interest-section[id] { scroll-margin-top: 72px; }
  .pm-history-list li { grid-template-columns: 53px minmax(0, 1fr); gap: 10px; padding-left: 17px; }
  .pm-history-code { font-size: 1.1rem; }
  .pm-pairing-grid, .pm-byf-grid { grid-template-columns: 1fr; }
  .pm-work-sub { font-size: .73rem; }
  .pm-comment-body { padding: 26px 20px 18px 28px; }
  .pm-comment-body p { font-size: .88rem; line-height: 1.7; }
}
@media (max-width: 430px) {
  .pm-section-nav-inner { gap: 1px 14px; }
  .pm-section-nav a { font-size: .7rem; }
  .pm-history-list { margin-left: 4px; }
  .pm-history-list li { padding-bottom: 25px; }
  .pm-history-list h3 { font-size: .94rem; }
  .pm-history-list p { font-size: .78rem; }
  .pm-lead { font-size: .95rem; line-height: 1.72; }
  .pm-inline-note { padding: 13px 14px; font-size: .78rem; }
  .pm-rule-panel, .pm-pairing-panel, .pm-secondary-pairings, .pm-interpretation-note { padding: 18px 15px; }
  .pm-rule-panel > p:not(.pm-rule-heading), .pm-interpretation-note > p:not(.pm-pairing-eyebrow) { font-size: .82rem; }
  .pm-arrow-rules > div { grid-template-columns: 50px minmax(0,1fr); }
  .pm-arrow-rules dt { padding: 11px 6px; font-size: 1.35rem; }
  .pm-arrow-rules dd { padding: 12px 10px; font-size: .76rem; }
  .pm-pairing-panel li, .pm-chip-list li { font-size: .8rem; padding: 8px 10px; }
  .pm-work-sub { font-size: .68rem; }
  .pm-comment-body { padding: 22px 14px 14px 22px; }
  .pm-comment-body p { font-size: .78rem; line-height: 1.65; }
  .pm-byf-card { padding: 19px 16px; }
  .pm-byf-card p { font-size: .8rem; }
  .pm-details summary, .pm-details > div, .pm-byf-bottom { font-size: .79rem; }
}
