/* =========================================================================
   PROFILE
   PROFILE 디자인 규칙 — 구조 override 제외
   ========================================================================= */

/* -------------------------------------------------------------------------
   04. PROFILE
   ------------------------------------------------------------------------- */
.section-profile {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 12vh, 140px) var(--pad-x) clamp(84px, 13vh, 148px);
  background:
    linear-gradient(118deg, rgba(197, 180, 243, 0.07) 0%, rgba(197, 180, 243, 0) 30%),
    radial-gradient(120% 70% at 14% -6%, rgba(108, 74, 190, 0.36) 0%, rgba(108, 74, 190, 0) 58%),
    radial-gradient(90% 60% at 88% 14%, rgba(60, 48, 134, 0.32) 0%, rgba(60, 48, 134, 0) 62%),
    radial-gradient(70% 45% at 52% 108%, rgba(243, 207, 154, 0.1) 0%, rgba(243, 207, 154, 0) 60%),
    linear-gradient(to bottom, var(--bg-night) 0%, var(--bg-navy) 42%, var(--bg-deep) 100%);
}

/* HERO에서 내려오는 달빛 잔광 */
.section-profile::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -190px;
  transform: translateX(-50%);
  width: min(980px, 120%);
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(152, 122, 234, 0.22), rgba(152, 122, 234, 0));
  pointer-events: none;
}

/* 별가루 */
.section-profile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.6px 1.6px at 8% 14%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1.4px 1.4px at 21% 62%, rgba(243, 207, 154, 0.85), transparent),
    radial-gradient(1.2px 1.2px at 33% 24%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.8px 1.8px at 47% 78%, rgba(197, 180, 243, 0.85), transparent),
    radial-gradient(1.3px 1.3px at 58% 12%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.5px 1.5px at 69% 52%, rgba(243, 207, 154, 0.7), transparent),
    radial-gradient(1.2px 1.2px at 78% 30%, rgba(255, 255, 255, 0.75), transparent),
    radial-gradient(1.7px 1.7px at 88% 68%, rgba(197, 180, 243, 0.8), transparent),
    radial-gradient(1.3px 1.3px at 94% 20%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1.4px 1.4px at 15% 88%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1.2px 1.2px at 64% 92%, rgba(243, 207, 154, 0.6), transparent);
}

.profile-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.section-header {
  max-width: 620px;
  margin-bottom: clamp(38px, 6vh, 64px);
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
}

.section-eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(243, 207, 154, 0));
}

.section-title {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  letter-spacing: 0.07em;
  color: var(--text);
  text-shadow: 0 0 40px rgba(150, 122, 232, 0.3);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .section-title {
    background: linear-gradient(112deg, #ffffff 0%, #efe8ff 45%, var(--lavender) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.section-title::after {
  content: "";
  display: inline-block;
  width: clamp(60px, 12vw, 150px);
  height: 1px;
  margin: 0 0 0.28em 20px;
  vertical-align: middle;
  background: linear-gradient(to right, rgba(243, 207, 154, 0.6), rgba(243, 207, 154, 0));
}

.section-description {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.9;
  color: var(--text-soft);
}

/* 레이아웃 */
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 2.4vw, 30px);
}

/* 왼쪽 큰 패널 — 그라데이션 헤어라인 테두리 */
.profile-main {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3vw, 44px);
  border: 1px solid transparent;
  border-radius: var(--r-panel);
  background-image:
    linear-gradient(160deg, var(--panel-top) 0%, var(--panel-bottom) 100%),
    linear-gradient(
      140deg,
      rgba(197, 180, 243, 0.55) 0%,
      rgba(243, 207, 154, 0.38) 42%,
      rgba(140, 118, 220, 0.14) 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-panel), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* 왼쪽 위 은은한 빛 */
.profile-main::before {
  content: "";
  position: absolute;
  top: -130px;
  left: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(172, 142, 248, 0.24), rgba(172, 142, 248, 0));
  pointer-events: none;
}

/* 오른쪽 위 초승달 */
.profile-main::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 34px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow: -16px 11px 0 0 rgba(243, 207, 154, 0.12);
  pointer-events: none;
}

.profile-identity {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
  flex-wrap: wrap;
}

