:root {
  --cream: #f5f0e8;
  --ink: #1a1611;
  --warm-gray: #8f867a;
  --rust: #b85c38;
  --sage: #8b967d;
  --sand: #d9c5a6;
  --paper: #fbf8f2;
  --line: rgba(26, 22, 17, 0.14);
  --shadow: 0 22px 70px rgba(26, 22, 17, 0.08);
  --heading-font: "Playfair Display", Georgia, serif;
  --body-font: "Cormorant Garamond", Georgia, serif;
  --label-font: "DM Mono", "Courier New", monospace;
  --ease-out: cubic-bezier(0.2, 0.82, 0.22, 1);
  --ease-soft: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(184, 92, 56, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(139, 150, 125, 0.04), transparent 42rem),
    var(--cream);
  background-size: 64px 64px, 100% 100%, 100% 100%;
  font-family: var(--body-font);
  font-size: 20px;
  line-height: 1.48;
  cursor: none;
}

body.native-cursor {
  cursor: auto;
}

body.menu-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  cursor: none;
}

.native-cursor a,
.native-cursor button {
  cursor: pointer;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  width: 100%;
  min-height: 118px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(26, 22, 17, 0.1);
  background: rgba(245, 240, 232, 0.82);
  backdrop-filter: blur(18px);
}

.desktop-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  font-family: var(--label-font);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  text-decoration: none;
}

.desktop-nav a {
  opacity: 0;
  transform: translateX(-10px);
}

.is-loaded .desktop-nav a {
  animation: navItemIn 520ms var(--ease-out) forwards;
}

.is-loaded .desktop-nav a:nth-child(1) {
  animation-delay: 180ms;
}

.is-loaded .desktop-nav a:nth-child(2) {
  animation-delay: 240ms;
}

.is-loaded .desktop-nav a:nth-child(3) {
  animation-delay: 300ms;
}

.is-loaded .desktop-nav a:nth-child(4) {
  animation-delay: 360ms;
}

.desktop-nav a::after,
.mobile-nav a::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.desktop-nav a:hover::after,
.mobile-nav a:hover::after {
  transform: scaleX(1);
}

.brand {
  justify-self: center;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: clamp(25px, 3vw, 42px);
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-8px);
}

.is-loaded .brand {
  animation: brandIn 760ms var(--ease-soft) 120ms forwards;
}

.menu-button,
.menu-close {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
}

.menu-button span,
.menu-close span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
  transform-origin: center;
  transition:
    transform 260ms var(--ease-out),
    width 260ms var(--ease-out);
}

.menu-button:hover span:first-child {
  width: 12px;
  transform: translateX(-3px);
}

.menu-button:hover span:last-child {
  width: 22px;
  transform: translateX(2px);
}

.menu-close span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-close span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(28px, 8vw, 74px);
  background: var(--ink);
  color: var(--cream);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-18px);
  transition:
    opacity 300ms ease,
    transform 300ms cubic-bezier(0.2, 0.82, 0.22, 1);
}

.mobile-menu::before {
  position: absolute;
  top: 50%;
  left: -0.06em;
  color: rgba(245, 240, 232, 0.045);
  content: "seçki";
  font-family: var(--heading-font);
  font-size: clamp(120px, 36vw, 420px);
  font-style: italic;
  line-height: 0.8;
  pointer-events: none;
  transform: translate(-12%, -50%) rotate(-5deg);
}

.mobile-menu::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--rust);
  content: "";
  transform: scaleY(0);
  transform-origin: top;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu.is-open::after {
  animation: menuSpineIn 620ms var(--ease-out) 90ms forwards;
}

.mobile-menu .menu-close {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  border-color: rgba(245, 240, 232, 0.24);
  place-items: center;
}

.mobile-menu .menu-close span {
  position: absolute;
  background: var(--cream);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 3vh, 24px);
  max-width: min(760px, 88vw);
  padding-top: 36px;
  font-family: var(--heading-font);
  font-size: clamp(34px, 10vw, 72px);
  font-style: italic;
  line-height: 1.02;
  text-align: left;
}

.mobile-nav a {
  opacity: 0;
  transform: translateX(-22px) rotate(-1deg);
}

.mobile-menu.is-open .mobile-nav a {
  animation: menuLinkIn 520ms cubic-bezier(0.2, 0.82, 0.22, 1) forwards;
}

.mobile-menu.is-open .mobile-nav a:nth-child(1) {
  animation-delay: 90ms;
}

.mobile-menu.is-open .mobile-nav a:nth-child(2) {
  animation-delay: 150ms;
}

