/* ==========================================================================
   私人书卷 · page composition
   The reference's structure, rebuilt in ink, paper and silk.
   ========================================================================== */

:root {
  --fp-paper: #f2f0e9;
  --fp-paper-deep: #e4e0d5;
  --fp-paper-light: #faf8f2;
  --fp-ink: #151514;
  --fp-ink-2: #34322d;
  --fp-gray: #736f66;
  --fp-faint: #9b968a;
  --fp-line: rgba(21, 21, 20, 0.18);
  --fp-line-strong: rgba(21, 21, 20, 0.34);
  --fp-line-light: rgba(247, 244, 235, 0.2);
  --fp-side: clamp(24px, 7.5vw, 116px);
  --fp-head-side: clamp(18px, 4.5vw, 64px);
  --fp-header: 92px;
  --fp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fp-ease-paper: cubic-bezier(0.64, 0, 0.18, 1);
}

html {
  background: var(--fp-paper);
}

body {
  background: var(--fp-paper);
  color: var(--fp-ink);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::after {
  display: none !important;
}

body.is-locked {
  overflow: hidden;
}

.fp-wrap {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - (var(--fp-side) * 2)));
  margin: 0 auto;
}

.fp-scroll {
  position: relative;
  z-index: 2;
  margin-top: 100vh;
  margin-top: 100svh;
  border-top: 1px solid rgba(21, 21, 20, 0.2);
  background: var(--fp-paper);
  box-shadow: 0 -34px 90px rgba(22, 21, 17, 0.14);
}

.fp-scroll::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 0;
  left: 0;
  height: 18px;
  background: linear-gradient(to top, rgba(21, 21, 20, 0.09), transparent);
  pointer-events: none;
}

.fp-section {
  position: relative;
  padding: 112px 0 104px;
  overflow: hidden;
  scroll-margin-top: var(--fp-header);
}

.fp-eyebrow {
  color: var(--fp-gray);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.fp-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--fp-line-strong);
  background: none;
  color: var(--fp-gray);
  font-size: 9.5px;
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fp-text-link:hover {
  border-color: var(--fp-ink);
  color: var(--fp-ink);
}

.fp-owner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--fp-line-strong);
  background: transparent;
  color: var(--fp-gray);
  font-size: 9px;
  line-height: 1;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fp-owner-button:hover {
  border-color: var(--fp-ink);
  background: var(--fp-ink);
  color: var(--fp-paper-light);
}

.fp-owner-button--dark {
  border-color: var(--fp-line-strong);
  color: var(--fp-gray);
}

.fp-light-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 180px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(247, 244, 235, 0.52);
  background: transparent;
  color: #f3f0e8;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.fp-light-button:hover {
  background: #f3f0e8;
  color: var(--fp-ink);
}

.fp-vertical {
  position: absolute;
  top: 100px;
  right: calc(var(--fp-side) * 0.36);
  z-index: 0;
  color: rgba(21, 21, 20, 0.055);
  font-size: clamp(70px, 9.4vw, 154px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 0.8;
  pointer-events: none;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ==========================================================================
   Header
   ========================================================================== */

.fp-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: #f2efe7;
  background: #101010;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

body.is-header .fp-header {
  opacity: 1;
  pointer-events: auto;
}

body.is-scrolled .fp-header {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.13);
}

.fp-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  padding: 0 var(--fp-head-side);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.fp-header__serial {
  white-space: nowrap;
}

.fp-header__date {
  white-space: nowrap;
}

.fp-header__main {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 var(--fp-head-side);
  gap: 30px;
}

.fp-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  color: #f2efe7;
}

.fp-brand__slot {
  display: block;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  opacity: 0;
}

.fp-brand__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  opacity: 0;
  transition: opacity 0.45s ease 0.08s;
}

body.is-arrived .fp-brand__copy {
  opacity: 1;
}

.fp-brand__copy b {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.fp-brand__copy small {
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.2;
}

.fp-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  margin-left: auto;
}

.fp-nav a {
  position: relative;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.fp-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--fp-ease);
}

.fp-nav a:hover,
.fp-nav a:focus-visible {
  color: #fff;
}

.fp-nav a:hover::after,
.fp-nav a:focus-visible::after {
  transform: scaleX(1);
}

.fp-edit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  margin-left: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  background: transparent;
  color: #f2efe7;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fp-edit .icon {
  width: 12px;
  height: 12px;
}

.fp-edit:hover {
  border-color: #f2efe7;
  background: #f2efe7;
  color: var(--fp-ink);
}

body.is-owner .fp-edit {
  border-color: #f2efe7;
  background: #f2efe7;
  color: var(--fp-ink);
}

.fp-mobile-menu {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.fp-hero {
  --hp: 0;
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  background: var(--fp-paper);
  transform:
    translate3d(0, calc(var(--hp) * -102vh), 0)
    rotateX(calc(var(--hp) * 9deg))
    scale(calc(1 - (var(--hp) * 0.012)));
  transform-origin: 50% 0;
  backface-visibility: hidden;
  pointer-events: none;
  will-change: transform;
}

.fp-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  background: linear-gradient(to top, rgba(25, 23, 18, 0.13), transparent);
  opacity: calc(var(--hp) * 2.4);
  pointer-events: none;
}

.fp-hero__paper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(255, 255, 255, 0.58), transparent 62%),
    url("../img/paper-silk.jpg") center / cover;
  filter: grayscale(1) contrast(1.02);
}

.fp-hero__paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 8%, rgba(255, 255, 255, 0.42) 28%, transparent 47%),
    linear-gradient(292deg, transparent 40%, rgba(68, 64, 54, 0.06) 61%, transparent 80%),
    radial-gradient(ellipse at 50% 50%, transparent 30%, rgba(78, 73, 62, 0.08) 100%);
  opacity: 0.7;
  pointer-events: none;
}