/* 아바타 — 이미지가 없어도 작은 밤하늘 */
.profile-avatar {
  position: relative;
  flex: none;
  width: clamp(96px, 9.5vw, 124px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1px solid rgba(220, 206, 255, 0.3);
  overflow: hidden;
  background:
    radial-gradient(1.4px 1.4px at 26% 66%, rgba(255, 255, 255, 0.95), transparent),
    radial-gradient(1.2px 1.2px at 44% 82%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1.6px 1.6px at 18% 34%, rgba(255, 255, 255, 0.85), transparent),
    radial-gradient(1.2px 1.2px at 58% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(circle at 72% 30%, rgba(255, 247, 226, 0.95) 0 10px, rgba(255, 247, 226, 0) 11px),
    radial-gradient(circle at 72% 30%, rgba(255, 233, 190, 0.35) 0 22px, rgba(255, 233, 190, 0) 23px),
    linear-gradient(155deg, #2f2166 0%, #5b3fa2 46%, #a988e4 100%);
  box-shadow: inset 0 0 38px rgba(255, 255, 255, 0.1),
    0 16px 34px rgba(0, 0, 0, 0.36), 0 0 30px rgba(150, 118, 235, 0.22);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.profile-identity-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.profile-name {
  font-family: var(--font-serif-kr);
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.profile-handle {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lavender);
}

.profile-tagline {
  margin-top: 6px;
  padding-left: 14px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(
      to bottom,
      rgba(243, 207, 154, 0.8),
      rgba(197, 180, 243, 0.35) 60%,
      rgba(197, 180, 243, 0)
    )
    1;
  font-family: var(--font-serif-kr);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

.profile-bio {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: clamp(24px, 3.4vh, 34px);
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid transparent;
  border-image: linear-gradient(
      to right,
      rgba(243, 207, 154, 0.45),
      rgba(190, 176, 238, 0.18) 40%,
      rgba(190, 176, 238, 0)
    )
    1;
}

.profile-bio p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-soft);
}

/* 오른쪽 카드 2×2 — 카드마다 다른 색 빛 */
.profile-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(14px, 1.6vw, 20px);
}

.profile-card {
  --accent: var(--lavender);
  --accent-glow: rgba(197, 180, 243, 0.18);
  --accent-line: rgba(197, 180, 243, 0.42);

  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2vw, 28px);
  border: 1px solid transparent;
  border-radius: var(--r-card);
  background-image:
    linear-gradient(155deg, var(--card-top) 0%, var(--card-bottom) 100%),
    linear-gradient(145deg, var(--accent-line) 0%, rgba(190, 176, 238, 0.08) 70%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.profile-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(4, 3, 12, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.profile-card:hover::before {
  transform: scale(1.18);
}

.profile-card:nth-child(1) {
  --accent: var(--gold);
  --accent-glow: rgba(243, 207, 154, 0.2);
  --accent-line: rgba(243, 207, 154, 0.45);
}

.profile-card:nth-child(2) {
  --accent: var(--lavender);
  --accent-glow: rgba(197, 180, 243, 0.2);
  --accent-line: rgba(197, 180, 243, 0.45);
}

.profile-card:nth-child(3) {
  --accent: var(--periwinkle);
  --accent-glow: rgba(166, 187, 247, 0.18);
  --accent-line: rgba(166, 187, 247, 0.42);
}

.profile-card:nth-child(4) {
  --accent: var(--rose);
  --accent-glow: rgba(239, 170, 205, 0.16);
  --accent-line: rgba(239, 170, 205, 0.38);
}

.profile-card-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.profile-card-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.profile-card-text {
  position: relative;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
}

.profile-interest-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* -------------------------------------------------------------------------
   05. RESPONSIVE
   ------------------------------------------------------------------------- */

/* 좁은 데스크톱 / 큰 태블릿 */
@media (max-width: 1080px) {
  .profile-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hero-content {
    max-width: 520px;
  }
}

/* 태블릿 */
@media (max-width: 860px) {
  .hero-background {
    background-position: 68% center;
  }

  .hero-background::after {
    background:
      radial-gradient(130% 90% at 50% 50%, rgba(7, 6, 15, 0) 45%, rgba(7, 6, 15, 0.5) 100%),
      linear-gradient(
        105deg,
        rgba(7, 6, 15, 0.94) 0%,
        rgba(9, 8, 20, 0.84) 34%,
        rgba(10, 9, 22, 0.5) 62%,
        rgba(11, 10, 24, 0.2) 100%
      ),
      linear-gradient(
        to bottom,
        rgba(7, 6, 15, 0.6) 0%,
        rgba(7, 6, 15, 0.1) 24%,
        rgba(7, 6, 15, 0.1) 58%,
        rgba(9, 8, 20, 0.72) 86%,
        var(--bg-night) 100%
      );
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    max-width: 36ch;
  }
}

/* 모바일 */
@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .section-hero {
    padding-top: 18px;
  }

  /* 캐릭터가 화면 아래쪽에 남도록 */
  .hero-background {
    background-position: 72% center;
  }

  .hero-background::after {
    background: linear-gradient(
      to bottom,
      rgba(7, 6, 15, 0.95) 0%,
      rgba(8, 7, 18, 0.9) 34%,
      rgba(9, 8, 20, 0.66) 54%,
      rgba(9, 8, 20, 0.5) 68%,
      rgba(9, 8, 20, 0.78) 88%,
      var(--bg-night) 100%
    );
  }

  .hero-content::before {
    width: 320px;
    height: 320px;
    left: -22%;
  }

  .site-header {
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .site-nav a {
    font-size: 10.5px;
    letter-spacing: 0.12em;
  }

  .hero-inner {
    align-items: flex-start;
    padding: clamp(26px, 5vh, 44px) 0 20px;
  }

  .hero-content {
    gap: 15px;
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-description {
    max-width: 100%;
    line-height: 1.85;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    padding: 13px 18px;
    font-size: 13.5px;
  }

  .button-primary {
    flex: 1 1 100%;
  }

  .button-secondary {
    flex: 1 1 calc(50% - 5px);
  }

  .hero-footer {
    justify-content: flex-start;
    gap: 8px 16px;
  }

  .hero-footer p {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .section-title::after {
    width: 48px;
    margin-left: 14px;
  }

  .profile-identity {
    gap: 16px;
  }

  .profile-avatar {
    width: 88px;
    border-radius: 24px;
  }

  .profile-main::after {
    display: none;
  }

  .profile-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-main {
    border-radius: 24px;
  }
}

/* 소형 모바일 (390px 전후) */
@media (max-width: 420px) {
  :root {
    --pad-x: 20px;
  }

  .hero-title {
    font-size: 52px;
    letter-spacing: 0.01em;
  }

  .hero-tagline {
    font-size: 18.5px;
  }

  .hero-eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.24em;
  }

  .hero-eyebrow::before {
    width: 20px;
  }

  .hero-keywords li,
  .profile-interest-list li {
    padding: 5px 12px;
    font-size: 10.5px;
    letter-spacing: 0.14em;
  }

  .scroll-indicator {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .profile-identity {
    gap: 14px;
  }

  .profile-tagline {
    padding-left: 12px;
  }
}

/* 낮은 높이 화면 (노트북 등) */
@media (max-height: 700px) and (min-width: 861px) {
  .hero-inner {
    padding: 24px 0;
  }

  .hero-title {
    font-size: clamp(52px, 7vw, 84px);
  }
}

/* -------------------------------------------------------------------------
   06. MOTION — 진입 시 한 번 + 아주 느린 별빛
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    animation: hero-rise 0.9s var(--ease) both;
  }

  .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.13s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.21s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.29s; }
  .hero-content > *:nth-child(5) { animation-delay: 0.37s; }
  .hero-content > *:nth-child(6) { animation-delay: 0.45s; }

  .scroll-indicator span:last-child {
    display: inline-block;
    animation: scroll-float 2.6s ease-in-out infinite;
  }

  .section-profile::after {
    animation: starlight 9s ease-in-out infinite alternate;
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scroll-float {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(5px); opacity: 1; }
}

@keyframes starlight {
  from { opacity: 0.38; }
  to { opacity: 0.7; }
}

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

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


/* ─────────────────────────────
   PROFILE · REAL AVATAR
   ───────────────────────────── */

.profile-avatar {
  overflow: hidden;
}

.profile-avatar-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  position: relative;
  z-index: 2;
}


/* =========================================================================
   07. PROFILE PAGE  ·  profile.html 전용   (전면 리디자인)
   -------------------------------------------------------------------------
   · 모든 선택자가 .page-profile 스코프입니다.
     HOME(.section-hero) / TIMELINE / LIKES / LINKS 는 전혀 건드리지 않습니다.
   · HTML · 클래스명 · JS 수정 없음. 현재 마크업 그대로 사용합니다.
   · 섹션마다 "레이아웃 언어"를 다르게 써서 같은 카드가 반복되지 않게 합니다.
       MAIN PROFILE  → 초상 + 유리 패널이 겹치는 HERO
       QUICK PROFILE → 폭·높이·모서리가 다른 정보 조각 3개 (비대칭 12칼럼)
       HEART         → 한 단계 넓은 단독 패널 + 중앙 배너 문장
       SMALL FACTS   → 카드 2 · 여백 메모 2 를 흩어놓은 노트 조각
       SOCIAL NOTES  → 카드 3개가 아니라 패널 하나 + 3행
       NEXT          → 페이지를 닫는 큰 전환 패널
   · 섹션 사이는 짧은 세로 연결선으로 이어 하나의 긴 글처럼 읽히게 합니다.
   ========================================================================= */

/* -------------------------------------------------
   07-0. 페이지 토큰 / 공통 기본
   ------------------------------------------------- */
/* body의 overflow-x: hidden 은 sticky를 무력화하므로 이 페이지에서만 clip으로.
   clip은 스크롤 컨테이너를 만들지 않아 sticky가 정상 동작합니다. */
.page-profile {
  overflow-x: clip;

  /* 이 페이지 안에서만 쓰는 표면 토큰 */
  --p-glass-top: rgba(31, 25, 66, 0.56);
  --p-glass-bottom: rgba(13, 11, 30, 0.5);
  --p-veil-top: rgba(27, 22, 58, 0.42);
  --p-veil-bottom: rgba(12, 10, 28, 0.36);

  --p-line: rgba(190, 176, 238, 0.14);
  --p-line-soft: rgba(190, 176, 238, 0.085);

  --p-text: rgba(230, 225, 252, 0.82);
  --p-text-bright: rgba(246, 243, 255, 0.92);
  --p-text-dim: rgba(206, 199, 238, 0.58);

  --p-shadow: 0 22px 52px rgba(4, 3, 12, 0.32);
  --p-shadow-lift: 0 30px 66px rgba(4, 3, 12, 0.44);
}

/* 한글 어절 중간 줄바꿈 방지 — 페이지 전체 */
.page-profile .profile-inner {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.page-profile .section-description,
.page-profile .profile-bio p,
.page-profile .profile-card-text {
  text-wrap: pretty;
}

/* -------------------------------------------------
   07-1. 상단 NAV
   ------------------------------------------------- */
.page-profile .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: clamp(15px, 2.1vh, 23px) var(--pad-x);
  background:
    radial-gradient(80% 180% at 12% 0%, rgba(120, 92, 200, 0.18) 0%, rgba(120, 92, 200, 0) 70%),
    linear-gradient(to bottom, rgba(16, 13, 36, 0.93) 0%, rgba(11, 9, 24, 0.86) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(
      to right,
      rgba(243, 207, 154, 0.34) 0%,
      rgba(190, 176, 238, 0.2) 42%,
      rgba(190, 176, 238, 0.04) 100%
    )
    1;
  box-shadow: 0 14px 40px rgba(4, 3, 12, 0.45);
}

/* 현재 페이지 표시 */
.page-profile .site-nav a[href$="profile.html"] {
  color: var(--text);
}

.page-profile .site-nav a[href$="profile.html"]::after {
  right: 0;
  background: linear-gradient(to right, var(--gold), rgba(197, 180, 243, 0.5));
  opacity: 0.9;
}

/* -------------------------------------------------
   07-2. 페이지 배경 — 밤 · 라벤더 안개 · 아래쪽 따뜻한 빛
   ------------------------------------------------- */
.page-profile .section-profile {
  padding: clamp(30px, 4.2vh, 56px) var(--pad-x) clamp(56px, 7.6vh, 92px);
  background:
    radial-gradient(118% 58% at 14% -4%, rgba(104, 76, 184, 0.3) 0%, rgba(104, 76, 184, 0) 56%),
    radial-gradient(72% 44% at 88% 12%, rgba(58, 48, 130, 0.24) 0%, rgba(58, 48, 130, 0) 62%),
    radial-gradient(56% 30% at 76% 52%, rgba(239, 170, 205, 0.05) 0%, rgba(239, 170, 205, 0) 66%),
    radial-gradient(66% 38% at 40% 103%, rgba(243, 207, 154, 0.09) 0%, rgba(243, 207, 154, 0) 64%),
    linear-gradient(to bottom, #0a0917 0%, #0c0a1d 46%, var(--bg-deep) 100%);
}

/* 프로필 영역 뒤 lavender haze */
.page-profile .section-profile::before {
  top: 2%;
  width: min(860px, 96%);
  height: 540px;
  background: radial-gradient(closest-side, rgba(150, 120, 232, 0.18), rgba(150, 120, 232, 0));
}

/* 별은 거의 안 보일 정도로 */
.page-profile .section-profile::after {
  opacity: 0.32;
}

.page-profile .profile-inner {
  max-width: 1140px;
}

/* 콘텐츠 오른쪽 위 초승달 (HOME의 달과 같은 모티프) */
.page-profile .profile-inner::before {
  content: "";
  position: absolute;
  top: -30px;
  right: 6px;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  box-shadow:
    -27px 22px 0 0 rgba(255, 232, 190, 0.34),
    -27px 22px 14px 0 rgba(243, 207, 154, 0.18),
    -27px 22px 34px 4px rgba(197, 180, 243, 0.08);
  filter: none;
  opacity: 1;
  pointer-events: none;
  z-index: -1;
}

/* -------------------------------------------------
   07-3. PAGE HEADER — 얇게, HERO에 자리를 내어줌
   ------------------------------------------------- */
.page-profile .profile-page-header {
  position: relative;
  max-width: 620px;
  margin-bottom: clamp(22px, 3vh, 38px);
}

.page-profile .section-eyebrow {
  gap: 13px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: rgba(243, 207, 154, 0.82);
}

.page-profile .section-eyebrow::before {
  width: clamp(22px, 3vw, 38px);
}

.page-profile .section-eyebrow::after {
  content: "✦";
  font-size: 9px;
  letter-spacing: 0;
  color: var(--gold);
  opacity: 0.75;
}

.page-profile .section-title {
  margin: 12px 0 15px;
  font-size: clamp(42px, 5.6vw, 74px);
  letter-spacing: 0.1em;
  line-height: 1.05;
  text-shadow: 0 0 52px rgba(150, 122, 232, 0.34);
}

.page-profile .section-title::after {
  width: clamp(44px, 8vw, 104px);
  margin-left: 22px;
  background: linear-gradient(
    to right,
    rgba(243, 207, 154, 0.55),
    rgba(197, 180, 243, 0.26) 55%,
    rgba(197, 180, 243, 0)
  );
}

.page-profile .section-description {
  max-width: 50ch;
  font-size: clamp(14px, 1.15vw, 15.5px);
  line-height: 1.85;
  color: rgba(214, 207, 240, 0.7);
}

/* -------------------------------------------------
   07-4. MAIN PROFILE — 초상 위에 유리 패널이 겹치는 HERO
   ------------------------------------------------- */
.page-profile .profile-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, clamp(244px, 29%, 348px)) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding-bottom: clamp(30px, 4.4vh, 54px);
  border-bottom: 0;
}

/* 초상 뒤 은은한 달빛 */
.page-profile .profile-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: clamp(-90px, -6vw, -30px);
  width: clamp(320px, 34vw, 520px);
  height: clamp(320px, 34vw, 520px);
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(154, 122, 238, 0.2), rgba(154, 122, 238, 0));
  pointer-events: none;
}

/* HERO 아래 마무리 라인 */
.page-profile .profile-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(243, 207, 154, 0.3) 0%,
    rgba(190, 176, 238, 0.14) 42%,
    rgba(190, 176, 238, 0) 100%
  );
  pointer-events: none;
}

/* --- 초상 --- */
.page-profile .profile-portrait {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  max-width: 348px;
  margin: 0;
}

/* 액자 흔적은 왼쪽 아래 금빛 코너 하나로만 (외곽 이중선 제거) */
.page-profile .profile-portrait::before {
  display: none;
}

.page-profile .profile-portrait::after {
  content: "";
  position: absolute;
  left: -13px;
  bottom: -13px;
  width: 66px;
  height: 66px;
  border-left: 1px solid rgba(243, 207, 154, 0.45);
  border-bottom: 1px solid rgba(243, 207, 154, 0.45);
  border-bottom-left-radius: 32px;
  pointer-events: none;
}

.page-profile .profile-portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(216, 202, 255, 0.16);
  border-radius: 118px 118px 30px 30px;
  background: linear-gradient(158deg, #2a1d5c 0%, #4c3690 48%, #8f76cf 100%);
  box-shadow: 0 38px 76px rgba(4, 3, 12, 0.58),
    0 0 74px rgba(150, 118, 235, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 위쪽 아치에 걸리는 빛 */
.page-profile .profile-portrait-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120% 70% at 24% -6%,
    rgba(255, 246, 224, 0.14) 0%,
    rgba(255, 246, 224, 0) 56%
  );
  pointer-events: none;
}

/* 사진 위 아주 옅은 달빛 한 겹 */
.page-profile .profile-portrait-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    158deg,
    rgba(255, 240, 210, 0.05) 0%,
    rgba(255, 240, 210, 0) 40%,
    rgba(74, 56, 148, 0.16) 100%
  );
  pointer-events: none;
}