.mobile-menu.is-open .mobile-nav a:nth-child(3) {
  animation-delay: 210ms;
}

.mobile-menu.is-open .mobile-nav a:nth-child(4) {
  animation-delay: 270ms;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 118px);
  padding: clamp(138px, 15vh, 164px) clamp(20px, 5vw, 80px) clamp(44px, 7vh, 64px);
  overflow: hidden;
  place-items: center start;
}

.hero-shapes {
  position: absolute;
  right: clamp(30px, 8vw, 132px);
  bottom: clamp(54px, 10vh, 112px);
  width: clamp(190px, 22vw, 320px);
  aspect-ratio: 1;
  pointer-events: none;
}

.shape {
  position: absolute;
  display: block;
  opacity: 0;
  transform-origin: center;
}

.shape-note {
  right: 0;
  bottom: 0;
  width: 68%;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(26, 22, 17, 0.16);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(184, 92, 56, 0.22) 0 11px, transparent 11px),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(26, 22, 17, 0.08) 22px 23px),
    var(--paper);
  box-shadow: 0 24px 60px rgba(26, 22, 17, 0.08);
}

.shape-diamond {
  top: 2%;
  left: 11%;
  width: 31%;
  aspect-ratio: 1;
  background: var(--sage);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.shape-ribbon {
  top: 18%;
  right: 13%;
  width: 23%;
  aspect-ratio: 2 / 3;
  background: var(--rust);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%);
}

.shape-line {
  left: 5%;
  bottom: 22%;
  width: 58%;
  height: 2px;
  background: var(--ink);
}

.is-loaded .shape-note {
  animation: shapeNoteIn 760ms var(--ease-soft) 820ms forwards, shapeFloat 6.5s ease-in-out 1.7s infinite;
}

.is-loaded .shape-diamond {
  animation: shapePopIn 580ms var(--ease-soft) 980ms forwards, shapeFloatSmall 5.5s ease-in-out 1.5s infinite;
}

.is-loaded .shape-ribbon {
  animation: shapeDropIn 640ms var(--ease-soft) 1080ms forwards, shapeRibbonFloat 6.2s ease-in-out 1.6s infinite reverse;
}

.is-loaded .shape-line {
  animation: lineDrawIn 620ms var(--ease-out) 1180ms forwards;
}

.hero-ghost {
  position: absolute;
  top: 52%;
  left: 50%;
  width: max-content;
  margin: 0;
  color: rgba(26, 22, 17, 0.055);
  font-family: var(--heading-font);
  font-size: clamp(78px, 15vw, 230px);
  font-style: italic;
  line-height: 0.82;
  pointer-events: none;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
  animation: ghostDriftIn 1300ms ease 260ms forwards;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: min(720px, 58vw);
}

.hero-inner.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

.hero-inner .eyebrow,
.hero-inner .hero-copy {
  opacity: 0;
}

.is-loaded .hero-inner .eyebrow {
  animation: textSlipIn 580ms var(--ease-out) 380ms forwards;
}

.is-loaded .hero-inner .hero-copy {
  animation: textSlipIn 700ms var(--ease-out) 760ms forwards;
}

.eyebrow,
.item-count,
.item-meta,
.tag-row {
  font-family: var(--label-font);
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--rust);
}

h1,
h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(54px, 7.2vw, 104px);
  font-style: italic;
  line-height: 0.94;
}

.hero-title {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.22em;
  max-width: 760px;
  perspective: 900px;
}

.hero-title::after {
  position: absolute;
  bottom: -0.12em;
  left: 0.03em;
  width: min(72%, 520px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184, 92, 56, 0.72), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
}

.title-word {
  display: inline-block;
  opacity: 0;
  filter: blur(10px);
  text-shadow: 0 0 0 rgba(26, 22, 17, 0);
  transform: translateY(0.36em) rotateX(28deg) rotate(-1.5deg) scale(0.94);
  transform-origin: left 80%;
}

.is-loaded .title-word {
  animation: titleWordIn 980ms var(--ease-soft) 500ms forwards;
}

.is-loaded .title-word:nth-child(2) {
  animation-delay: 630ms;
}

.is-loaded .title-word:nth-child(3) {
  animation-delay: 760ms;
}

.is-loaded .hero-title::after {
  animation: titleUnderlineIn 920ms var(--ease-out) 1020ms forwards;
}

.hero-copy {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(26, 22, 17, 0.77);
  font-size: clamp(21px, 1.9vw, 29px);
  line-height: 1.2;
}

