   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --off : #fff;
    --black: #111;
    --mid: #888;
    --line: #ddd;
  }
  body {
    background: var(--off);
    color: var(--black);
    font-family: "Helvetica";
    -webkit-font-smoothing: antialiased;
    cursor: none;
  }


.cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: #cef0cc;
  border-radius: 50%;
  pointer-events: none;    /* 커서가 클릭을 가로채지 않게 */
  z-index: 9999;
  transform: translate(-50%, -50%);   /* 마우스 좌표가 원의 중심이 되게 */
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor.hovered {          /* 링크/버튼 위에서 커지는 상태 */
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--black);
}
/* ── NAV ── */
  header {
    position: fixed;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    z-index: 100;
    background: var(--off);
    /* border-bottom: 1px solid var(--line); */
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }
  

  .logo {
    font-family: 'EB Garamond', serif;
    font-size: 18px;
    font-style: italic;
    text-decoration: none;
    color: var(--black);
    letter-spacing: -0.01em;
  }

  nav {
    display: flex;
    gap: 24px;
  }

  nav a {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--black);
    opacity: 0.45;
    transition: opacity 0.2s;
  }
  nav a:hover, nav a.on { opacity: 1; }

 /* 필름 2개를 가로로 나란히 */
.a-row {
  display: flex;
  gap: 0;                    /* 사이 간격 없음 */
  padding: 0;                /* 화면 양옆 여백 없음 (필요하면 0 32px) */
}
  
.a-set { padding-bottom: 14vh; }

.a-film {
  --fade: 0s;
  position: relative;
  display: block;
  margin: 0;
  overflow: hidden;
  background: #1c1c1c;
}

/* 세로 */
.a-film.v {
  flex: 0 0 30%;             /* 가로 폭의 30% */
  aspect-ratio: 3 / 4;
}
/* 가로 */
.a-film.h {
  flex: 1 1 0;
  align-self: stretch;
}

.a-film img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: blur(12px);          /* 처음엔 뿌옇게 */
  transform: scale(1.12);      /* blur 가장자리가 번지는 것 방지 */
  transition: opacity var(--fade) linear, filter 0.6s ease, transform 0.6s ease;
}
.a-film img.on { opacity: 1; }

.a-film p {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  z-index: 2;                  
  color: #eaffe9;
  font-family: "EB Garamond", serif;
  font-size: clamp(13px, 1.2vw, 18px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);   /* 밝은 사진 위에서도 읽히게 */
  pointer-events: none;         /* 클릭이 필름까지 전달되게 */
}

  .a-film p { transition: opacity 0.4s; }
  .a-film:hover p { opacity: 0; }

/* 마우스 올리면 선명하게 (마우스가 있는 기기만) */
@media (hover: hover) {
  .a-film:hover img { filter: blur(0); transform: scale(1); }
}

/* 모바일: 탭하면 선명하게 */
.a-film.clear img { filter: blur(0); transform: scale(1); }

  /* 번호 (1/6) */
.a-count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-size: 12px;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.a-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: transparent;
  transition: width 0.4s linear;
}

/* ===== 첫 화면: 뿌연 히어로 ===== */
.a-hero {
  position: relative;
  margin-top: 60px;                 /* 고정 헤더 높이 */
  height: calc(100svh - 60px);
  overflow: hidden;
  background: #111;
}
.a-hero img {
  position: absolute;
  inset: -60px;                     /* blur 가장자리가 하얗게 번지는 것 방지 */
  width: calc(100% + 120px);
  height: calc(100% + 120px);
  object-fit: cover;
  filter: blur(40px);
  will-change: filter;
}
.a-hero p {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0 20px;
  text-align: center;
  font-family: "EB Garamond", serif;
  font-size: clamp(14px, 1.3vw, 24px);
  letter-spacing: -0.01em;
  color: #fff;
}

@media (max-width: 640px) {
  .a-row { flex-direction: column; }
  .a-film.v { flex: none; width: 100%; }
  .a-film.h { flex: none; width: 100%; aspect-ratio: 4 / 3; }
  .a-hero { margin-top: 52px; height: calc(100svh - 52px); }
}

  @media (max-width: 680px) {
  .cursor { display: none; }
  body { cursor: auto; }
  .f-btn { cursor: pointer; }
  .load-btn { cursor: pointer; }
  .item-index { opacity: 1; }   /* hover가 없으니 항상 표시 */
}
