:root {
  --offwhite: #f6f1e8;
  --blue-sky: #f4fafd;
  --link: #7eb8d4;
  --gold: #c4a36a;
  --gold-deep: #9a7844;
  --ink: #111111;
  --ink-soft: #2a2a2a;
  --shadow: rgba(58, 50, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--blue-sky);
  background-image: url("images/damask.svg");
  background-size: 240px 240px;
}

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

.room {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 28px auto 64px;
  padding: 42px 48px 56px;
  background: var(--offwhite);
  border: 1px solid rgba(154, 120, 68, 0.45);
  box-shadow:
    inset 0 0 0 10px var(--offwhite),
    inset 0 0 0 11px rgba(196, 163, 106, 0.45),
    0 24px 50px var(--shadow);
}

.site-header {
  position: relative;
  text-align: center;
  margin: -42px -48px 10px;
  padding: 36px 48px 8px;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0 auto 28px;
  padding: 8px 18px;
  width: fit-content;
  max-width: 100%;
  font-family: "IM Fell English", "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  border: 1px solid rgba(196, 163, 106, 0.55);
  background: var(--offwhite);
}

.nav .kaomoji {
  letter-spacing: 0;
  text-transform: none;
  font-size: 1.05rem;
}

.nav a {
  color: #000;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-break {
  display: none;
}

.kicker {
  margin: 0 0 6px;
  font-family: "IM Fell English", serif;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: #000;
}

.kicker .kaomoji {
  display: inline-block;
  margin-right: 8px;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.kaomoji {
  font-family: "Apple Symbols", "Noto Sans Symbols 2", "Cormorant Garamond", serif;
  font-style: normal;
  font-weight: 400;
  color: #000;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.05;
  color: #000;
}

.split {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: start;
}

.split-reverse {
  grid-template-columns: 200px 1fr;
}

.split .frame,
.split .sticker,
.split .poster {
  width: 100%;
  max-width: 200px;
  margin: 8px 0 0;
}

.panel {
  position: relative;
  padding: 8px 8px 4px;
}

.frame {
  position: relative;
  margin: 12px 0 0;
  padding: 9px;
  background: var(--gold);
  box-shadow: 0 10px 24px var(--shadow);
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #1d1814;
  border: 4px solid #1f1a16;
}

.tilted-left {
  transform: rotate(-2.4deg);
}

.tilted-right {
  transform: rotate(2.2deg);
}

.sticker {
  margin: 18px 0 0;
  padding: 10px 10px 16px;
  background: var(--offwhite);
  box-shadow: 0 12px 22px var(--shadow);
  transform: rotate(2.5deg);
}

.sticker img {
  display: block;
  width: 100%;
  height: auto;
}

.poster {
  margin: 0;
  padding: 8px 8px 18px;
  background: var(--offwhite);
  box-shadow: 0 14px 28px var(--shadow);
  transform: rotate(-1.8deg);
}

.poster img {
  display: block;
  width: 100%;
  height: auto;
}

h2 {
  display: inline-block;
  margin: 8px 0 18px;
  padding: 0 2px 4px;
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  border-bottom: 1px solid #000;
}

.section-item-title {
  margin: 22px 0 4px;
  font-size: 1.35rem;
  font-weight: 600;
  color: #000;
}

.panel p {
  margin: 0 0 0.7em;
  color: var(--ink-soft);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #5a9cc0;
}

.section-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0;
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  color: #000;
}

.contact {
  text-align: center;
  margin-top: 12px;
}

.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  font-family: "IM Fell English", "Cormorant Garamond", serif;
  letter-spacing: 0.08em;
}

.cursor-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--gold-deep);
  user-select: none;
  animation: trail-fade 0.7s ease-out forwards;
}

@keyframes trail-fade {
  from {
    opacity: 0.9;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-18px) scale(0.55);
  }
}

@media screen and (max-width: 800px) {
  .room {
    margin: 0;
    padding: 22px 16px 40px;
    border: none;
    box-shadow: none;
  }

  .site-header {
    margin: -22px -16px 10px;
    padding: 22px 16px 8px;
  }

  .nav {
    width: 100%;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.86rem;
    gap: 4px 8px;
    padding: 7px 8px;
  }

  .nav .kaomoji {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 2px;
  }

  .nav-break {
    display: block;
    flex-basis: 100%;
    height: 0;
    overflow: hidden;
  }

  .nav-dot-desktop {
    display: none;
  }

  .split,
  .split-reverse {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .split .frame,
  .split .sticker,
  .split .poster {
    max-width: 200px;
  }

  body {
    font-size: 18px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .section-item-title {
    font-size: 1.15rem;
  }
}