.intro-strip {
  display: grid;
  min-height: 34vh;
  padding: 64px clamp(20px, 9vw, 128px);
  border-block: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.56);
  place-items: center;
  overflow: hidden;
}

.intro-strip p {
  max-width: 900px;
  margin: 0;
  font-size: clamp(32px, 4.5vw, 72px);
  font-style: italic;
  line-height: 1.02;
  text-align: center;
}

.intro-strip.is-visible p {
  animation: softPulseIn 900ms var(--ease-out) forwards;
}

.sections {
  padding: 0 clamp(20px, 5vw, 80px) 72px;
}

.category {
  padding: 96px 0 32px;
  scroll-margin-top: 140px;
}

.category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.category-heading .eyebrow,
.category-heading h2,
.category-heading .item-count {
  opacity: 0;
}

.category.is-visible .category-heading .eyebrow {
  animation: textSlipIn 560ms var(--ease-out) 80ms forwards;
}

.category.is-visible .category-heading h2 {
  animation: titleSweepIn 760ms var(--ease-out) 160ms forwards;
}

.category.is-visible .category-heading .item-count {
  animation: countPopIn 620ms var(--ease-soft) 300ms forwards;
}

.category-heading h2 {
  max-width: 920px;
  font-size: clamp(48px, 7vw, 108px);
  font-style: italic;
  line-height: 0.96;
}

.item-count {
  color: var(--warm-gray);
  white-space: nowrap;
}

.item-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 58px);
}

.curation-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    opacity 520ms ease var(--delay),
    transform 520ms var(--ease-out) var(--delay),
    border-color 220ms ease,
    filter 220ms ease;
}

.curation-item:hover {
  border-color: rgba(184, 92, 56, 0.42);
  filter: drop-shadow(0 18px 34px rgba(26, 22, 17, 0.08));
  transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.item-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--sand);
  text-decoration: none;
}

.item-image::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--shine-x, 50%) 50%, rgba(245, 240, 232, 0.5), transparent 8rem),
    linear-gradient(115deg, transparent 0 54%, rgba(245, 240, 232, 0.34) 58%, transparent 64%);
  content: "";
  opacity: 0;
  transform: translateX(-38%);
  transition:
    opacity 260ms ease,
    transform 650ms ease;
}

.item-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.84) contrast(0.94);
  transform: scale(1.05) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
  transition:
    filter 260ms ease,
    transform 620ms var(--ease-out);
}

.item-image.has-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(184, 92, 56, 0.14), transparent 46%),
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(26, 22, 17, 0.07) 22px 23px),
    var(--paper);
}

.item-image.has-fallback::before {
  max-width: 72%;
  color: rgba(26, 22, 17, 0.72);
  content: attr(data-fallback);
  font-family: var(--heading-font);
  font-size: clamp(30px, 4vw, 58px);
  font-style: italic;
  line-height: 0.95;
  text-align: center;
}

.curation-item:hover .item-image img {
  filter: saturate(1) contrast(1);
  transform: scale(1.1) translate3d(var(--image-x, 0), var(--image-y, 0), 0);
}

.curation-item:hover .item-image::after {
  opacity: 1;
  transform: translateX(38%);
}

.item-body {
  max-width: 760px;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, 620px);
  margin-bottom: 12px;
  color: var(--sage);
  transition:
    color 220ms ease,
    transform 220ms var(--ease-out);
}

.item-title {
  display: inline-flex;
  align-items: baseline;
  gap: 0.22em;
  font-family: var(--heading-font);
  font-size: clamp(31px, 3.2vw, 52px);
  font-style: italic;
  line-height: 1;
  text-decoration-color: rgba(184, 92, 56, 0.36);
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
  transition:
    color 220ms ease,
    text-decoration-color 220ms ease;
}