.page-profile .profile-portrait-image,
.page-profile .profile-portrait-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  transition: transform 1.4s var(--ease);
}

.page-profile .profile-portrait:hover .profile-portrait-image {
  transform: scale(1.035);
}

/* --- 소개 패널 — 초상 뒤로 파고드는 유리판 --- */
.page-profile .profile-intro {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  max-width: none;
  margin-left: clamp(-96px, -6vw, -50px);
  padding: clamp(28px, 3vw, 42px) clamp(24px, 2.6vw, 34px) clamp(28px, 3vw, 42px)
    clamp(72px, 8vw, 112px);
  border: 1px solid var(--p-line);
  border-radius: 26px 34px 34px 26px;
  background:
    radial-gradient(72% 120% at 96% 4%, rgba(197, 180, 243, 0.08) 0%, rgba(197, 180, 243, 0) 62%),
    linear-gradient(152deg, var(--p-glass-top) 0%, var(--p-glass-bottom) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--p-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.page-profile .profile-intro-heading {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
}

.page-profile .profile-name {
  font-family: var(--font-serif-kr);
  font-size: clamp(32px, 3.9vw, 50px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fcf9ff;
  text-shadow: 0 0 42px rgba(160, 132, 240, 0.28);
}

.page-profile .profile-handle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.25vw, 17px);
  font-weight: 500;
  letter-spacing: 0.15em;
  color: rgba(197, 180, 243, 0.72);
}

.page-profile .profile-handle::before {
  content: "";
  width: clamp(14px, 2vw, 28px);
  height: 1px;
  background: linear-gradient(to right, rgba(197, 180, 243, 0), rgba(197, 180, 243, 0.55));
}

.page-profile .profile-tagline {
  position: relative;
  margin-top: clamp(18px, 2.4vh, 26px);
  padding-left: 0;
  border-left: 0;
  border-image: none;
  font-family: var(--font-serif-kr);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.72;
  color: #f7dcac;
  text-shadow: 0 0 30px rgba(243, 207, 154, 0.2);
}

.page-profile .profile-tagline::before {
  content: "“";
  position: absolute;
  left: -0.34em;
  top: -0.42em;
  font-family: var(--font-display);
  font-size: 2.1em;
  line-height: 1;
  color: rgba(243, 207, 154, 0.2);
  pointer-events: none;
}

.page-profile .profile-tagline::after {
  content: "✦";
  margin-left: 12px;
  font-size: 0.4em;
  vertical-align: 0.32em;
  color: rgba(243, 207, 154, 0.5);
}

.page-profile .profile-bio {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: clamp(18px, 2.4vh, 26px);
  padding-top: clamp(17px, 2.2vh, 24px);
  border-top: 1px solid transparent;
  border-image: linear-gradient(
      to right,
      rgba(243, 207, 154, 0.3) 0%,
      rgba(190, 176, 238, 0.14) 46%,
      rgba(190, 176, 238, 0) 100%
    )
    1;
}

.page-profile .profile-bio p {
  max-width: 40em;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--p-text);
}