.fp-hero__paper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255, 255, 255, 0.1) 4px),
    repeating-linear-gradient(90deg, transparent 0, transparent 4px, rgba(61, 57, 48, 0.028) 5px);
  mix-blend-mode: soft-light;
  opacity: 0.7;
  pointer-events: none;
}

.fp-hero__art {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  transform: none;
}

.fp-hero__ink {
  width: min(1140px, 79vw);
  opacity: 0.44;
  filter: blur(21px) drop-shadow(0 24px 30px transparent);
  transform: scale(1.045) translateY(18px);
  transition:
    opacity 1.25s ease,
    filter 1.55s ease,
    transform 1.7s var(--fp-ease);
}

body.is-lit .fp-hero__ink {
  opacity: 1;
  filter:
    blur(0)
    drop-shadow(0 3px 2px rgba(23, 22, 18, 0.19))
    drop-shadow(0 18px 26px rgba(23, 22, 18, 0.11));
  transform: scale(1) translateY(0);
}

.fp-hero__ink img {
  display: block;
  width: 100%;
  height: auto;
  transform: translate(calc(var(--fp-mx, 0) * 10px), calc(var(--fp-my, 0) * 8px));
  transition: transform 1.3s var(--fp-ease);
  user-select: none;
}

.fp-hero__border {
  position: absolute;
  inset: 24px;
  z-index: 2;
  border: 1px solid rgba(27, 25, 20, 0.16);
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease 0.7s;
}

body.is-lit .fp-hero__border {
  opacity: 1;
}

.fp-hero__meta {
  position: absolute;
  bottom: 58px;
  left: clamp(42px, 7vw, 112px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--fp-gray);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.07em;
  line-height: 1.5;
  opacity: 0;
  transition: opacity 0.9s ease 0.9s;
}

.fp-hero__meta #profileTagline {
  max-width: 340px;
  color: var(--fp-ink-2);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.03em;
  line-height: 1.6;
}

body.is-lit .fp-hero__meta {
  opacity: 1;
}

.fp-hero__bottom {
  position: absolute;
  right: clamp(42px, 7vw, 112px);
  bottom: 56px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--fp-gray);
  opacity: 0;
  transition: opacity 0.9s ease 1.1s;
}

body.is-lit .fp-hero__bottom {
  opacity: 1;
}

.fp-hero__pager {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
}

.fp-hero__pager b {
  color: var(--fp-ink);
  font-size: 20px;
  font-weight: 400;
  line-height: 0.8;
}

.fp-hero__pager span {
  color: var(--fp-faint);
  font-size: 8.5px;
}

.fp-hero__pager i {
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 3px 1px 7px;
  background: var(--fp-line-strong);
}

.fp-hero__hint {
  color: var(--fp-gray);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.fp-hero__hint span {
  color: var(--fp-ink);
}

/* Floating avatar + copy */

.fp-avatar {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 120;
  display: block;
  width: 116px;
  height: 116px;
  overflow: hidden;
  border: 1px solid rgba(21, 21, 20, 0.24);
  border-radius: 50%;
  background: var(--fp-ink);
  box-shadow: 0 18px 30px rgba(24, 22, 17, 0.14);
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition:
    left 1.1s var(--fp-ease),
    top 1.1s var(--fp-ease),
    width 1.1s var(--fp-ease),
    height 1.1s var(--fp-ease),
    border-color 0.6s ease,
    box-shadow 0.7s ease,
    opacity 0.28s ease;
}

.fp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.is-avatar .fp-avatar {
  opacity: 1;
}

body.is-lifted .fp-avatar {
  left: var(--fp-avatar-x, 80px);
  top: var(--fp-avatar-y, 46px);
  width: var(--fp-avatar-size, 38px);
  height: var(--fp-avatar-size, 38px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  pointer-events: auto;
  cursor: pointer;
}

.fp-avatar-copy {
  position: fixed;
  top: calc(50% + 82px);
  left: 50%;
  z-index: 119;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--fp-ink);
  text-align: center;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
  transition: opacity 0.35s ease, top 1s var(--fp-ease);
}

body.is-avatar .fp-avatar-copy {
  opacity: 1;
}

body.is-lifted .fp-avatar-copy {
  top: calc(50% + 64px);
  opacity: 0;
}

.fp-avatar-copy b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  line-height: 1.2;
}

.fp-avatar-copy span {
  color: var(--fp-gray);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* Floating seal */

.fp-seal {
  position: fixed;
  top: 52%;
  right: clamp(18px, 3vw, 40px);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--fp-ink);
  opacity: 0;
  transform: translateY(-50%) scale(0.86);
  pointer-events: none;
  transition: opacity 0.8s ease 0.3s, transform 0.9s var(--fp-ease) 0.3s;
}

body.is-arrived .fp-seal {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.fp-seal__ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid var(--fp-ink);
  border-radius: 50%;
  background: rgba(248, 246, 239, 0.86);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.5s var(--fp-ease);
}

.fp-seal__label {
  color: var(--fp-gray);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  writing-mode: vertical-rl;
}

.fp-seal:hover .fp-seal__ring {
  background: var(--fp-ink);
  color: var(--fp-paper-light);
  transform: rotate(-8deg);
}

.fp-seal:hover .fp-seal__label {
  color: var(--fp-ink);
}

/* ==========================================================================
   Work blog
   ========================================================================== */

.fp-workblog {
  padding-top: 120px;
  padding-bottom: 96px;
  border-top: 1px solid rgba(21, 21, 20, 0.12);
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255, 255, 255, 0.62), transparent 55%),
    var(--fp-paper);
}

