:root {
  --ink: #2a2a2a;
  --ink-soft: #3a3a3a;
  --paper: #fffaf6;
  --hand: "Kirang Haerang", "Segoe Print", "Bradley Hand", cursive;
  --body: "Laila", Georgia, "Times New Roman", serif;
  --cursor-fill: #c9c6d4;
  --cursor-stroke: #f2efe8;
}

html.is-lit {
  --cursor-fill: #d8d5e0;
  --cursor-stroke: #2a2a2a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #050505;
  color: var(--ink);
  font-family: system-ui, sans-serif;
  transition: background 0.7s ease;
}

@media (hover: hover) and (pointer: fine) {
  html,
  body,
  #gate-canvas,
  button,
  a {
    cursor: none !important;
  }
}

/* cute rounded pointer — fill/stroke follow theme */
.ink-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10050;
  width: 30px;
  height: 34px;
  margin: -3px 0 0 -8px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.18s ease;
  will-change: transform;
}

.ink-cursor.is-on {
  opacity: 1;
}

.ink-cursor__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 4px 4px;
  filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, 0.18));
  transition: transform 0.16s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ink-cursor__fill {
  fill: var(--cursor-fill);
  transition: fill 0.55s ease;
}

.ink-cursor__stroke {
  fill: none;
  stroke: var(--cursor-stroke);
  stroke-width: 3.2;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: stroke 0.55s ease;
}

.ink-cursor__spark {
  stroke: var(--cursor-stroke);
  stroke-width: 2.8;
  stroke-linecap: round;
  opacity: 1;
  transition: stroke 0.55s ease, opacity 0.16s ease;
}

.ink-cursor[data-mode="hot"] .ink-cursor__svg {
  transform: scale(1.08);
}

.ink-cursor[data-mode="hot"] .ink-cursor__spark {
  opacity: 1;
}

.ink-cursor[data-mode="help"] .ink-cursor__svg {
  transform: rotate(-8deg) scale(1.05);
}

.ink-cursor[data-mode="pressed"] .ink-cursor__svg {
  transform: scale(0.88);
}

.ink-cursor[data-mode="pressed"] .ink-cursor__spark {
  opacity: 1;
}

@media (hover: none), (pointer: coarse) {
  .ink-cursor {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ink-cursor__svg,
  .ink-cursor__fill,
  .ink-cursor__stroke,
  .ink-cursor__spark {
    transition: none;
  }
}

.sound-toggle {
  position: fixed;
  top: 0;
  right: max(0.95rem, env(safe-area-inset-right, 0px) + 0.65rem);
  z-index: 60;
  width: 3.15rem;
  height: 3.15rem;
  display: grid;
  place-items: center;
  padding: 0;
  margin-top: 0;
  border: 2.75px solid rgba(245, 242, 234, 0.55);
  border-radius: 16px;
  background: rgba(8, 8, 8, 0.45);
  color: rgba(245, 242, 234, 0.9);
  box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(4px);
  transform-origin: 50% 0%;
  transform: translateY(-120%);
  opacity: 0;
  animation: sound-drop-in 0.85s cubic-bezier(0.22, 1.35, 0.36, 1) 0.35s forwards;
  transition:
    color 0.45s ease,
    background 0.45s ease,
    border-color 0.45s ease;
}

/* hanging cord from the top edge */
.sound-toggle::before {
  content: "";
  position: absolute;
  top: -1.05rem;
  left: 50%;
  width: 2.5px;
  height: 1.05rem;
  background: currentColor;
  opacity: 0.7;
  border-radius: 2px;
  transform: translateX(-50%);
}

.sound-toggle::after {
  content: "";
  position: absolute;
  top: -1.2rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  opacity: 0.75;
  transform: translateX(-50%);
  background: transparent;
}

.sound-toggle:hover {
  filter: brightness(1.05);
}

.sound-toggle:active {
  transform: translateY(0.85rem) scale(0.97);
}

@keyframes sound-drop-in {
  0% {
    opacity: 0;
    transform: translateY(-120%) rotate(-4deg);
  }
  62% {
    opacity: 1;
    transform: translateY(0.95rem) rotate(2deg);
  }
  82% {
    transform: translateY(0.55rem) rotate(-1deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0.7rem) rotate(0deg);
  }
}

html.is-lit .sound-toggle {
  border-color: var(--ink);
  background: rgba(255, 250, 246, 0.88);
  color: var(--ink);
  box-shadow: 3px 4px 0 rgba(42, 42, 42, 0.12);
}

.sound-toggle svg,
.sound-toggle__icon {
  width: 1.45rem;
  height: 1.45rem;
  display: block;
  overflow: visible;
}

.sound-toggle__on,
.sound-toggle__off {
  transition: none;
}

.sound-toggle:not(.is-muted) .sound-toggle__off,
.sound-toggle.is-muted .sound-toggle__on {
  display: none !important;
}

.sound-toggle:not(.is-muted) .sound-toggle__on,
.sound-toggle.is-muted .sound-toggle__off {
  display: inline !important;
}

@media (prefers-reduced-motion: reduce) {
  .sound-toggle {
    animation: none;
    opacity: 1;
    transform: translateY(0.7rem);
  }
}

html.is-lit,
body.is-lit {
  background: var(--paper);
}

#gate-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transition: opacity 0.6s ease;
}