.page-profile .profile-bio p:first-child {
  color: var(--p-text-bright);
}

/* -------------------------------------------------
   07-5. 카드 공통 언어
   (레이아웃은 각 섹션에서 따로 잡습니다)
   ------------------------------------------------- */
.page-profile .profile-detail-card {
  --accent: var(--lavender);
  --accent-line: rgba(197, 180, 243, 0.5);
  --accent-glow: rgba(197, 180, 243, 0.13);

  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: clamp(20px, 2vw, 26px);
  border: 1px solid var(--p-line);
  border-radius: 22px;
  background: linear-gradient(158deg, var(--p-glass-top) 0%, var(--p-glass-bottom) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--p-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

/* 상단 얇은 accent 라인 */
.page-profile .profile-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(to right, var(--accent-line), transparent 76%);
  pointer-events: none;
}

/* 모서리 쪽 아주 약한 빛 */
.page-profile .profile-detail-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
  opacity: 0.75;
  pointer-events: none;
  transition: opacity 0.45s var(--ease);
}

.page-profile .profile-detail-card:hover {
  transform: translateY(-3px);
  border-color: rgba(202, 188, 246, 0.24);
  box-shadow: var(--p-shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-profile .profile-detail-card:hover::after {
  opacity: 1;
}

/* 라벨 */
.page-profile .profile-detail-card > :first-child,
.page-profile .profile-detail-card .profile-card-label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.4;
  color: var(--accent);
}

.page-profile .profile-detail-card > :first-child::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 0 3px rgba(255, 255, 255, 0.045);
}

/* 본문 */
.page-profile .profile-detail-card > :first-child ~ *,
.page-profile .profile-detail-card .profile-card-text {
  position: relative;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--p-text);
}

/* 마크업에 관심사 pill 이 있을 때만 */
.page-profile .profile-detail-card .profile-interest-list {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.page-profile .profile-interest-list li {
  padding: 5px 13px;
  border: 1px solid rgba(239, 170, 205, 0.3);
  background: rgba(11, 9, 26, 0.6);
  box-shadow: none;
  color: rgba(232, 226, 252, 0.8);
  font-size: 10.5px;
  letter-spacing: 0.2em;
}

.page-profile .profile-interest-list li:hover {
  border-color: rgba(239, 170, 205, 0.58);
  background: rgba(16, 13, 34, 0.7);
  color: #fff;
  box-shadow: none;
}

/* -------------------------------------------------
   07-6. QUICK PROFILE — 카드 상자 없이, 머리선 하나로 묶은 정보 3조각
   세 항목의 선 · 라벨 · 타이포는 완전히 같고 폭과 위치만 다릅니다.
   ------------------------------------------------- */
.page-profile .profile-inner > .profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(18px, 2.4vw, 40px);
  row-gap: clamp(16px, 2.2vh, 25px);
  margin-top: clamp(22px, 3vh, 36px);
}

/* 구간을 닫는 가로 구분선 */
.page-profile .profile-inner > .profile-detail-grid::after {
  content: "";
  grid-column: 1 / -1;
  grid-row: auto;
  height: 1px;
  margin-top: clamp(13px, 1.8vh, 21px);
  background: linear-gradient(
    to right,
    rgba(190, 176, 238, 0.24) 0%,
    rgba(190, 176, 238, 0.09) 46%,
    rgba(190, 176, 238, 0) 100%
  );
}

/* 세 항목 공통 — 배경 · 테두리 · 그림자 없음 */
.page-profile .profile-detail-talk,
.page-profile .profile-detail-interaction,
.page-profile .profile-detail-mood {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  padding: clamp(11px, 1.2vw, 14px) 0 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
}

/* 머리선 — 세 항목 동일 */
.page-profile .profile-detail-talk::before,
.page-profile .profile-detail-interaction::before,
.page-profile .profile-detail-mood::before {
  left: 0;
  right: 0;
}