.fp-workblog__ghost {
  position: absolute;
  top: 54px;
  left: 50%;
  color: rgba(21, 21, 20, 0.035);
  font-size: clamp(90px, 14vw, 210px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.8;
  pointer-events: none;
  transform: translateX(-50%);
  white-space: nowrap;
}

.fp-workblog__ring {
  position: absolute;
  top: -270px;
  right: -170px;
  width: 570px;
  height: 570px;
  border: 1px solid rgba(21, 21, 20, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.fp-workblog__ring::before,
.fp-workblog__ring::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(21, 21, 20, 0.055);
  border-radius: 50%;
}

.fp-workblog__ring::before {
  inset: 68px;
}

.fp-workblog__ring::after {
  inset: 132px;
}

.fp-title {
  position: relative;
  z-index: 2;
  margin-bottom: 46px;
}

.fp-title--center {
  text-align: center;
}

.fp-title__main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}

.fp-title__main h2 {
  font-family: var(--sans);
  font-size: clamp(34px, 3.7vw, 50px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.25;
  white-space: nowrap;
}

.fp-title__rule {
  position: relative;
  display: block;
  width: min(230px, 18vw);
  height: 1px;
  background: var(--fp-line);
}

.fp-title__rule::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fp-gray);
}

.fp-title__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 17px;
  color: var(--fp-gray);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.fp-title__meta b {
  color: var(--fp-ink-2);
  font-weight: 400;
}

.fp-title__meta .fp-owner-button {
  margin-left: 6px;
}

.fp-work-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--fp-line-strong);
}

.fp-work-col {
  min-width: 0;
  padding: 0 34px;
}

.fp-work-col:first-child {
  padding-left: 0;
}

.fp-work-col:last-child {
  padding-right: 0;
}

.fp-work-col + .fp-work-col {
  border-left: 1px solid var(--fp-line);
}

.fp-work-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 8px;
  width: 100%;
  padding: 24px 0 22px;
  border: 0;
  border-bottom: 1px solid var(--fp-line);
  background: none;
  color: var(--fp-ink);
  text-align: left;
  cursor: pointer;
}

.fp-work-col .fp-work-item:last-child {
  border-bottom: 0;
}

.fp-work-item__date {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.3;
}

.fp-work-item__date b {
  color: var(--fp-ink-2);
  font-size: 11px;
  font-weight: 400;
}

.fp-work-item__title {
  display: block;
  color: var(--fp-ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.48;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, transform 0.3s var(--fp-ease);
}

.fp-work-item__excerpt {
  display: -webkit-box;
  grid-column: 1 / 2;
  overflow: hidden;
  margin-top: 7px;
  color: var(--fp-gray);
  font-size: 10px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fp-work-item__meta {
  display: flex;
  grid-column: 1 / 2;
  gap: 8px;
  margin-top: 10px;
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.3;
}

.fp-work-item__arrow {
  display: flex;
  grid-column: 2 / 3;
  grid-row: 2 / 4;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 4px;
  color: var(--fp-faint);
  transition: color 0.2s ease, transform 0.25s var(--fp-ease);
}

.fp-work-item__arrow .icon {
  width: 13px;
  height: 13px;
}

.fp-work-item:hover .fp-work-item__title {
  transform: translateX(3px);
}

.fp-work-item:hover .fp-work-item__arrow {
  color: var(--fp-ink);
  transform: translate(2px, -2px);
}

.fp-work-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  color: var(--fp-faint);
  font-size: 9px;
  line-height: 1.5;
}

.fp-work-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  color: var(--fp-gray);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
}

.fp-file-list > .comment-empty {
  grid-column: 1 / -1;
  padding: 36px 0;
  color: var(--fp-gray);
}

/* ==========================================================================
   Files
   ========================================================================== */

.fp-files {
  min-height: 790px;
  padding-top: 105px;
  padding-bottom: 76px;
  background: #d8d4c9;
}

.fp-files__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(250, 248, 241, 0.4), transparent 40%),
    url("../img/paper-silk.jpg") center / cover;
  filter: grayscale(1) contrast(1.06);
  opacity: 0.65;
}

.fp-files::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 60% 42%, transparent 20%, rgba(45, 42, 34, 0.08) 100%),
    url("../img/calligraphy-ink.webp") right -12% center / 62% auto no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.12;
  pointer-events: none;
}

.fp-vertical--files {
  top: 90px;
  right: 2.6vw;
  color: rgba(21, 21, 20, 0.075);
}