html.is-lit .grain {
  opacity: 0.06;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  gap: 0.85rem;
  background: #050505;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(245, 242, 234, 0.55);
  text-align: center;
  font-family: var(--hand);
}

.loader__bar {
  width: min(220px, 55vw);
  height: 3px;
  background: rgba(245, 242, 234, 0.12);
  overflow: hidden;
}

.loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: rgba(245, 242, 234, 0.85);
  transition: width 0.25s ease;
}

/* clear invite line — no plate, animated words */
.invite {
  position: fixed;
  left: 50%;
  bottom: max(2.1rem, env(safe-area-inset-bottom, 0px) + 1.55rem);
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28em;
  margin: 0;
  padding: 0 1rem 0.85rem;
  max-width: min(94vw, 40rem);
  transform: translateX(-50%);
  pointer-events: none;
  text-align: center;
  font-family: var(--hand);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(1.55rem, 3.6vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: #000;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.invite.is-on {
  opacity: 1;
  animation: invite-breathe 4.2s ease-in-out 1.6s infinite;
}

/* soft oval cast on the floor under the line */
.invite::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.05rem;
  width: min(18rem, 78%);
  height: 0.7rem;
  transform: translateX(-50%) scaleX(0.4);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(0, 0, 0, 0.16) 42%,
    transparent 72%
  );
  filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}

.invite.is-on::after {
  animation: invite-floor-shadow 0.8s ease 0.55s forwards;
}

.invite__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  filter: blur(4px);
  text-shadow: none;
}

.invite.is-on .invite__word {
  animation: invite-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.18s + var(--i) * 0.12s);
}