.page-profile .profile-detail-talk::after,
.page-profile .profile-detail-interaction::after,
.page-profile .profile-detail-mood::after {
  display: none;
}

.page-profile .profile-detail-talk > .profile-card-label,
.page-profile .profile-detail-interaction > .profile-card-label,
.page-profile .profile-detail-mood > .profile-card-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.4;
}

.page-profile .profile-detail-talk .profile-card-text,
.page-profile .profile-detail-interaction .profile-card-text,
.page-profile .profile-detail-mood .profile-card-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  color: var(--p-text);
  transition: color 0.35s var(--ease);
}

/* 상자가 아니므로 hover 시 들리지 않고 글자만 밝아짐 */
.page-profile .profile-detail-talk:hover,
.page-profile .profile-detail-interaction:hover,
.page-profile .profile-detail-mood:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.page-profile .profile-detail-talk:hover .profile-card-text,
.page-profile .profile-detail-interaction:hover .profile-card-text,
.page-profile .profile-detail-mood:hover .profile-card-text {
  color: rgba(244, 240, 255, 0.94);
}

/* 배치 — 폭과 위치만 다르게 */
.page-profile .profile-detail-talk {
  --accent: var(--gold);
  --accent-line: rgba(243, 207, 154, 0.5);

  grid-column: 1 / span 7;
  grid-row: 1;
}

.page-profile .profile-detail-interaction {
  --accent: var(--rose);
  --accent-line: rgba(239, 170, 205, 0.42);

  grid-column: 8 / span 5;
  grid-row: 1;
}

.page-profile .profile-detail-mood {
  --accent: var(--periwinkle);
  --accent-line: rgba(166, 187, 247, 0.4);

  grid-column: 1 / span 8;
  grid-row: 2;
}

/* -------------------------------------------------
   07-7. HEART HEAVY USER — 한 단계 넓은 단독 패널
   ♥ 문장이 이 페이지에서 가장 오래 남게.
   ------------------------------------------------- */
.page-profile .profile-heart-card {
  --accent: var(--rose);
  --accent-line: rgba(239, 170, 205, 0.5);
  --accent-glow: rgba(239, 170, 205, 0.1);

  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  grid-template-areas:
    "label copy"
    "sign  sign";
  align-items: start;
  gap: clamp(15px, 2vh, 23px) clamp(22px, 2.8vw, 44px);

  margin-top: clamp(36px, 5.2vh, 68px);
  margin-left: calc(-1 * clamp(0px, 1.6vw, 26px));
  margin-right: calc(-1 * clamp(0px, 1.6vw, 26px));
  padding: clamp(22px, 2.6vw, 35px) clamp(24px, 2.9vw, 42px) clamp(20px, 2.3vw, 30px);
  border: 1px solid rgba(239, 170, 205, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(88% 120% at 100% 0%, rgba(239, 170, 205, 0.085) 0%, rgba(239, 170, 205, 0) 58%),
    radial-gradient(70% 100% at 2% 100%, rgba(243, 207, 154, 0.05) 0%, rgba(243, 207, 154, 0) 60%),
    linear-gradient(158deg, rgba(32, 25, 62, 0.62) 0%, rgba(13, 11, 30, 0.56) 100%);
  box-shadow: 0 28px 62px rgba(4, 3, 12, 0.36),
    0 0 72px rgba(239, 170, 205, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* 상단 라인 — 패널 폭 전체 */
.page-profile .profile-heart-card::before {
  left: 0;
  right: 0;
  background: linear-gradient(
    to right,
    rgba(239, 170, 205, 0.48) 0%,
    rgba(243, 207, 154, 0.3) 38%,
    rgba(197, 180, 243, 0.1) 72%,
    transparent 100%
  );
}

/* 옅은 ♥ 워터마크 */
.page-profile .profile-heart-card::after {
  content: "♥";
  top: auto;
  right: clamp(6px, 1.4vw, 22px);
  bottom: clamp(-22px, -1.6vw, -8px);
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: clamp(96px, 10.5vw, 156px);
  line-height: 1;
  color: rgba(239, 170, 205, 0.05);
  opacity: 1;
}

.page-profile .profile-heart-card:hover {
  transform: none;
  border-color: rgba(239, 170, 205, 0.26);
  box-shadow: 0 32px 70px rgba(4, 3, 12, 0.42),
    0 0 84px rgba(239, 170, 205, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-profile .profile-heart-card > .profile-card-label {
  grid-area: label;
  align-self: start;
  gap: 11px;
  font-size: 10.5px;
  letter-spacing: 0.3em;
  line-height: 2;
  color: rgba(244, 191, 216, 0.9);
}

/* 라벨 불릿을 점 대신 ♥ 로 */
.page-profile .profile-heart-card > .profile-card-label::before {
  content: "♥";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 12px;
  line-height: 1;
  color: var(--rose);
  text-shadow: 0 0 14px rgba(239, 170, 205, 0.55);
}

.page-profile .profile-heart-copy {
  position: relative;
  grid-area: copy;
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 56ch;
  padding-left: clamp(0px, 1.5vw, 24px);
}

/* 라벨과 본문 사이 세로 헤어라인 */
.page-profile .profile-heart-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  bottom: 0.4em;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(239, 170, 205, 0.32) 0%,
    rgba(190, 176, 238, 0.12) 58%,
    rgba(190, 176, 238, 0) 100%
  );
}

.page-profile .profile-heart-copy .profile-card-text {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(226, 220, 250, 0.76);
}

.page-profile .profile-heart-copy .profile-card-text:first-child {
  font-size: 15.5px;
  color: var(--p-text-bright);
}

/* ♥ 문장 — 패널 가운데 놓인 작은 배너 */
.page-profile .profile-heart-sign {
  grid-area: sign;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  max-width: 100%;
  margin-top: 0;
  padding: clamp(11px, 1.3vw, 16px) clamp(20px, 2.8vw, 40px);
  border: 1px solid rgba(239, 170, 205, 0.28);
  border-radius: var(--r-pill);
  background: linear-gradient(
    135deg,
    rgba(239, 170, 205, 0.16) 0%,
    rgba(243, 207, 154, 0.07) 58%,
    rgba(197, 180, 243, 0.09) 100%
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 0 42px rgba(239, 170, 205, 0.13),
    0 14px 34px rgba(4, 3, 12, 0.3);
  font-family: var(--font-serif-kr);
  font-size: clamp(14.5px, 1.5vw, 19px);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.6;
  text-align: center;
  color: #fbe6f1;
  text-shadow: 0 0 26px rgba(239, 170, 205, 0.32);
}

.page-profile .profile-heart-sign::before,
.page-profile .profile-heart-sign::after {
  content: "";
  flex: none;
  width: clamp(16px, 4vw, 56px);
  height: 1px;
}

.page-profile .profile-heart-sign::before {
  background: linear-gradient(to right, rgba(239, 170, 205, 0), rgba(239, 170, 205, 0.5));
}

.page-profile .profile-heart-sign::after {
  background: linear-gradient(to left, rgba(239, 170, 205, 0), rgba(239, 170, 205, 0.5));
}

/* -------------------------------------------------
   07-8. SMALL FACTS — 완전히 동일한 기록 카드 4장
   테두리 · 배경 · 반경 · 내부 여백 · 번호 위치 · 타이포가 모두 같습니다.
   변주는 오른쪽 열을 한 칸 내려놓는 배치뿐입니다.
   ------------------------------------------------- */
.page-profile .profile-small-facts-section {
  position: relative;
  margin-top: clamp(44px, 6.2vh, 78px);
}

/* 앞 구간과 나누는 가로 구분선 */
.page-profile .profile-small-facts-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * clamp(22px, 3.2vh, 38px));
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(190, 176, 238, 0.24) 0%,
    rgba(190, 176, 238, 0.09) 46%,
    rgba(190, 176, 238, 0) 100%
  );
  pointer-events: none;
}

.page-profile .profile-small-facts-header {
  --accent: rgba(166, 187, 247, 0.85);
  --accent-line: rgba(166, 187, 247, 0.3);
}

.page-profile .profile-small-facts-header .profile-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.4;
  color: var(--accent);
  white-space: nowrap;
}