.item-mark {
  position: relative;
  display: inline-block;
  width: 0.46em;
  min-width: 0.46em;
  height: 0.46em;
  opacity: 0.86;
  transform: translateY(-0.02em) rotate(-4deg);
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.item-mark::before,
.item-mark::after {
  position: absolute;
  content: "";
}

.item-mark::before {
  inset: -28% auto auto 0;
  color: var(--rust);
  content: "♥";
  font-family: var(--heading-font);
  font-size: 0.78em;
  font-style: normal;
  line-height: 1;
}

.item-mark::after {
  top: -8%;
  right: -10%;
  width: 42%;
  height: 42%;
  border-radius: 50% 50% 50% 0;
  background: var(--sage);
  transform: rotate(28deg);
}

.item-title:hover {
  color: var(--rust);
}

.item-title:hover .item-mark {
  opacity: 1;
  transform: translateY(-0.04em) rotate(0deg) scale(1.03);
}

.curation-item:hover .item-meta {
  color: var(--rust);
  transform: translateX(3px);
}

.item-body p {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(26, 22, 17, 0.74);
  font-size: clamp(21px, 1.7vw, 27px);
  line-height: 1.34;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: var(--warm-gray);
}

.tag-row span {
  border-bottom: 1px solid rgba(143, 134, 122, 0.45);
  transition:
    color 220ms ease,
    border-color 220ms ease,
    transform 220ms var(--ease-soft);
}

.curation-item:hover .tag-row span {
  color: var(--rust);
  border-color: rgba(184, 92, 56, 0.5);
  transform: translateY(-2px);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 36px clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--line);
  color: var(--warm-gray);
  font-family: var(--label-font);
  font-size: 11px;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.footer-links a {
  color: var(--warm-gray);
  text-decoration-color: rgba(143, 134, 122, 0.42);
  text-underline-offset: 4px;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--rust);
}

.site-footer span {
  text-align: right;
}

.legal-header {
  display: grid;
  min-height: 118px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(26, 22, 17, 0.1);
  background: rgba(245, 240, 232, 0.86);
  place-items: center;
}

.legal-header .brand {
  opacity: 1;
  transform: none;
}

.legal-page {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 124px) 0;
}

.legal-page h1 {
  max-width: 760px;
  margin-bottom: clamp(42px, 7vw, 76px);
  font-size: clamp(56px, 8vw, 108px);
}

.legal-page section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 12px;
  color: var(--rust);
  font-size: clamp(30px, 4vw, 48px);
  font-style: italic;
  line-height: 1;
}

.legal-page p {
  max-width: 760px;
  margin: 0;
  color: rgba(26, 22, 17, 0.78);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.34;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--rust);
  mix-blend-mode: multiply;
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(184, 92, 56, 0.55);
  border-radius: 50%;
  transition:
    width 180ms ease,
    height 180ms ease,
    margin 180ms ease,
    border-color 180ms ease;
}

.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: rgba(26, 22, 17, 0.52);
}

.cursor-particle {
  position: fixed;
  z-index: 9999;
  display: block;
  width: 1em;
  height: 1em;
  color: var(--rust);
  font-family: var(--heading-font);
  font-size: var(--size);
  font-style: italic;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  text-shadow: 0 1px 6px rgba(245, 240, 232, 0.68);
  transform: translate(-50%, -50%) scale(0.7);
  animation: cursorParticle 680ms var(--ease-out) forwards;
}

.cursor-particle:nth-of-type(3n) {
  color: var(--sage);
}

.cursor-particle:nth-of-type(3n + 1) {
  color: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 680ms ease,
    transform 820ms var(--ease-out),
    filter 820ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.curation-item.reveal.is-visible:hover {
  transform: perspective(900px) translateY(-7px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.curation-item.reveal.is-visible {
  animation: itemArrive 680ms var(--ease-soft) var(--delay) both;
}

.item-delay-0 {
  --delay: 0ms;
}

.item-delay-1 {
  --delay: 70ms;
}

.item-delay-2 {
  --delay: 140ms;
}

.item-delay-3 {
  --delay: 210ms;
}

.item-delay-4 {
  --delay: 280ms;
}

.item-delay-5 {
  --delay: 350ms;
}

@keyframes menuLinkIn {
  0% {
    opacity: 0;
    transform: translateX(-22px) rotate(-1deg);
  }

  70% {
    opacity: 1;
    transform: translateX(4px) rotate(0.25deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

@keyframes navItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes brandIn {
  0% {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }

  70% {
    opacity: 1;
    transform: translateY(2px) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes menuSpineIn {
  to {
    transform: scaleY(1);
  }
}

@keyframes ghostDriftIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -44%) rotate(-2deg);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0);
  }
}

@keyframes textSlipIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titleWordIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    text-shadow: 0 0 18px rgba(26, 22, 17, 0);
    transform: translateY(0.36em) rotateX(28deg) rotate(-1.5deg) scale(0.94);
  }

  62% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 14px 30px rgba(26, 22, 17, 0.08);
    transform: translateY(-0.04em) rotateX(-4deg) rotate(0.25deg) scale(1.018);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 8px 24px rgba(26, 22, 17, 0.045);
    transform: translateY(0) rotateX(0) rotate(0) scale(1);
  }
}

@keyframes titleUnderlineIn {
  0% {
    opacity: 0;
    transform: scaleX(0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0.62;
    transform: scaleX(1);
  }
}

@keyframes titleSweepIn {
  0% {
    opacity: 0;
    transform: translateY(30px) skewY(1.5deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}

@keyframes countPopIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.86);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cursorParticle {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.52) rotate(0deg);
  }

  18% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1.25) rotate(var(--rot));
  }
}