.fp-files__orbit {
  position: absolute;
  top: 126px;
  right: 12vw;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(21, 21, 20, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.fp-files__orbit::before,
.fp-files__orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 1px;
  background: rgba(21, 21, 20, 0.18);
  transform-origin: center;
}

.fp-files__orbit::before {
  transform: translate(-50%, -50%) rotate(38deg);
}

.fp-files__orbit::after {
  transform: translate(-50%, -50%) rotate(-38deg);
}

.fp-side-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.fp-side-title h2 {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: clamp(34px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.fp-side-title__aside {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 7px;
  max-width: 300px;
  color: var(--fp-gray);
  text-align: right;
}

.fp-side-title__aside p {
  font-size: 10px;
  line-height: 1.7;
}

.fp-side-title__aside > span {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-side-title__aside b {
  color: var(--fp-ink);
  font-weight: 400;
}

.fp-side-title__aside .fp-owner-button {
  margin-top: 4px;
}

.fp-file-stage {
  position: relative;
  z-index: 2;
}

.fp-file-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.fp-file-shell {
  position: relative;
  min-width: 0;
}

.fp-file-shell:nth-child(1) {
  margin-top: 18px;
}

.fp-file-shell:nth-child(2) {
  margin-top: 61px;
}

.fp-file-shell:nth-child(3) {
  margin-top: 0;
}

.fp-file-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 25px 23px 22px;
  clip-path: polygon(0 2.4%, 100% 0, 100% 97.8%, 0 100%);
  background: var(--fp-ink);
  color: #f3f0e8;
  text-decoration: none;
  box-shadow: 0 20px 34px rgba(31, 29, 23, 0.12);
  transition: transform 0.35s var(--fp-ease), box-shadow 0.35s ease;
}

.fp-file-shell:nth-child(2) .fp-file-card {
  background: #2a2824;
}

.fp-file-shell:nth-child(3) .fp-file-card {
  background: #1f1e1b;
}

.fp-file-card:hover {
  transform: translateY(-6px) rotate(-0.35deg);
  box-shadow: 0 28px 44px rgba(31, 29, 23, 0.19);
}

.fp-file-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(243, 240, 232, 0.46);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-file-card__type {
  color: rgba(243, 240, 232, 0.7);
}

.fp-file-card__name {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 45px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fp-file-card__desc {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 12px;
  color: rgba(243, 240, 232, 0.56);
  font-size: 9.5px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fp-file-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 30px;
  color: rgba(243, 240, 232, 0.42);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.4;
}

.fp-file-card__download {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 240, 232, 0.15);
  color: #f3f0e8;
  font-size: 9px;
  line-height: 1.4;
}

.fp-file-card__download .icon {
  width: 13px;
  height: 13px;
}

.fp-file-delete {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid rgba(243, 240, 232, 0.34);
  background: rgba(20, 20, 18, 0.65);
  color: #f3f0e8;
  cursor: pointer;
}

body.is-owner .fp-file-delete {
  display: inline-flex !important;
}

.fp-file-delete .icon {
  width: 11px;
  height: 11px;
}

.fp-files-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  color: var(--fp-gray);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.fp-files .comment-empty {
  color: var(--fp-gray);
}

/* ==========================================================================
   Guestbook
   ========================================================================== */

.fp-guestbook {
  padding: 108px 0 102px;
  overflow: hidden;
  background: #111110;
  color: #f2efe7;
}

.fp-guestbook::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 84% 14%, rgba(255, 255, 255, 0.09), transparent 29%),
    repeating-linear-gradient(118deg, transparent 0, transparent 26px, rgba(255, 255, 255, 0.018) 27px);
  pointer-events: none;
}

.fp-guestbook__fold {
  position: absolute;
  top: 5%;
  right: -9%;
  width: 63%;
  height: 77%;
  border: 1px solid rgba(245, 241, 232, 0.12);
  background: rgba(245, 241, 232, 0.025);
  clip-path: polygon(16% 0, 100% 14%, 84% 100%, 0 82%);
  transform: rotate(-8deg);
  pointer-events: none;
}

.fp-guestbook__fold--two {
  top: 15%;
  right: 3%;
  width: 52%;
  height: 62%;
  background: rgba(245, 241, 232, 0.018);
  transform: rotate(7deg);
}

.fp-vertical--guestbook {
  top: 94px;
  left: calc(var(--fp-side) * 0.35);
  right: auto;
  color: rgba(245, 241, 232, 0.055);
}

.fp-guestbook__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr);
  gap: 92px;
  align-items: start;
}

.fp-guestbook__lead {
  position: relative;
  z-index: 2;
}

.fp-guestbook__lead .fp-eyebrow {
  color: rgba(245, 241, 232, 0.52);
}

.fp-guestbook__lead h2 {
  margin-top: 12px;
  font-size: clamp(40px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: 0.11em;
  line-height: 1.2;
}

.fp-guestbook__note {
  margin-top: 20px;
  color: rgba(245, 241, 232, 0.56);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.8;
}

.fp-count {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 38px;
  color: rgba(245, 241, 232, 0.42);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-count b {
  color: #f2efe7;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.fp-guestbook__lead .fp-light-button {
  margin-top: 27px;
}

.fp-guestbook__list {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid rgba(245, 241, 232, 0.2);
  counter-reset: guest;
}

.fp-guestbook__list .guest-note {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 21px 28px 20px 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.14);
  counter-increment: guest;
}

.fp-guestbook__list .guest-note:nth-child(2n) {
  padding-right: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(245, 241, 232, 0.14);
}

.fp-guestbook__list .guest-note::before {
  content: "0" counter(guest);
  display: block;
  margin-bottom: 14px;
  color: rgba(245, 241, 232, 0.32);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1;
}

.fp-guestbook__list .guest-note__text {
  color: rgba(245, 241, 232, 0.76);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.8;
}

.fp-guestbook__list .guest-note__meta {
  margin-top: auto;
  padding-top: 13px;
  color: rgba(245, 241, 232, 0.36);
  font-size: 8.5px;
}

.fp-guestbook__list .guest-note__name {
  color: rgba(245, 241, 232, 0.65);
}

.fp-guestbook__list .guest-note__delete {
  color: rgba(245, 241, 232, 0.5);
}

.fp-guestbook__list .guest-note__delete:hover {
  color: #f2efe7;
}

.fp-guestbook__list .comment-empty {
  grid-column: 1 / -1;
  padding: 40px 0;
  color: rgba(245, 241, 232, 0.45);
}

/* ==========================================================================
   Daily
   ========================================================================== */

.fp-daily {
  background: var(--fp-paper);
}

.fp-daily__ink {
  position: absolute;
  top: 0;
  right: -7%;
  width: 66%;
  height: 100%;
  background: url("../img/calligraphy-ink.webp") center / contain no-repeat;
  opacity: 0.045;
  filter: grayscale(1);
  pointer-events: none;
  transform: rotate(-3deg);
}

.fp-vertical--daily {
  top: 96px;
  right: calc(var(--fp-side) * 0.3);
  color: rgba(21, 21, 20, 0.055);
}

.fp-title--left {
  text-align: left;
}

.fp-title--left .fp-title__main {
  justify-content: flex-start;
}

.fp-title--left .fp-title__rule {
  width: min(360px, 28vw);
}

.fp-title--left .fp-title__rule::after {
  right: auto;
  left: -4px;
}

.fp-title--left .fp-title__meta {
  justify-content: space-between;
}

.fp-daily__layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.fp-daily__list {
  border-top: 1px solid var(--fp-line-strong);
}

.fp-daily__tab {
  position: relative;
  display: grid;
  grid-template-columns: 51px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid var(--fp-line);
  background: none;
  color: var(--fp-ink);
  text-align: left;
  cursor: pointer;
  transition: background 0.25s ease, padding 0.25s ease;
}

.fp-daily__tab:hover {
  padding-left: 9px;
}

.fp-daily__tab.is-active {
  padding-left: 12px;
  background: rgba(21, 21, 20, 0.055);
}

.fp-daily__tab.is-active::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 2px;
  background: var(--fp-ink);
}