.page-profile .profile-small-facts-header .profile-card-label::before {
  content: "✦";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 10px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.9;
}

.page-profile .profile-small-facts-header .profile-card-label::after {
  content: "";
  flex: none;
  width: clamp(30px, 6vw, 76px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-line), transparent);
}

.page-profile .profile-small-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  column-gap: clamp(22px, 3.2vw, 56px);
  row-gap: clamp(17px, 2.4vh, 26px);
  margin-top: clamp(18px, 2.4vh, 26px);
}

/* 네 항목 모두 동일 — 배경 · 테두리 없이 번호와 문장만 */
.page-profile .profile-small-fact-card {
  --accent: rgba(174, 193, 248, 0.92);
  --accent-line: rgba(166, 187, 247, 0.42);

  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
  transform: none;
}

.page-profile .profile-small-fact-card::before,
.page-profile .profile-small-fact-card::after {
  display: none;
}

/* 번호 — 네 항목 모두 같은 위치 · 같은 크기 · 같은 색 */
.page-profile .profile-small-fact-card > .profile-card-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
  color: var(--accent);
  opacity: 1;
}

.page-profile .profile-small-fact-card > .profile-card-label::before {
  content: none;
  display: none;
}

.page-profile .profile-small-fact-card > .profile-card-label::after {
  content: "";
  flex: none;
  width: clamp(22px, 3vw, 42px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-line), transparent);
}

.page-profile .profile-small-fact-card .profile-card-text {
  font-size: 15px;
  line-height: 1.9;
  color: var(--p-text);
  transition: color 0.35s var(--ease);
}

.page-profile .profile-small-fact-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.page-profile .profile-small-fact-card:hover .profile-card-text {
  color: rgba(244, 240, 255, 0.94);
}

/* -------------------------------------------------
   07-9. SOCIAL NOTES — 패널 하나 + 3행
   "어떻게 말을 걸어도 되는지" 가 한눈에.
   ------------------------------------------------- */
.page-profile .profile-social-notes-section {
  position: relative;
  margin-top: clamp(54px, 7.6vh, 96px);
}

/* 앞 구간과 나누는 가로 구분선 — 여기만 조금 더 또렷하게 */
.page-profile .profile-social-notes-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * clamp(26px, 3.6vh, 42px));
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(243, 207, 154, 0.38) 0%,
    rgba(243, 207, 154, 0.16) 32%,
    rgba(190, 176, 238, 0.07) 62%,
    rgba(190, 176, 238, 0) 100%
  );
  pointer-events: none;
}

/* 구분선 시작점의 작은 점 */
.page-profile .profile-social-notes-section::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(-1 * clamp(26px, 3.6vh, 42px) + 0.5px);
  width: 4px;
  height: 4px;
  transform: translate(-1px, -50%) rotate(45deg);
  background: rgba(243, 207, 154, 0.7);
  box-shadow: 0 0 10px rgba(243, 207, 154, 0.4);
  pointer-events: none;
}

.page-profile .profile-social-notes-header {
  --accent: var(--gold);
  --accent-line: rgba(243, 207, 154, 0.42);
}

.page-profile .profile-social-notes-header .profile-card-label {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1.4;
  color: var(--accent);
  white-space: nowrap;
}

.page-profile .profile-social-notes-header .profile-card-label::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent), 0 0 0 3px rgba(255, 255, 255, 0.045);
}

.page-profile .profile-social-notes-header .profile-card-label::after {
  content: "";
  flex: none;
  width: clamp(34px, 6vw, 72px);
  height: 1px;
  background: linear-gradient(to right, var(--accent-line), transparent);
}

.page-profile .profile-social-notes-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: min(100%, 720px);
  margin-top: clamp(14px, 2vh, 22px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.page-profile .profile-social-note-card {
  --accent: rgba(197, 180, 243, 0.85);
  --accent-line: rgba(197, 180, 243, 0.4);

  display: grid;
  grid-template-columns: minmax(0, 122px) minmax(0, 1fr);
  align-items: baseline;
  gap: 5px clamp(16px, 2.2vw, 30px);
  padding: clamp(14px, 1.9vh, 20px) 0;
  border: 0;
  border-radius: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
  text-align: left;
}

/* 행 구분선 — 오른쪽 끝을 비워 설정표처럼 보이지 않게 */
.page-profile .profile-social-note-card::before {
  top: 0;
  left: 0;
  right: clamp(0px, 14%, 86px);
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(190, 176, 238, 0.2) 0%,
    rgba(190, 176, 238, 0.09) 48%,
    rgba(190, 176, 238, 0) 100%
  );
}

/* hover 시 행 전체에 아주 옅은 빛 */
.page-profile .profile-social-note-card::after {
  content: "";
  position: absolute;
  inset: 3px calc(-1 * clamp(10px, 1.4vw, 18px));
  width: auto;
  height: auto;
  border-radius: 16px;
  background: linear-gradient(
    100deg,
    rgba(197, 180, 243, 0.07) 0%,
    rgba(197, 180, 243, 0) 72%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.page-profile .profile-social-note-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.page-profile .profile-social-note-card:hover::after {
  opacity: 1;
}

.page-profile .profile-social-note-card > .profile-card-label {
  gap: 11px;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  line-height: 1.9;
}

/* 마커 — 세 행 모두 같은 점 하나 */
.page-profile .profile-social-note-card > .profile-card-label::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent), 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.page-profile .profile-social-note-card .profile-card-text {
  max-width: none;
  font-family: var(--font-serif-kr);
  font-size: clamp(15px, 1.45vw, 17.5px);
  line-height: 1.8;
  color: rgba(232, 227, 252, 0.84);
  transition: color 0.35s var(--ease);
}

.page-profile .profile-social-note-card:hover .profile-card-text {
  color: rgba(246, 243, 255, 0.95);
}

/* -------------------------------------------------
   07-10. NEXT · TIMELINE — 페이지를 닫는 작은 내비게이션
   본문 섹션보다 약하게. 폭도 내용만큼만 차지합니다.
   ------------------------------------------------- */
.page-profile .profile-next {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-top: clamp(40px, 5.6vh, 70px);
  padding-top: 0;
  border-top: 0;
  border-image: none;
  text-align: right;
}

/* 앞 구간과 나누는 가로 구분선 (오른쪽이 진하게) */
.page-profile .profile-next::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * clamp(22px, 3.2vh, 38px));
  height: 1px;
  background: linear-gradient(
    to left,
    rgba(243, 207, 154, 0.26) 0%,
    rgba(190, 176, 238, 0.09) 46%,
    rgba(190, 176, 238, 0) 100%
  );
  pointer-events: none;
}