@keyframes softPulseIn {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }

  65% {
    opacity: 1;
    transform: translateY(0) scale(1.012);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes itemArrive {
  0% {
    opacity: 0;
    transform: translateY(34px) rotate(0.7deg) scale(0.982);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes shapeNoteIn {
  0% {
    opacity: 0;
    transform: translateY(24px) rotate(7deg) scale(0.92);
  }

  76% {
    opacity: 1;
    transform: translateY(-3px) rotate(-3deg) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(-2deg) scale(1);
  }
}

@keyframes shapePopIn {
  0% {
    opacity: 0;
    transform: translateY(18px) rotate(-12deg) scale(0.72);
  }

  70% {
    opacity: 1;
    transform: translateY(-5px) rotate(3deg) scale(1.08);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
  }
}

@keyframes shapeDropIn {
  0% {
    opacity: 0;
    transform: translateY(-22px) rotate(-10deg) scale(0.88);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(8deg) scale(1);
  }
}

@keyframes lineDrawIn {
  0% {
    opacity: 0;
    transform: scaleX(0) rotate(-9deg);
  }

  100% {
    opacity: 1;
    transform: scaleX(1) rotate(-9deg);
  }
}

@keyframes shapeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-8px) rotate(-3.5deg);
  }
}

@keyframes shapeFloatSmall {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-7px) rotate(5deg);
  }
}

@keyframes shapeRibbonFloat {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }

  50% {
    transform: translateY(-7px) rotate(3deg);
  }
}

@media (min-width: 1320px) {
  .item-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .item-title {
    font-size: clamp(30px, 2.6vw, 45px);
  }

  .item-body p {
    font-size: clamp(20px, 1.45vw, 24px);
  }
}

@media (max-width: 1180px) {
  .hero-inner {
    max-width: min(700px, 66vw);
  }

  .hero-shapes {
    right: 28px;
    width: clamp(150px, 18vw, 220px);
  }

  h1 {
    font-size: clamp(52px, 6.8vw, 88px);
  }
}

@media (max-width: 820px) {
  body {
    cursor: auto;
  }

  a,
  button {
    cursor: pointer;
  }

  .cursor-dot,
  .cursor-ring,
  .cursor-particle {
    display: none;
  }

  .site-header {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    min-height: 82px;
    padding: 16px 18px;
  }

  .desktop-nav {
    display: none;
  }

  .brand {
    grid-column: 2;
    max-width: 100%;
    overflow: hidden;
    font-size: clamp(24px, 7.2vw, 34px);
    text-overflow: ellipsis;
  }

  .menu-button {
    display: block;
    grid-column: 1;
    grid-row: 1;
  }

  .hero {
    min-height: 82vh;
    padding: 124px 20px 42px;
  }

  .hero-shapes {
    right: 18px;
    bottom: 30px;
    width: 116px;
    opacity: 0.42;
  }

  .hero-ghost {
    top: 36%;
    font-size: clamp(82px, 30vw, 145px);
    white-space: normal;
    text-align: center;
  }

  h1 {
    max-width: 420px;
    font-size: clamp(50px, 15vw, 70px);
  }

  .hero-copy {
    max-width: 330px;
    margin-top: 22px;
    font-size: 22px;
  }

  .intro-strip {
    min-height: 28vh;
    padding: 44px 20px;
  }

  .intro-strip p {
    font-size: clamp(31px, 11vw, 48px);
    text-align: left;
  }

  .sections {
    padding: 0 20px 48px;
  }

  .category {
    padding-top: 72px;
    scroll-margin-top: 96px;
  }

  .category-heading {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-heading h2 {
    font-size: clamp(47px, 15vw, 72px);
  }

  .item-list {
    display: flex;
    flex-direction: column;
  }

  .curation-item {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 28px 0;
  }

  .item-image {
    aspect-ratio: 16 / 10;
  }

  .item-meta {
    width: 100%;
  }

  .item-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .item-body p {
    font-size: 22px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer span {
    text-align: left;
  }

  .legal-header {
    min-height: 82px;
    padding: 16px 18px;
  }

  .legal-page {
    padding: 54px 0 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