.fp-daily__tab-date {
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.fp-daily__tab-date b {
  display: block;
  color: var(--fp-ink-2);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}

.fp-daily__tab-title {
  display: -webkit-box;
  overflow: hidden;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.fp-daily__tab-tag {
  display: block;
  margin-top: 5px;
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 7.5px;
  line-height: 1.3;
}

.fp-daily__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  height: 420px;
  min-height: 0;
  border: 1px solid var(--fp-line);
  background: var(--fp-paper-light);
}

.fp-daily__feature.is-text {
  grid-template-columns: minmax(0, 1fr);
  height: auto;
  min-height: 360px;
}

.fp-daily__feature.is-text .fp-daily__copy {
  padding: 44px 42px 31px;
}

.fp-daily__feature.is-text .fp-daily__text {
  max-width: 760px;
  font-size: 24px;
  line-height: 1.72;
  -webkit-line-clamp: 9;
}

.fp-daily__media {
  position: relative;
  min-height: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #d8d3c8;
}

.fp-daily__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: grayscale(1) contrast(1.04);
}

.fp-daily__media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 15px;
  background: rgba(16, 16, 15, 0.66);
  color: rgba(247, 244, 236, 0.74);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-daily__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: 31px 28px 23px;
}

.fp-daily__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-daily__meta .tag {
  color: var(--fp-ink-2);
}

.fp-daily__text {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 18px;
  color: var(--fp-ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.fp-daily__quote {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--fp-line);
  color: var(--fp-gray);
  font-family: var(--serif);
  font-size: 11.5px;
  line-height: 1.7;
}

.fp-daily__quote cite {
  display: block;
  margin-top: 3px;
  color: var(--fp-faint);
  font-family: var(--sans);
  font-size: 8.5px;
  font-style: normal;
}

.fp-daily__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--fp-line);
}

.fp-daily__actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--fp-gray);
  font-size: 8.5px;
  line-height: 1.4;
  cursor: pointer;
}

.fp-daily__actions button:hover {
  color: var(--fp-ink);
}

.fp-daily__actions .is-liked {
  color: var(--fp-ink);
}

.fp-daily__actions .icon {
  width: 13px;
  height: 13px;
}

.fp-daily__actions .read-more {
  margin-left: auto;
  color: var(--fp-ink);
  border-bottom: 1px solid var(--fp-ink);
  padding-bottom: 2px;
}

.fp-daily__empty {
  grid-column: 1 / -1;
  padding: 70px 30px;
  color: var(--fp-gray);
  font-family: var(--serif);
  font-size: 18px;
}

/* ==========================================================================
   Sound
   ========================================================================== */

.fp-sound {
  padding-top: 98px;
  padding-bottom: 100px;
  background: #ddd9cf;
}

.fp-sound__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 248, 242, 0.46), transparent 55%),
    url("../img/paper-silk.jpg") center / cover;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.6;
}

.fp-vertical--sound {
  top: 76px;
  right: calc(var(--fp-side) * 0.35);
  color: rgba(21, 21, 20, 0.06);
}

.fp-title--sound {
  margin-bottom: 38px;
}

.fp-sound__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 54px;
  align-items: stretch;
}

.fp-music.music-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  min-height: 330px;
  padding: 25px;
  border: 1px solid rgba(21, 21, 20, 0.2);
  background: rgba(250, 248, 242, 0.64);
}

.fp-record.record-sleeve {
  width: 300px;
  max-width: 100%;
  height: 300px;
  aspect-ratio: 1;
  background: var(--fp-ink);
  box-shadow: 0 20px 36px rgba(20, 19, 16, 0.17);
}

.fp-record .record-sleeve__label {
  top: 22px;
  left: 21px;
  color: rgba(247, 244, 236, 0.48);
  font-size: 7.5px;
}

.fp-record .record-sleeve__title {
  top: 46px;
  right: 20px;
  left: 21px;
  color: #f5f1e8;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.32;
}

.fp-record .record-sleeve__mark {
  top: 22px;
  right: 21px;
  width: 7px;
  height: 7px;
  background: rgba(247, 244, 236, 0.8);
}

.fp-record .record-sleeve::after {
  inset: 11px;
  border-color: rgba(247, 244, 236, 0.18);
}

.fp-record .music-play {
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-color: rgba(247, 244, 236, 0.62);
}

.fp-record .music-play .icon {
  width: 15px;
  height: 15px;
}

.fp-music__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.fp-music__info h3 {
  margin-top: 9px;
  color: var(--fp-ink);
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 36px);
  font-weight: 400;
  line-height: 1.35;
}

.fp-music__sub {
  margin-top: 4px;
  color: var(--fp-gray);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-music__note {
  max-width: 360px;
  margin-top: 16px;
  color: var(--fp-gray);
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.8;
}

.fp-music__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-music__controls .music-status {
  color: var(--fp-gray);
}

.fp-music__controls .fp-text-link {
  margin-left: auto;
}

.fp-music__wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  margin-top: 21px;
  pointer-events: none;
}

.fp-music__wave i {
  display: block;
  width: 1px;
  height: 6px;
  background: rgba(21, 21, 20, 0.26);
  transition: height 0.3s ease;
}

.fp-music__wave i:nth-child(2n) {
  height: 12px;
}

.fp-music__wave i:nth-child(3n) {
  height: 16px;
}

.fp-music__wave i:nth-child(5n) {
  height: 9px;
}

.fp-music.is-playing .fp-music__wave i {
  animation: fp-wave 2.2s ease-in-out infinite alternate;
}