.page-profile .profile-next-label {
  display: flex;
  align-items: center;
  gap: 11px;
  justify-content: flex-end;
  width: 100%;
  margin: 0 2px clamp(9px, 1.3vh, 13px) 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: rgba(243, 207, 154, 0.6);
}

.page-profile .profile-next-label::before {
  content: "✦";
  font-size: 8.5px;
  letter-spacing: 0;
  opacity: 0.8;
}

.page-profile .profile-next-label::after {
  content: "";
  order: -1;
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(to left, rgba(190, 176, 238, 0.18), rgba(190, 176, 238, 0) 80%);
}

.page-profile .profile-next-link {
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 22px);
  width: auto;
  max-width: 100%;
  padding: 2px 2px 6px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.2;
  color: rgba(244, 240, 255, 0.92);
  transition: color 0.4s var(--ease);
}

/* hover 시 글자 아래로 지나가는 얇은 선 */
.page-profile .profile-next-link::before {
  content: "";
  position: absolute;
  right: clamp(48px, 6vw, 62px);
  left: calc(100% - clamp(48px, 6vw, 62px));
  bottom: 0;
  top: auto;
  width: auto;
  height: 1px;
  background: linear-gradient(to left, rgba(243, 207, 154, 0.7), rgba(197, 180, 243, 0.3));
  transition: left 0.55s var(--ease);
  pointer-events: none;
}

.page-profile .profile-next-link:hover::before {
  left: 2px;
}

.page-profile .profile-next-link:hover {
  color: #fff6e6;
}

/* 화살표 */
.page-profile .profile-next-link span {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(243, 207, 154, 0.3);
  border-radius: 50%;
  background: rgba(243, 207, 154, 0.05);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.page-profile .profile-next-link:hover span {
  transform: translateX(4px);
  border-color: rgba(243, 207, 154, 0.55);
  background: rgba(243, 207, 154, 0.12);
}

/* 화살표가 마크업에 없을 때만 CSS로 추가 */
.page-profile .profile-next-link:not(:has(span))::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 0.55em;
  color: var(--gold);
  transition: transform 0.4s var(--ease);
}

.page-profile .profile-next-link:hover:not(:has(span))::after {
  transform: translateX(4px);
}

/* -------------------------------------------------
   07-11. RESPONSIVE
   ------------------------------------------------- */
@media (max-width: 1080px) {
  .page-profile .profile-intro {
    margin-left: clamp(-64px, -4.5vw, -36px);
    padding-left: clamp(58px, 7vw, 88px);
  }

  .page-profile .profile-detail-talk {
    grid-column: 1 / span 8;
  }

  .page-profile .profile-detail-interaction {
    grid-column: 9 / span 4;
  }

  .page-profile .profile-detail-mood {
    grid-column: 1 / span 9;
  }
}

/* HERO 세로 전환 — 초상 아래로 패널이 겹쳐 들어옴 */
@media (max-width: 900px) {
  .page-profile .profile-hero {
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: clamp(26px, 3.6vh, 42px);
  }

  .page-profile .profile-hero::before {
    top: 26%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .page-profile .profile-portrait {
    grid-column: 1;
    grid-row: 1;
    max-width: 268px;
    margin: 0 auto;
  }

  .page-profile .profile-portrait::after {
    left: -11px;
    bottom: -11px;
    width: 52px;
    height: 52px;
    border-bottom-left-radius: 26px;
  }

  .page-profile .profile-portrait-frame {
    border-radius: 88px 88px 26px 26px;
  }

  .page-profile .profile-intro {
    grid-column: 1;
    grid-row: 2;
    margin-left: 0;
    margin-top: clamp(-38px, -3.6vh, -24px);
    padding: clamp(46px, 6vh, 62px) clamp(22px, 3.6vw, 34px) clamp(26px, 3.4vh, 36px);
    border-radius: 30px;
    text-align: left;
  }

  .page-profile .profile-bio p {
    max-width: none;
  }

  /* HEART — 라벨 / 본문 / 배너 세로로 */
  .page-profile .profile-heart-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "copy"
      "sign";
    gap: 18px;
    margin-left: 0;
    margin-right: 0;
  }

  .page-profile .profile-heart-copy {
    max-width: none;
    padding-left: 0;
  }

  .page-profile .profile-heart-copy::before {
    display: none;
  }

  .page-profile .profile-heart-sign {
    justify-self: start;
    margin-top: 6px;
  }
}

/* QUICK PROFILE / SMALL FACTS — 세로 흐름으로 */
@media (max-width: 760px) {
  .page-profile .site-header {
    padding: 13px var(--pad-x);
  }

  .page-profile .profile-inner::before {
    display: none;
  }

  .page-profile .profile-inner > .profile-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(12px, 2vw, 18px);
  }

  .page-profile .profile-detail-talk,
  .page-profile .profile-detail-interaction,
  .page-profile .profile-detail-mood {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
  }

  .page-profile .profile-small-facts-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: clamp(12px, 2vh, 18px);
  }

  .page-profile .section-title::after {
    width: 42px;
    margin-left: 14px;
  }
}

/* SOCIAL NOTES — 라벨을 본문 위로 */
@media (max-width: 720px) {
  .page-profile .profile-social-note-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    padding: clamp(14px, 1.9vh, 19px) 0;
  }

  .page-profile .profile-social-note-card .profile-card-text {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .page-profile .section-profile {
    padding-bottom: clamp(52px, 7vh, 76px);
  }

  .page-profile .profile-portrait {
    max-width: 224px;
  }

  .page-profile .profile-portrait-frame {
    border-radius: 74px 74px 24px 24px;
  }

  .page-profile .profile-portrait::after {
    left: -9px;
    bottom: -9px;
    width: 44px;
    height: 44px;
    border-bottom-left-radius: 22px;
  }

  .page-profile .profile-intro {
    padding: clamp(42px, 6vh, 54px) 20px 24px;
    border-radius: 26px;
  }

  .page-profile .profile-name {
    font-size: clamp(28px, 8vw, 36px);
  }

  .page-profile .profile-tagline {
    font-size: clamp(18px, 5.2vw, 22px);
  }

  .page-profile .profile-bio p,
  .page-profile .profile-detail-card .profile-card-text,
  .page-profile .profile-small-fact-card .profile-card-text {
    font-size: 14.5px;
    line-height: 1.9;
  }

  .page-profile .profile-heart-card {
    margin-top: clamp(30px, 4.4vh, 46px);
    padding: 22px 20px 22px;
    border-radius: 24px;
  }

  .page-profile .profile-heart-card::after {
    font-size: 96px;
    color: rgba(239, 170, 205, 0.042);
  }

  .page-profile .profile-heart-sign {
    gap: 10px;
    padding: 12px 18px;
    font-size: 14px;
  }

  .page-profile .profile-heart-sign::before,
  .page-profile .profile-heart-sign::after {
    width: 14px;
  }

  .page-profile .profile-next-link {
    gap: 14px;
    font-size: clamp(20px, 5.6vw, 24px);
  }

  .page-profile .profile-next-link span {
    width: 32px;
    height: 32px;
    font-size: 12.5px;
  }
}