@keyframes invite-in {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes invite-floor-shadow {
  to {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes invite-breathe {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .invite.is-on {
    animation: none;
  }

  .invite.is-on::after {
    animation: none;
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }

  .invite__word {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .invite.is-on .invite__word {
    animation: none;
  }
}

/* sketch speech cloud on window hover */
.cloud-tip {
  position: fixed;
  z-index: 8;
  max-width: min(260px, 70vw);
  padding: 0.85rem 1.1rem 1rem;
  pointer-events: none;
  background: #fff;
  color: #111;
  border: 2.5px solid #111;
  border-radius: 48% 52% 45% 55% / 55% 42% 58% 45%;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.12);
  transform: translate(-50%, -120%) scale(0.92);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  font-family: var(--hand);
  font-size: 0.95rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
}

.cloud-tip.is-on {
  opacity: 1;
  transform: translate(-50%, -130%) scale(1);
}

.cloud-tip--lantern {
  z-index: 12;
  background: #fff8ee;
  color: #2a2824;
  border-color: #e8dfd0;
  box-shadow: 3px 3px 0 rgba(232, 223, 208, 0.35);
}

.cloud-tip--lantern.is-on {
  /* sit below the lamp */
  transform: translate(-50%, 12%) scale(1);
}

.cloud-tip--lantern::after {
  display: none;
}

/* thought-bubble trail from the lamp lump down into the cloud */
.cloud-tip__dots {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.cloud-tip__dots i {
  position: absolute;
  left: 50%;
  display: block;
  border-radius: 50%;
  background: #fff8ee;
  border: 1.5px solid #e8dfd0;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cloud-tip--lantern.is-on .cloud-tip__dots i {
  opacity: 1;
}

.cloud-tip__dots i:nth-child(1) {
  width: 7px;
  height: 7px;
  top: -52px;
  transition-delay: 0.05s;
}

.cloud-tip__dots i:nth-child(2) {
  width: 11px;
  height: 11px;
  top: -34px;
  transition-delay: 0.12s;
}

.cloud-tip__dots i:nth-child(3) {
  width: 16px;
  height: 16px;
  top: -16px;
  transition-delay: 0.18s;
}

.cloud-tip p {
  margin: 0;
}

.cloud-tip::after {
  content: "";
  position: absolute;
  left: 42%;
  bottom: -14px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-right: 2.5px solid #111;
  border-bottom: 2.5px solid #111;
  transform: rotate(45deg);
}

/* cork board notes overlay */
.notes-board {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(255, 250, 246, 0.55);
  backdrop-filter: blur(2px);
}

.notes-board[hidden] {
  display: none;
}

.notes-board__sheet {
  position: relative;
  width: min(720px, 94vw);
  max-height: min(82vh, 640px);
  overflow: auto;
  padding: 1.4rem 1.5rem 1.6rem;
  background:
    linear-gradient(180deg, #f3e2c8 0%, #e8d4b8 100%);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 rgba(42, 42, 42, 0.12);
  font-family: var(--hand);
}

.sheet-doodles {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.notes-board__sheet > :not(.sheet-doodles):not(.notes-board__close),
.about-board__sheet > :not(.sheet-doodles):not(.about-board__close),
.project-board__sheet > :not(.sheet-doodles):not(.project-board__close) {
  position: relative;
  z-index: 1;
}

.notes-board__sheet > .notes-board__close,
.about-board__sheet > .about-board__close,
.project-board__sheet > .project-board__close {
  position: absolute;
  z-index: 2;
}

.close-flower {
  width: 1.85rem;
  height: 1.85rem;
  display: block;
}

.doodle {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translate(-50%, -50%) rotate(var(--r, 0deg));
  color: rgba(42, 42, 42, 0.28);
  font-size: 1.05rem;
  line-height: 1;
  user-select: none;
}

.doodle--star { font-size: 1.15rem; opacity: 0.9; }
.doodle--heart { font-size: 1.2rem; }
.doodle--flower { font-size: 1.15rem; }
.doodle--scribble { font-size: 1.4rem; letter-spacing: -0.08em; }
.doodle--arrow { font-size: 1.1rem; opacity: 0.75; }

.doodle--dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.35);
}

.doodle--circle {
  width: 1.35rem;
  height: 1.35rem;
  border: 1.5px solid rgba(42, 42, 42, 0.28);
  border-radius: 50%;
}

.doodle--squiggle,
.doodle--underline,
.doodle--spark {
  width: 4.5rem;
  height: auto;
  color: rgba(42, 42, 42, 0.28);
}

.doodle--spark {
  width: 1.6rem;
}

.doodle--underline {
  width: 5.5rem;
}

.notes-board__close,
.about-board__close,
.project-board__close,
.mess-pop__close {
  top: 0.55rem;
  right: 0.7rem;
  left: auto;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.notes-board__close:hover,
.about-board__close:hover,
.project-board__close:hover,
.mess-pop__close:hover {
  background: transparent;
  transform: rotate(-6deg) scale(1.08);
  opacity: 0.85;
}

.mess-pop__close {
  top: 0.35rem;
  right: 0.45rem;
  width: 1.85rem;
  height: 1.85rem;
}

.mess-pop__close .close-flower {
  width: 1.45rem;
  height: 1.45rem;
}

.notes-board__label {
  margin: 0 0 0.15rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  font-family: var(--hand);
}

.notes-board__title {
  margin: 0 0 1rem;
  font-size: 1.85rem;
  font-weight: 400;
}

.notes-board__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.notes-board__note {
  position: relative;
  padding: 1rem 0.85rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 2px 2px 0 rgba(42, 42, 42, 0.1);
  transform: rotate(var(--tilt, -1deg));
}

.notes-board__note::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  margin-left: -0.275rem;
  border-radius: 50%;
  background: var(--ink);
}

.notes-board__note h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 400;
}

.notes-board__note p {
  margin: 0;
  font-family: var(--body);
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.85;
}

.about-board {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(255, 250, 246, 0.55);
  backdrop-filter: blur(2px);
}

.about-board[hidden] {
  display: none;
}

.about-board__sheet {
  position: relative;
  width: min(480px, 92vw);
  max-height: min(82vh, 640px);
  overflow: auto;
  padding: 1.5rem 1.6rem 1.7rem;
  background:
    linear-gradient(165deg, #fffaf4 0%, #f4ebe0 55%, #e8f0fc 100%);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(42, 42, 42, 0.12);
  font-family: var(--hand);
  color: var(--ink);
}

.about-board__sheet > .about-board__close,
.notes-board__sheet > .notes-board__close,
.project-board__sheet > .project-board__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  left: auto;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
  transition: transform 0.15s ease, opacity 0.15s ease;
  z-index: 2;
}

.about-board__sheet > .about-board__close:hover,
.notes-board__sheet > .notes-board__close:hover,
.project-board__sheet > .project-board__close:hover {
  background: transparent;
  transform: rotate(-6deg) scale(1.08);
  opacity: 0.85;
}

.about-board__label {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  font-family: var(--hand);
}

.about-board__title {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  font-weight: 600;
}

.about-board__role {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  opacity: 0.85;
  font-family: var(--body);
}

.about-board__tag {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  font-style: italic;
  opacity: 0.75;
  font-family: var(--body);
}

.about-board__bio {
  margin: 0 0 1.15rem;
  font-family: var(--body);
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.9;
}

.about-board__body h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.about-board__skills {
  margin: 0 0 1.1rem;
  padding: 0 0 0 1.1rem;
  font-family: var(--body);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about-board__contact {
  margin: 0;
  font-family: var(--body);
  font-size: 0.95rem;
}

.about-board__contact a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-board__links {
  margin: 0.55rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.about-board__link {
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-board__link:hover {
  opacity: 0.7;
}

.mess-pop {
  position: fixed;
  z-index: 45;
  left: 0;
  top: 0;
  width: max-content;
  max-width: min(190px, 70vw);
  pointer-events: none;
  background: transparent;
  padding: 0;
  display: block;
  transform: translate(-50%, -110%);
}

.mess-pop[hidden] {
  display: none;
}

.mess-pop__card {
  position: relative;
  pointer-events: auto;
  width: min(170px, 70vw);
  padding: 0.65rem 0.75rem 0.7rem;
  background: #fffaf8;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 48% 52% 45% 55% / 58% 42% 58% 42%;
  box-shadow: 2px 2px 0 rgba(42, 42, 42, 0.1);
  text-align: center;
  font-family: var(--hand);
  animation: mess-cloud-in 0.35s ease-out;
}

.mess-pop__card::before,
.mess-pop__card::after {
  content: "";
  position: absolute;
  background: #fffaf8;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.mess-pop__card::before {
  width: 18px;
  height: 18px;
  left: 20%;
  bottom: -7px;
  z-index: -1;
}

.mess-pop__card::after {
  width: 11px;
  height: 11px;
  left: 30%;
  bottom: -16px;
}

@keyframes mess-cloud-in {
  from {
    opacity: 0;
    transform: scale(0.86) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.mess-pop__close {
  position: absolute;
  top: 0.3rem;
  right: 0.4rem;
  left: auto;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: rotate(8deg);
  transition: transform 0.15s ease, opacity 0.15s ease;
  z-index: 2;
}

.mess-pop__close:hover {
  background: transparent;
  transform: rotate(-6deg) scale(1.08);
  opacity: 0.85;
}

.mess-pop__emoji {
  margin: 0 0 0.1rem;
  font-size: 0.95rem;
  line-height: 1;
}

.mess-pop__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 0 0.25rem;
}

.mess-pop__sub {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  line-height: 1.25;
  opacity: 0.75;
  font-family: var(--body);
  padding: 0 0.3rem;
}

.project-board {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(255, 250, 246, 0.55);
  backdrop-filter: blur(2px);
}

.project-board[hidden] {
  display: none;
}

.project-board__sheet {
  position: relative;
  width: min(520px, 92vw);
  max-height: min(86vh, 720px);
  overflow: auto;
  padding: 1.4rem 1.5rem 1.55rem;
  background:
    linear-gradient(165deg, #fffaf4 0%, #eef6ff 50%, #f4ebe0 100%);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 6px 6px 0 rgba(42, 42, 42, 0.12);
  font-family: var(--hand);
  color: var(--ink);
}

.project-board__label {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  font-family: var(--hand);
}

.project-board__title {
  margin: 0 0 0.85rem;
  font-size: 1.85rem;
  font-weight: 600;
}

.project-board__media {
  margin: 0 0 0.95rem;
}

.project-board__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2.5px solid var(--ink);
  border-radius: 4px;
  background: #fffaf4;
}

.project-board__like {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  padding: 0.35rem 0.7rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fffaf4;
  color: var(--ink);
  font-family: var(--hand);
  font-size: 0.95rem;
  cursor: pointer;
}

.project-board__like:hover {
  background: #fce4ec;
}

.project-board__like.is-liked {
  background: #fce4ec;
}

.project-board__like.is-liked .project-board__like-icon {
  color: #c2185b;
}

.project-board__like-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.project-board__like-count {
  font-family: var(--hand);
  font-size: 0.8rem;
  opacity: 0.7;
}

.project-board__body {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.55;
  font-family: var(--body);
}

.project-board__body p {
  margin: 0 0 0.65rem;
  font-family: var(--body);
}

.project-board__body p:last-child {
  margin-bottom: 0;
}

.project-board__visit {
  display: inline-block;
  color: var(--ink);
  font-size: 1rem;
  font-family: var(--body);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-board__visit:hover {
  opacity: 0.75;
}