.fp-music.is-playing .fp-music__wave i:nth-child(2n) {
  animation-delay: -0.7s;
}

.fp-music.is-playing .fp-music__wave i:nth-child(3n) {
  animation-delay: -1.2s;
}

@keyframes fp-wave {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1);
  }
}

.fp-link-cards {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.fp-link-card {
  display: grid;
  grid-template-columns: 26px 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 0 17px;
  border: 1px solid rgba(21, 21, 20, 0.18);
  background: rgba(250, 248, 242, 0.52);
  color: var(--fp-ink);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.fp-link-card:hover {
  border-color: var(--fp-ink);
  background: var(--fp-ink);
  color: var(--fp-paper-light);
}

.fp-link-card__num {
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 8px;
}

.fp-link-card .icon {
  width: 17px;
  height: 17px;
  color: var(--fp-gray);
  transition: color 0.25s ease;
}

.fp-link-card:hover .icon,
.fp-link-card:hover .fp-link-card__num {
  color: rgba(250, 248, 242, 0.6);
}

.fp-link-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fp-link-card__body b {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.fp-link-card__body small {
  color: var(--fp-faint);
  font-size: 8px;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.fp-link-card:hover small {
  color: rgba(250, 248, 242, 0.5);
}

.fp-link-card__arrow {
  color: var(--fp-faint);
  font-family: var(--mono);
  font-size: 12px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.fp-link-card:hover .fp-link-card__arrow {
  color: var(--fp-paper-light);
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.fp-footer {
  position: relative;
  padding: 67px 0 25px;
  overflow: hidden;
  background: #101010;
  color: #f2efe7;
}

.fp-footer__ghost {
  position: absolute;
  right: 3%;
  bottom: -0.3em;
  color: rgba(242, 239, 231, 0.035);
  font-family: var(--serif);
  font-size: clamp(220px, 36vw, 510px);
  line-height: 0.8;
  pointer-events: none;
}

.fp-footer .fp-wrap {
  position: relative;
  z-index: 2;
}

.fp-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr) minmax(0, 0.7fr);
  gap: 54px;
  align-items: start;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(242, 239, 231, 0.17);
}

.fp-footer__brand {
  display: flex;
  align-items: center;
  gap: 17px;
}

.fp-footer__seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(242, 239, 231, 0.5);
  border-radius: 50%;
  color: #f2efe7;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.fp-footer__brand div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fp-footer__brand b {
  color: #f2efe7;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.fp-footer__brand small {
  color: rgba(242, 239, 231, 0.47);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.4;
}

.fp-footer__slogan {
  color: rgba(242, 239, 231, 0.8);
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.65;
  letter-spacing: 0.03em;
}

.fp-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding-top: 2px;
}

.fp-footer__links a {
  color: rgba(242, 239, 231, 0.55);
  font-size: 9px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.fp-footer__links a:hover {
  color: #f2efe7;
}

.fp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 21px;
  color: rgba(242, 239, 231, 0.36);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
}

.fp-footer__bottom > div {
  display: flex;
  align-items: center;
  gap: 17px;
}

.fp-footer .fp-text-link {
  border-color: rgba(242, 239, 231, 0.27);
  color: rgba(242, 239, 231, 0.48);
}

.fp-footer .fp-text-link:hover {
  border-color: #f2efe7;
  color: #f2efe7;
}

.fp-footer__meta {
  color: rgba(242, 239, 231, 0.25);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  :root {
    --fp-side: clamp(24px, 6vw, 82px);
  }

  .fp-work-col {
    padding: 0 25px;
  }

  .fp-work-item__title {
    font-size: 18px;
  }

  .fp-files {
    min-height: 700px;
  }

  .fp-file-card {
    min-height: 315px;
    padding: 21px 19px 18px;
  }

  .fp-file-card__name {
    margin-top: 36px;
    font-size: 19px;
  }

  .fp-guestbook__inner {
    gap: 55px;
  }

  .fp-daily__layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
  }

  .fp-daily__text {
    font-size: 17.5px;
  }

  .fp-music.music-card {
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 24px;
    padding: 20px;
  }

  .fp-record.record-sleeve {
    width: 255px;
    height: 255px;
  }

  .fp-record .record-sleeve__title {
    font-size: 24px;
  }
}

@media (max-width: 980px) {
  :root {
    --fp-header: 82px;
    --fp-side: 34px;
    --fp-head-side: 26px;
  }

  .fp-header__top {
    height: 24px;
  }

  .fp-header__main {
    height: 58px;
  }

  .fp-nav {
    gap: 17px;
  }

  .fp-nav a {
    font-size: 10px;
  }

  .fp-hero__ink {
    width: min(86vw, 850px);
  }

  .fp-hero__border {
    inset: 16px;
  }

  .fp-workblog {
    padding-top: 90px;
  }

  .fp-work-col {
    padding: 0 22px;
  }

  .fp-work-item__title {
    font-size: 17px;
  }

  .fp-work-item__excerpt {
    -webkit-line-clamp: 2;
  }

  .fp-files {
    min-height: 0;
    padding-bottom: 62px;
  }

  .fp-file-card {
    min-height: 300px;
  }

  .fp-file-shell:nth-child(2) {
    margin-top: 38px;
  }

  .fp-guestbook__inner {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 35px;
  }

  .fp-guestbook__list {
    grid-template-columns: 1fr;
  }

  .fp-guestbook__list .guest-note {
    min-height: 0;
    padding: 17px 0;
  }

  .fp-guestbook__list .guest-note:nth-child(2n) {
    padding-left: 0;
    border-left: 0;
  }

  .fp-guestbook__list .guest-note::before {
    position: absolute;
    top: 17px;
    right: 0;
    margin: 0;
  }

  .fp-daily__layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 22px;
  }

  .fp-daily__list {
    display: flex;
    width: 100%;
    overflow-x: auto;
    border-top: 1px solid var(--fp-line-strong);
    scrollbar-width: thin;
  }

  .fp-daily__tab {
    flex: 0 0 230px;
    border-right: 1px solid var(--fp-line);
    border-bottom: 0;
    padding: 14px 16px;
  }

  .fp-daily__tab.is-active {
    padding-left: 16px;
  }

  .fp-daily__tab.is-active::before {
    top: auto;
    right: 16px;
    bottom: 0;
    left: 16px;
    width: auto;
    height: 2px;
  }

  .fp-daily__feature {
    width: 100%;
    height: 420px;
  }

  .fp-daily__feature.is-text {
    height: auto;
  }

  .fp-sound__layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .fp-link-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .fp-link-card {
    grid-template-columns: 20px 20px 1fr;
    min-height: 86px;
    padding: 12px 13px;
    gap: 9px;
  }

  .fp-link-card__arrow {
    display: none;
  }

  .fp-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .fp-footer__links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  :root {
    --fp-header: 64px;
    --fp-side: 20px;
    --fp-head-side: 18px;
    --fp-avatar-size: 32px;
  }

  .fp-header__top {
    display: none;
  }

  .fp-header__main {
    height: 64px;
    padding: 0 var(--fp-head-side);
    gap: 14px;
  }

  .fp-nav {
    display: none;
  }

  .fp-mobile-menu {
    display: block;
    margin-left: auto;
    color: #f2efe7;
  }

  .fp-mobile-menu summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    letter-spacing: 0.06em;
    list-style: none;
    cursor: pointer;
  }

  .fp-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .fp-mobile-menu summary::before {
    content: "";
    width: 13px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
  }

  .fp-mobile-menu nav {
    position: absolute;
    top: 64px;
    right: 18px;
    display: flex;
    flex-direction: column;
    width: 166px;
    padding: 9px 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: #111110;
  }

  .fp-mobile-menu nav a {
    padding: 11px 16px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
  }

  .fp-mobile-menu nav a:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
  }

  .fp-brand {
    gap: 9px;
  }

  .fp-brand__slot {
    width: 32px;
    height: 32px;
  }

  .fp-brand__copy b {
    font-size: 11.5px;
  }

  .fp-brand__copy small {
    font-size: 7px;
  }

  .fp-edit {
    min-height: 28px;
    padding: 0 8px;
    font-size: 8.5px;
  }

  .fp-avatar {
    width: 88px;
    height: 88px;
  }

  .fp-avatar-copy {
    top: calc(50% + 66px);
  }

  .fp-avatar-copy b {
    font-size: 20px;
  }

  .fp-hero__ink {
    width: 128vw;
    max-width: none;
    transform: scale(1.025) translateY(12px);
  }

  .fp-hero__border {
    inset: 10px;
  }

  .fp-hero__meta {
    bottom: 44px;
    left: 22px;
    font-size: 8px;
  }

  .fp-hero__meta #profileTagline {
    max-width: 260px;
    font-size: 12px;
  }

  .fp-hero__bottom {
    right: 22px;
    bottom: 42px;
    gap: 18px;
  }

  .fp-hero__pager i {
    width: 42px;
  }

  .fp-hero__hint {
    display: none;
  }

  .fp-seal {
    display: none;
  }

  .fp-scroll {
    margin-top: 100vh;
    margin-top: 100svh;
  }

  .fp-section {
    padding: 76px 0 72px;
  }

  .fp-vertical {
    display: none;
  }

  .fp-workblog {
    padding-top: 74px;
    padding-bottom: 66px;
  }

  .fp-workblog__ghost {
    top: 32px;
    font-size: 100px;
    opacity: 0.6;
  }

  .fp-workblog__ring {
    display: none;
  }

  .fp-title {
    margin-bottom: 32px;
  }

  .fp-title__main {
    gap: 13px;
    margin-top: 9px;
  }

  .fp-title__main h2 {
    font-size: 32px;
  }

  .fp-title__rule {
    width: 60px;
  }

  .fp-title__meta {
    gap: 9px 15px;
    margin-top: 13px;
    font-size: 8px;
  }

  .fp-work-grid {
    display: block;
  }

  .fp-work-col {
    padding: 0;
    border-left: 0 !important;
  }

  .fp-work-col:nth-child(3) {
    display: block;
  }

  .fp-work-col + .fp-work-col {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--fp-line);
  }

  .fp-work-item {
    padding: 20px 0 18px;
  }

  .fp-work-item__title {
    font-size: 19px;
  }

  .fp-work-item__excerpt {
    font-size: 10px;
    -webkit-line-clamp: 2;
  }

  .fp-work-item__date {
    margin-bottom: 7px;
  }

  .fp-work-foot {
    margin-top: 20px;
  }

  .fp-files {
    padding-top: 70px;
    padding-bottom: 50px;
  }

  .fp-side-title {
    display: block;
    margin-bottom: 28px;
  }

  .fp-side-title h2 {
    font-size: 34px;
  }

  .fp-side-title__aside {
    align-items: flex-start;
    max-width: none;
    margin-top: 14px;
    text-align: left;
  }

  .fp-files__orbit {
    display: none;
  }

  .fp-file-list {
    display: block;
  }

  .fp-file-shell {
    margin-top: 0 !important;
  }

  .fp-file-shell:nth-child(3) {
    display: block;
  }

  .fp-file-shell + .fp-file-shell {
    margin-top: 15px !important;
  }

  .fp-file-card {
    min-height: 250px;
    padding: 20px 18px 17px;
    clip-path: polygon(0 2%, 100% 0, 100% 98%, 0 100%);
  }

  .fp-file-card__name {
    margin-top: 24px;
    font-size: 21px;
  }

  .fp-file-card__meta {
    padding-top: 20px;
  }

  .fp-file-card__download {
    margin-top: 12px;
  }

  .fp-files-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 25px;
  }

  .fp-guestbook {
    padding: 72px 0 68px;
  }

  .fp-guestbook__fold {
    width: 120%;
    height: 54%;
    right: -32%;
    opacity: 0.7;
  }

  .fp-guestbook__fold--two {
    display: none;
  }

  .fp-guestbook__inner {
    display: block;
  }

  .fp-guestbook__lead h2 {
    margin-top: 8px;
    font-size: 42px;
  }

  .fp-guestbook__note {
    margin-top: 13px;
    font-size: 13px;
  }

  .fp-count {
    margin-top: 22px;
  }

  .fp-guestbook__lead .fp-light-button {
    margin-top: 17px;
  }

  .fp-guestbook__list {
    margin-top: 32px;
  }

  .fp-guestbook__list .guest-note {
    min-height: 0;
    padding: 15px 0;
  }

  .fp-guestbook__list .guest-note__text {
    font-size: 13px;
  }

  .fp-guestbook__list .guest-note__meta {
    padding-top: 9px;
  }

  .fp-guestbook__list .guest-note::before {
    position: static;
    margin-bottom: 8px;
  }

  .fp-daily__layout {
    gap: 18px;
  }

  .fp-title--left .fp-title__meta {
    display: flex;
    justify-content: space-between;
  }

  .fp-daily__feature {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .fp-daily__feature.is-text {
    display: flex;
  }

  .fp-daily__feature.is-text .fp-daily__text {
    max-width: none;
  }

  .fp-daily__media {
    min-height: 250px;
    height: 250px;
  }

  .fp-daily__media img {
    height: 100%;
    min-height: 0;
  }

  .fp-daily__copy {
    padding: 22px 18px 17px;
  }

  .fp-daily__text {
    margin-top: 14px;
    font-size: 16.5px;
    -webkit-line-clamp: 9;
  }


  .fp-daily__feature.is-text .fp-daily__copy {
    padding: 22px 18px 17px;
  }

  .fp-daily__feature.is-text .fp-daily__text {
    font-size: 18px;
    line-height: 1.75;
    -webkit-line-clamp: 10;
  }

  .fp-daily__quote {
    font-size: 10.5px;
  }

  .fp-daily__actions {
    padding-top: 15px;
  }

  .fp-daily__tab {
    flex-basis: 195px;
    padding: 12px 13px;
  }

  .fp-daily__tab.is-active {
    padding-left: 13px;
  }

  .fp-daily__tab-title {
    font-size: 12.5px;
  }

  .fp-sound {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .fp-music.music-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 17px;
  }

  .fp-record.record-sleeve {
    width: 100%;
    height: auto;
    aspect-ratio: 1.42;
  }

  .fp-record .record-sleeve__title {
    top: 40px;
    font-size: 34px;
  }

  .fp-record .music-play {
    right: 15px;
    bottom: 15px;
  }

  .fp-music__info h3 {
    font-size: 30px;
  }

  .fp-music__note {
    font-size: 11.5px;
  }

  .fp-link-cards {
    display: flex;
  }

  .fp-link-card {
    grid-template-columns: 24px 20px minmax(0, 1fr) 18px;
    min-height: 66px;
  }

  .fp-footer {
    padding-top: 48px;
  }

  .fp-footer__top {
    display: flex;
    flex-direction: column;
    gap: 27px;
    padding-bottom: 31px;
  }

  .fp-footer__brand {
    margin-bottom: 2px;
  }

  .fp-footer__seal {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .fp-footer__slogan {
    font-size: 22px;
  }

  .fp-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 21px;
  }

  .fp-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 18px;
    font-size: 7.5px;
  }

  .fp-footer__bottom > div {
    gap: 14px;
  }
}