@media (max-width: 420px) {
  .page-profile .profile-portrait {
    max-width: 196px;
  }

  .page-profile .profile-intro-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .page-profile .profile-next {
    margin-top: 44px;
  }
}

/* -------------------------------------------------
   07-12. MOTION — 진입 시 한 번, 반복은 최소한으로
   ------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .page-profile .profile-page-header,
  .page-profile .profile-hero,
  .page-profile .profile-detail-talk,
  .page-profile .profile-detail-interaction,
  .page-profile .profile-detail-mood,
  .page-profile .profile-heart-card,
  .page-profile .profile-small-facts-header,
  .page-profile .profile-social-notes-header,
  .page-profile .profile-social-notes-grid,
  .page-profile .profile-next {
    animation: profile-rise 0.9s var(--ease) backwards;
  }

  .page-profile .profile-page-header { animation-delay: 0.04s; }
  .page-profile .profile-hero { animation-delay: 0.14s; }
  .page-profile .profile-detail-talk { animation-delay: 0.28s; }
  .page-profile .profile-detail-interaction { animation-delay: 0.34s; }
  .page-profile .profile-detail-mood { animation-delay: 0.4s; }
  .page-profile .profile-heart-card { animation-delay: 0.46s; }
  .page-profile .profile-small-facts-header { animation-delay: 0.52s; }
  .page-profile .profile-social-notes-header { animation-delay: 0.56s; }
  .page-profile .profile-social-notes-grid { animation-delay: 0.6s; }
  .page-profile .profile-next { animation-delay: 0.64s; }

  .page-profile .profile-small-fact-card {
    animation: profile-rise 0.9s var(--ease) backwards;
  }

  .page-profile .profile-small-fact-card:nth-child(1) { animation-delay: 0.54s; }
  .page-profile .profile-small-fact-card:nth-child(2) { animation-delay: 0.6s; }
  .page-profile .profile-small-fact-card:nth-child(3) { animation-delay: 0.66s; }
  .page-profile .profile-small-fact-card:nth-child(4) { animation-delay: 0.72s; }

  /* 반복되는 움직임은 이 두 가지뿐 */
  .page-profile .section-profile::after {
    animation: none;
  }

  .page-profile .section-profile::before {
    animation: profile-haze 18s ease-in-out infinite alternate;
  }

  .page-profile .profile-heart-sign {
    animation: profile-heart-glow 6.5s ease-in-out infinite;
  }
}

@keyframes profile-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes profile-haze {
  from { opacity: 0.68; }
  to { opacity: 1; }
}

@keyframes profile-heart-glow {
  0%,
  100% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09),
      0 0 34px rgba(239, 170, 205, 0.1),
      0 14px 34px rgba(4, 3, 12, 0.3);
  }
  50% {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),
      0 0 52px rgba(239, 170, 205, 0.2),
      0 14px 34px rgba(4, 3, 12, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-profile .profile-page-header,
  .page-profile .profile-hero,
  .page-profile .profile-detail-card,
  .page-profile .profile-small-facts-header,
  .page-profile .profile-social-notes-header,
  .page-profile .profile-social-notes-grid,
  .page-profile .profile-heart-sign,
  .page-profile .profile-next,
  .page-profile .section-profile::before {
    animation: none !important;
  }
}

/* =========================================================================
   PROFILE · FINAL STRUCTURE
   기존 profile-layout.css 구조 override 통합
   ========================================================================= */

/* =========================================================================
   PROFILE · STRUCTURE
   최신 합격 구조 override — 디자인 값 변경 없음
   ========================================================================= */

/* =========================================================================
   PROFILE · STRUCTURE ONLY OVERRIDE
   -------------------------------------------------------------------------
   디자인(색상/폰트/테두리/글로우/카드 스타일)은 건드리지 않고
   배치와 여백만 재정렬합니다.

   구조:
   HEADER
   ↓ 상단 여백
   PROFILE HEADER
   PROFILE HERO
   QUICK PROFILE 3열
   HEART HEAVY USER
   SMALL FACTS
   SOCIAL NOTES
   NEXT
   FOOTER
   ========================================================================= */

/* 1) sticky header와 PROFILE hero 사이에 숨 쉴 공간 추가 */
.page-profile .section-profile {
  padding-top: clamp(64px, 8vh, 92px);
}

/* 2) PROFILE 전체를 구조용 2열 grid로만 재배치 */
.page-profile .profile-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  column-gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

/* 상단 주요 영역은 기존처럼 전체 폭 */
.page-profile .profile-page-header {
  grid-column: 1 / -1;
  grid-row: 1;
}

.page-profile .profile-hero {
  grid-column: 1 / -1;
  grid-row: 2;
}

.page-profile .profile-inner > .profile-detail-grid {
  grid-column: 1 / -1;
  grid-row: 3;
}

.page-profile .profile-heart-card {
  grid-column: 1 / -1;
  grid-row: 4;
}

/* 3) QUICK PROFILE — 기존 2+1 비대칭 배치를 3열로만 정렬 */
.page-profile .profile-inner > .profile-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
}

.page-profile .profile-detail-talk,
.page-profile .profile-detail-interaction,
.page-profile .profile-detail-mood {
  grid-column: auto;
  grid-row: auto;
  align-self: stretch;
}

.page-profile .profile-inner > .profile-detail-grid::after {
  grid-column: 1 / -1;
}

/* 4) 하단 정보 — SMALL FACTS / SOCIAL NOTES를 위아래로 분리 */
.page-profile .profile-small-facts-section {
  grid-column: 1 / -1;
  grid-row: 5;
  width: 100%;
  min-width: 0;
  margin-top: clamp(54px, 7vh, 88px);
}

.page-profile .profile-social-notes-section {
  grid-column: 1 / -1;
  grid-row: 6;
  width: 100%;
  min-width: 0;

  /* SMALL FACTS와 시각적으로 확실히 분리 */
  margin-top: clamp(86px, 11vh, 132px);
}

/* 각 섹션 내부 기존 디자인은 그대로, 전체 폭만 사용 */
.page-profile .profile-social-notes-grid {
  max-width: none;
}

/* 5) NEXT는 다시 전체 폭 */
.page-profile .profile-next {
  grid-column: 1 / -1;
  grid-row: 7;
  width: 100%;
}

/* -------------------------------------------------------------------------
   RESPONSIVE · 구조만 한 열로 복귀
   ------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .page-profile .section-profile {
    padding-top: clamp(46px, 6vh, 68px);
  }

  .page-profile .profile-inner {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
  }

  .page-profile .profile-page-header,
  .page-profile .profile-hero,
  .page-profile .profile-inner > .profile-detail-grid,
  .page-profile .profile-heart-card,
  .page-profile .profile-small-facts-section,
  .page-profile .profile-social-notes-section,
  .page-profile .profile-next {
    grid-column: 1;
    grid-row: auto;
  }

  .page-profile .profile-small-facts-section,
  .page-profile .profile-social-notes-section {
    width: 100%;
  }

  .page-profile .profile-social-notes-section {
    margin-top: clamp(68px, 9vh, 96px);
  }
}

@media (max-width: 760px) {
  .page-profile .section-profile {
    padding-top: clamp(38px, 5vh, 54px);
  }

  .page-profile .profile-inner > .profile-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
