/* =========================================================
   Product system — zigzag showcase, area pages, work details
   ========================================================= */

:root { --ease-expo: cubic-bezier(.16, 1, .3, 1); }

/* ---------- nav dropdown (Product = not clickable) ---------- */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-drop-label {
  display: block;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 7px;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: default;
  user-select: none;
}
.nav-drop-label .en {
  display: block;
  font-family: "Bodoni Moda", "Zen Old Mincho", serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: lowercase;
  color: var(--ink-soft);
  line-height: 1.1;
  margin-top: 3px;
}
.nav-drop:hover .nav-drop-label { color: var(--ink); }
.nav-drop-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 232px;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 5px 6px 0 rgba(0,0,0,.14);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease-expo), transform .28s var(--ease-expo), visibility .22s;
  z-index: 120;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-drop-menu a {
  display: flex !important;
  align-items: baseline;
  gap: 8px;
  text-align: left !important;
  padding: 10px 12px !important;
  font-size: 15px !important;
  border-radius: 4px;
}
.nav-drop-menu a .en {
  display: inline !important;
  margin-top: 0 !important;
  font-size: 11px !important;
}
.nav-drop-menu a:hover { background: var(--paper-2); color: var(--ink); }
.nav-drop-menu a::after { display: none !important; }

@media (max-width: 820px) {
  .nav-drop { display: block; }
  .nav-drop-label { text-align: left; padding: 14px 12px; font-size: 18px; border-bottom: 1.4px dashed var(--ink-soft); }
  .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 14px;
    min-width: 0;
  }
  .nav-drop-menu a { font-size: 16px !important; }
}

/* ---------- zigzag product list ---------- */
.pz-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.pz-eyebrow {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: "Bodoni Moda", "Zen Old Mincho", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.pz-eyebrow b { font-size: 17px; color: var(--ink); }
.pz-title {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 82px);
  line-height: 1;
  letter-spacing: -.01em;
  margin: 0;
}
.pz-all {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.6px solid var(--ink);
  padding-bottom: 2px;
  white-space: nowrap;
}
.pz-all:hover { color: var(--theme-accent); border-bottom-color: var(--theme-accent); }

.pz-list { display: flex; flex-direction: column; gap: 120px; }

.pz-item {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.pz-item.rev { grid-template-columns: .85fr 1.15fr; }
.pz-item.rev .pz-photo { order: 2; }
.pz-item.rev .pz-text  { order: 1; text-align: right; }
.pz-item.rev .pz-more  { margin-left: auto; }

.pz-photo {
  position: relative;
  height: 460px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,.12);
}
.pz-photo-inner {
  position: absolute;
  left: 0; right: 0;
  top: -50px;
  height: 560px;
  will-change: transform;
}
.pz-photo image-slot {
  width: 100%;
  height: 100%;
  border: none;
  transition: transform .9s var(--ease-expo);
}
.pz-photo:hover image-slot { transform: scale(1.06); }

.pz-num {
  font-family: "Bodoni Moda", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--theme-accent);
  margin-bottom: 14px;
}
.pz-name {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  margin: 0 0 16px;
}
.pz-desc {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 46ch;
}
.pz-item.rev .pz-desc { margin-left: auto; }

.pz-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1.6px solid var(--ink);
  padding-bottom: 3px;
  transition: color .3s var(--ease-expo), border-color .3s var(--ease-expo);
}
.pz-more .arw {
  display: inline-block;
  width: 20px;
  transition: transform .45s var(--ease-expo), width .45s var(--ease-expo);
}
.pz-more:hover { color: var(--theme-accent); border-bottom-color: var(--theme-accent); }
.pz-more:hover .arw { transform: translateX(8px); width: 30px; }

@media (max-width: 860px) {
  .pz-list { gap: 72px; }
  .pz-item, .pz-item.rev { grid-template-columns: 1fr; gap: 24px; }
  .pz-item.rev .pz-photo, .pz-item.rev .pz-text { order: initial; }
  .pz-item.rev .pz-text { text-align: left; }
  .pz-item.rev .pz-more, .pz-item.rev .pz-desc { margin-left: 0; }
  .pz-photo { height: 300px; }
  .pz-photo-inner { top: -30px; height: 360px; }
  .pz-head { margin-bottom: 40px; }
}

/* ---------- slide-in reveal: easeOutExpo / 1250ms ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-slide] {
    opacity: 0;
    transition: opacity 1250ms var(--ease-expo), transform 1250ms var(--ease-expo);
  }
  .reveal-ready [data-slide="left"]:not(.in)  { transform: translateX(-90px); }
  .reveal-ready [data-slide="right"]:not(.in) { transform: translateX(90px); }
  .reveal-ready [data-slide].in { opacity: 1; transform: none; }
}

/* ---------- area page header ---------- */
.ar-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 9vh, 110px) 24px clamp(36px, 6vh, 72px);
}
.ar-kicker {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-family: "Bodoni Moda", "Zen Old Mincho", serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.ar-kicker b { font-size: 20px; color: var(--ink); }
.ar-kicker .jp { font-family: "Zen Old Mincho", serif; letter-spacing: .04em; color: var(--ink); }
.ar-title {
  font-family: "Bodoni Moda", serif;
  font-weight: 600;
  font-size: clamp(52px, 11vw, 148px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 18px 0 28px;
}
.ar-lead {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(16px, 1.9vw, 21px);
  line-height: 2.1;
  max-width: 62ch;
  margin: 0;
}

/* ---------- work detail page ---------- */
.wk-hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 88px) 24px clamp(24px, 4vh, 40px);
}
.wk-kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.wk-kicker .n {
  font-family: "Bodoni Moda", serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-accent);
  line-height: 1;
}
.wk-kicker .a {
  font-family: "Bodoni Moda", "Zen Old Mincho", serif;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1;
}
.wk-title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.44;
  letter-spacing: .01em;
  max-width: 1000px;
  margin: 20px 0 0;
}

.wk-main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.wk-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.wk-visual {
  height: min(52vh, 520px);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 rgba(0,0,0,.12);
}
.wk-visual image-slot { width: 100%; height: 100%; border: none; }
@media (max-width: 760px) {
  .wk-visuals { grid-template-columns: 1fr; }
  .wk-visual { height: 300px; }
}

.wk-lead {
  font-size: 14.5px;
  line-height: 2.15;
  max-width: 860px;
  margin: clamp(28px, 4vh, 48px) 0 0;
}

.wk-body { display: flex; flex-direction: column; gap: 76px; }
.wk-sec h2 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.35;
  margin: 0 0 22px;
}
.wk-sec p {
  font-size: 14.5px;
  line-height: 2.15;
  max-width: 860px;
  margin: 0 0 18px;
}
.wk-sec p:last-child { margin-bottom: 0; }

.wk-back {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) 24px clamp(48px, 8vh, 96px);
}
.wk-back a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  border-bottom: 1.6px solid var(--ink);
  padding-bottom: 3px;
  transition: color .3s var(--ease-expo), border-color .3s var(--ease-expo);
}
.wk-back a .arw {
  display: inline-block;
  width: 20px;
  transition: transform .45s var(--ease-expo), width .45s var(--ease-expo);
}
.wk-back a:hover { color: var(--theme-accent); border-bottom-color: var(--theme-accent); }
.wk-back a:hover .arw { transform: translateX(-8px); width: 30px; }