@media (max-width: 440px) {
  :root {
    --fp-side: 16px;
    --fp-head-side: 14px;
  }

  .fp-avatar {
    width: 80px;
    height: 80px;
  }

  .fp-avatar-copy {
    top: calc(50% + 61px);
  }

  .fp-avatar-copy b {
    font-size: 18px;
  }

  .fp-hero__meta {
    left: 16px;
    bottom: 35px;
  }

  .fp-hero__meta #profileTagline {
    max-width: 225px;
    font-size: 11.5px;
  }

  .fp-hero__bottom {
    right: 16px;
    bottom: 34px;
  }

  .fp-hero__pager b {
    font-size: 17px;
  }

  .fp-hero__pager i {
    width: 28px;
  }

  .fp-hero__ink {
    width: 138vw;
  }

  .fp-header__main {
    padding: 0 14px;
    gap: 8px;
  }

  .fp-brand__copy b {
    font-size: 10.5px;
  }

  .fp-brand__copy small {
    font-size: 6.5px;
  }

  .fp-edit {
    padding: 0 6px;
    font-size: 8px;
  }

  .fp-edit .icon {
    display: none;
  }

  .fp-title__main h2 {
    font-size: 29px;
  }

  .fp-title__rule {
    width: 38px;
  }

  .fp-workblog__ghost {
    font-size: 78px;
  }

  .fp-work-item__title {
    font-size: 18px;
  }

  .fp-side-title h2 {
    font-size: 31px;
  }

  .fp-file-card__name {
    font-size: 19px;
  }

  .fp-guestbook__lead h2 {
    font-size: 38px;
  }

  .fp-daily__media {
    height: 210px;
    min-height: 210px;
  }

  .fp-daily__media img {
    min-height: 210px;
  }

  .fp-daily__text {
    font-size: 15.5px;
  }

  .fp-daily__tab {
    flex-basis: 175px;
  }

  .fp-record .record-sleeve__title {
    font-size: 28px;
  }

  .fp-music__info h3 {
    font-size: 27px;
  }

  .fp-footer__bottom {
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-hero,
  .fp-hero__art,
  .fp-avatar,
  .fp-avatar-copy,
  .fp-header,
  .fp-seal,
  .fp-hero__ink {
    transition-duration: 0.01ms !important;
  }

  .fp-music__wave i {
    animation: none !important;
  }
}
